|
| SourceSafe & VS2005 problems |
 |
Thu, 12 Jul 2007 08:45:02 -070 |
I'm having difficulty creating a VSS Project out of an existing VC2005
project. The sources file of this project are stored in filesystem's
directories arranged in this mode:
|
+--Applications--+
| |
| +--MyApp
| |
| +--CommonFiles
|
+--Components---+
|
+--Automation
where:
- in MyApp there are MyApp project's files and solution's file
(".vcproj", ".sln" files). In the solution are included
MyApp and
Automation.
- In CommonFiles there are few files whitout project (".vcproj")
included in MyApp and Automation project.
- In Automation there is a static library project (".vcproj") linked
by MyApp
The Source Safe project organization should be like the above-quoted
directory composition. However when I'm trying to put all solution's
projects and files in my SS repository (Visual SourceSafe 6.0d) from
VS2005, nothing is like I would expected. For example, Automation
project (Automation.vcproj) contains some files from CommonFiles and
after this operation in SS there is a structure like this:
|
+--Components--+
|
+--Automation--+
| |
| +--Components--+
| |
| +--
Automation
|
+--Applications--+
|
+--CommonFiles
Whereas I would expectd an SS project composition like this:
|
+--Components---+
|
+--Automation
In other words, inside of my SS project it comes build the complete
path of files. In fact, when I remove all CommonFiles's files from
Automation.vcproj and try to put it in SS, all works fine and the SS
project structure is correct. In VS 6 all this worked fine.
Does anyone have any suggestions?
Daniele
|
| Post Reply
|
| Re: SourceSafe & VS2005 problems |
 |
Fri, 13 Jul 2007 11:48:17 +020 |
dgr@phones.it wrote:
> I'm having difficulty creating a VSS Project out of an existing VC2005
> project. The sources file of this project are stored in filesystem's
> directories arranged in this mode:
>
> |
> +--Applications--+
> | |
> | +--MyApp
> | |
> | +--CommonFiles
> |
> +--Components---+
> |
> +--Automation
>
> where:
> - in MyApp there are MyApp project's files and solution's file
> (".vcproj", ".sln" files). In the solution are included
MyApp and
> Automation.
> - In CommonFiles there are few files whitout project
(".vcproj")
> included in MyApp and Automation project.
> - In Automation there is a static library project (".vcproj")
linked
> by MyApp
>
> The Source Safe project organization should be like the above-quoted
> directory composition. However when I'm trying to put all solution's
> projects and files in my SS repository (Visual SourceSafe 6.0d) from
> VS2005, nothing is like I would expected. For example, Automation
> project (Automation.vcproj) contains some files from CommonFiles and
> after this operation in SS there is a structure like this:
>
> |
> +--Components--+
> |
> +--Automation--+
> | |
> | +--Components--+
> | |
> | +--
> Automation
> |
> +--Applications--+
> |
> +--CommonFiles
>
>
>
> Whereas I would expectd an SS project composition like this:
>
> |
> +--Components---+
> |
> +--Automation
>
> In other words, inside of my SS project it comes build the complete
> path of files. In fact, when I remove all CommonFiles's files from
> Automation.vcproj and try to put it in SS, all works fine and the SS
> project structure is correct. In VS 6 all this worked fine.
>
> Does anyone have any suggestions?
>
> Daniele
>
General hint: Whenever the VSS manual says "project" read it as
"directory". VSS really has no proper project concept except for this
little name game which someone must have thought was a cool marketing
gimmick back in the 1990's .
In contrast, a VS2005 project is a collection of related items and their
status in the VS2005 IDE GUI, independently of where things are stored
on the disk and in what directories.
Step 1. Close All running copies of Visual Studio (so it doesn't
interfere with VSS during this). Also close VSS Explorer if it is running.
Step 2. Manually delete any compilation output files, such as the
compiler output and log files. So now the on disk directory should
contain only whatever should go in VSS.
Step 3. Delete and vssver.vss and other VSS status files from the on
disj file tree too (these may be left over from previous attempts),
otherwise there will be trouble later.
Step 4. In your VSS "Server" directory open ...\users\yourname\ss.ini
in
Notepad and remove any explicit references to your project.
Step 5. Inside your own directory structure, open the various project
files in Notepad and remove any old VSS references, otherwise there will
be trouble later. I presume you know enough XML to do this safely.
Step 6. Now start VSS Explorer and add the raw directory structure as a
VSS "project" structure.
--
Jakob Bøhm, M.Sc.Eng. * jb@danware.dk * direct tel:+45-45-90-25-33
Danware Data A/S * Bregnerodvej 127 * DK-3460 Birkerod * DENMARK
http://www.netop.com * tel:+45-45-90-25-25 * fax:+45-45-90-25-26
Information in this mail is hasty, not binding and may not be right.
Information in this posting may not be the official position of Danware
|
| Post Reply
|
|
|
|
|
|
|
|
|
|