OT: Can someone explain the VS.NET project.root philosophy?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
erict
Posts: 33
Joined: Fri Sep 10, 2004 9:32 am

OT: Can someone explain the VS.NET project.root philosophy?

Post by erict » Tue Mar 29, 2005 8:20 am

Sorry for probably asking a dumb question about VSS -- we have purchased Vault but I'm not switching over until next month. I just added a VC++.NET project to VSS, and even though all the files were in a single directory with just one project in the solution, when I added to VSS it created a project.root and then within that a project were all the files are. The project.root only contains the project, nothing else. What's the point of creating the project.root?

Thanks for anybody explaining the philosophy behind the .root system.

Also how should I fix my directory tree / project tree difference now. Three options: A) change VSS to match my directory structure by getting rid of project.root and moving project up B) create a project.root directory and move my project directory into the project.root directory C) override the default working directories and effectively 'remove' the project.root for GETs

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue Mar 29, 2005 9:19 am

I'm not familiar with how project.root works - it is probably a Visual Studio thing.

It is always best to match the structure that Visual Studio wants you to have when integrating with source control. Fighting it by trying to override defaults and such will mostly leave you frustrated.

erict
Posts: 33
Joined: Fri Sep 10, 2004 9:32 am

Post by erict » Tue Mar 29, 2005 11:04 am

That's what's weird. The directory structure was decided by Visual Studio.NET. I just started a new managed C++ project. Then I put everything into VSS, from within Visual Studio. How does it do it in Vault? Do the project names come from the Vault client or from the VSS SCM interface? And because everything was decided by VS.NET/VSS, I now have a difference of opinion between the two as to the locations of the files. VS.NET has all the files in project, while VSS has all the files in project.root/project So I need to change something.

Post Reply