Guinn

I just started using VSS 2005 with VS 2005. I have an existing solution that I want to put under source control. When I do this, it creates a structure that looks like this:

SNMPQuery.root -> SNMPQuery -> Documents and Setting -> myname.domain -> My Documents -> Visual Studio 2005 -> Projects -> SNMP Query ...

The actual solution files are located at the "default" location for VS 2005 (under My Documents -> Visual Studio 2005, etc.). Obviously, if someone else needs to get a copy of this solution, they are not going to want the directory structure to include the part between "SNMPQuery" and "SNMPQuery" (second time).

Another developer checked in a similar project, and it did not create this directory structure. It looked like what I would expect (SNMPQuery.root -> SNMPQuery -> SNMPQuery...).

Any ideas why this happens when I check in Any way to change it

Thanks.

Guinn



Re: Visual Studio Source Control and SourceSafe Solution Structure

Richard Berg MSFT

Are all of the files underneath the "default" location For example, some types of web projects put files in c:\inetpub by default.




Re: Visual Studio Source Control and SourceSafe Solution Structure

Guinn

Richard,

The only file I see that is not in the "default" location is vjslib.dll which is referenced by the project. VSS actually created a separate branch Windows -> Microsoft.NET -> Framework -> v2.0.50727 at the same level as "Documents and Settings" above, and it stored the vjslib.dll there. Would that have made this difference

Guinn





Re: Visual Studio Source Control and SourceSafe Solution Structure

Richard Berg MSFT

Yes, if the reference was stored as a relative path instead of a GAC'd assembly.



Re: Visual Studio Source Control and SourceSafe Solution Structure

Guinn

Richard,

Even if I add it as a .NET reference, the same thing happens. Is there some other way to do this I am concerned that as soon as another developer starts to work on this, the directory structure on their computer is going to be a mess!

Thanks.

Guinn





Re: Visual Studio Source Control and SourceSafe Solution Structure

Richard Berg MSFT

I'm sure there's a way to make it work correctly. What kind of project is it (C#, VB, C++, ...) Every VS project plugin works slightly differently.



Re: Visual Studio Source Control and SourceSafe Solution Structure

Guinn

It is a C# project.

Actually, it appears that what was causing the "problem" was the setup project that was included in the solution. When I removed the setup project, the structure created in VSS for the main project was what I wanted. Now I just need to figure out how to add the setup project back into VSS. (That's really not critical.)

Thanks for your help.

Guinn