My environment is as follows: Visual Studio 2005 (vb.net 2.0) & Visual Source Safe 6 I have one Solution named "Online Transactions" I have two Projects named "OnlineTransactions" and "OnlineTransactionsSetup" respectively. The project properties for the "OnlineTransactions" has a root namespace of "CompanyName.ProductName.Modules.OnlineTransactions" The folder structure on my computer is: C:\Users\Simon\Documents\Visual Studio 2005\Projects\CompanyName \ProductName\Modules\Online Transactions *** I am now trying to check this into source safe*** I currently have a project tree as follows: $/ProductName/Modules/ When I try and "Add solution to Source Control", I expand the tree to the 'Modules' folder, delete the "Online Transactions.root" entry in the Name field, and click on OK. This is what is created in VSS: $/ProductName/Modules/Online Transactions/CompanyName/ProductName/ Modules/OnlineTransactions $/ProductName/Modules/Online Transactions/CompanyName/ProductName/ Modules/OnlineTransactionsSetup This is not right!! What I really want is: $/ProductName/Modules/Online Transactions/OnlineTransactions $/ProductName/Modules/Online Transactions/OnlineTransactionsSetup Why is VSS / SCCI / VS 2005 forcing the namespace to be part of the sourcesafe structure? Thanks
It's not. It's getting that from your folder path on your development machine. I had a lot of trouble with this type of problem and finally figured it out: You should have a folder structure like this: <multiple levels deep>\ProductName <multiple levels deep>\ProductName\Project1 <multiple levels deep>\ProductName\Project2 Your solution file (*.sln) should be directly in <multiple levels deep>\ProductName and the code and project files for each project should be in their own sub folder under <multiple levels deep>\ProductName Otherwise, VSS will recreated as much of your folder structure (backwards, up the branch) as it needs to, to reach all of your projects. Hope this helps. -------------------------- Owner/Operator of www.MichaelsAttic.com On Feb 1, 12:23 pm, SiJP wrote: > My environment is as follows: > > Visual Studio 2005 (vb.net 2.0) & Visual Source Safe 6 > > I have one Solution named "Online Transactions" > I have two Projects named "OnlineTransactions" and > "OnlineTransactionsSetup" respectively. > > The project properties for the "OnlineTransactions" has a root > namespace of "CompanyName.ProductName.Modules.OnlineTransactions" > > The folder structure on my computer is: > > C:\Users\Simon\Documents\Visual Studio 2005\Projects\CompanyName > \ProductName\Modules\Online Transactions > > *** I am now trying to check this into source safe*** > > I currently have a project tree as follows: > > $/ProductName/Modules/ > > When I try and "Add solution to Source Control", I expand the tree to > the 'Modules' folder, delete the "Online Transactions.root" entry in > the Name field, and click on OK. This is what is created in VSS: > > $/ProductName/Modules/Online Transactions/CompanyName/ProductName/ > Modules/OnlineTransactions > $/ProductName/Modules/Online Transactions/CompanyName/ProductName/ > Modules/OnlineTransactionsSetup > > This is not right!! What I really want is: > > $/ProductName/Modules/Online Transactions/OnlineTransactions > $/ProductName/Modules/Online Transactions/OnlineTransactionsSetup > > Why is VSS / SCCI / VS 2005 forcing the namespace to be part of the > sourcesafe structure? > > Thanks