The problem with this solution 2 is that these compiled files will not be
under source control.
Normally we don't want to have exe, dll under source control, but in this
case, I want them under source control, because when I retrieve a version
tag of my project, I must be sure that these external exe/dll will work
with
my program!
(for exemple : when I build today version 1.0 of my project, I use version
2.3 of these external exe/dll. Suppose that a year later, I have version
2.2
of my project and that the external exe/dll is at version 4.0. For some
version 2.3 of these external exe/dll and not the version 4.0 !!)
I searched the net and found this link :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vsconSlnRootinVSS.asp
Did you implemented this in the plugin?
CVS is doing somekind of a root, but when 'opening a solution from source
control', he is asking always the 'open from' question.
This is normally corrected in .NET 2003...
Regards,
Eric
-----Original Message-----
From: Pushok Software [mailto:support@pushok.com]
Sent: woensdag 18 februari 2004 15:42
To: Eric
Subject: Re: [pst8] cvs scc plugin generating several subdirectories
http://www.pushok.com/tickets_messages.php?id=8I checked your debug logs, and found that problem:
Your solution contain files that are not under the P:\HRSQLUpdater:
File P:\Tools\Nscript\bin\Release\NScriptLib.dll, status 257
File P:\Tools\Nscript\bin\Release\NScriptw.exe, status 257
File P:\Tools\Nscript\bin\Release\NScript.exe, status 257
Not know to witch project they included, however because of this
VS.NET consider as you root local path "P:\" instead of
P:\HRSQLUpdater
The solution can be:
1. Move projects from root to send level folder
* Move both folders: "HRSQLUpdater", "Tools" to some second level
folder like: Solutions
* Add solution from this location, local path will be "P:\Solutions",
module should be "Solutions"
* Opening project from source control point as local path:
2. Intelligentadding
* Before adding of project to source control exclude
File P:\Tools\Nscript\bin\Release\NScriptLib.dll, status 257
File P:\Tools\Nscript\bin\Release\NScriptw.exe, status 257
File P:\Tools\Nscript\bin\Release\NScript.exe, status 257
* Normally, if no any such file in project local path will be
P:\HRSQLUpdater, choose as module "HRSQLUpdater"
* Then add to project
File P:\Tools\Nscript\bin\Release\NScriptLib.dll, status 257
File P:\Tools\Nscript\bin\Release\NScriptw.exe, status 257
File P:\Tools\Nscript\bin\Release\NScript.exe, status 257
* They appears in pending checkins. At this moment, select them in
solution explorer and apply command "File\Source Control\Exclude files
from source control"
* After that you will see red "block" icons on these files, and they
disappear from pending checkins. This way you inform VS .NET that
files are in solution, but not needed to place them to Source Control.
Unfortunately it is impossible to do "before" you add project to
source control.
However, in normal life, project added to source control parts by
parts, and it is not hard to exclude some auto-generated files from
source control
I suggest option 2