Hi,
we have a problem concerning our project structure. We were using VC++ 6 &
VSS, and we have 3 projects sharing source code files. In terms of folders on
both disk and VSS, we have a project structure similar to this one:
Root
--Common
--Product1
----Core
----UIProject
----SvcProject
--Product2
----SvcProject
in this structures the dsp files are in the xxProject folders, and all of
them can include files coming from Common and Core folders, where we have
shared services classes. We always thought such a structure as legal and
usual, and we never had problems with VC++ 6 & VSS. Now, we want to migrate
to VC++ 2005 and we have many problems because, while compiling obviously
works, VSS integration does not and Visual Studio raises an error saying that
a project structure that include files coming from folders not under the
project folder is not allowed form a VSS point of view, and that those file
will have source control disabled!
Now, is that true that such a structure is not allowed, and if so could
someone explain why such a structure must be considered illegal? For us this
is a big problem, we have thousands of files and we should change project
structures, file positions, include paths...
Thanks for answering, bye,
Wasp
Alin Constantin [MSFT] - 10 Mar 2006 04:08 GMT
Hi Wasp,
VS2002, 2003 and 2005 cannot place under source control files that are
outside project's bound root.
You should probably use File/SourceControl/ChangeSourceControl dialog,
unbind all the projects from source control (use the button in dialog's
toolbar), close the dialog, reopen it, then multiselect all the project
lines and use the Bind button to rebind all the project to scc. You should
select the location in the VSS database that correspond to the ROOT local
folder.
All projects will share a connection to the database and VS2005 will
calculate the root of that connection so all the files could be controlled.

Signature
Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no rights.
> Hi,
> we have a problem concerning our project structure. We were using VC++ 6 &
[quoted text clipped - 33 lines]
>
> Wasp