Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Fri, 1 Feb 2008 09:23:56 -0800 (PST),    group: microsoft.public.vstudio.sourcesafe        back       


Adding solutions to VSS = Frustrating   
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
date: Fri, 1 Feb 2008 09:23:56 -0800 (PST)   author:   SiJP

Re: Adding solutions to VSS = Frustrating   
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
date: Mon, 11 Feb 2008 21:27:55 -0800 (PST)   author:   Mike {0A6FF490-CF84-4d78-BD85-FF011A0C310C}

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us