Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2006

Tip: Looking for answers? Try searching our database.

Visual Studio, C++ and VSS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wasp - 09 Mar 2006 08:27 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.