I'm trying to get the latest version of my project through msbuild project. I have defined a SourceSafe.Get task (from Microsoft.Sdc.Tasks project) to do that. When I try to execute the task I get the following error: "Unable to find the Visual SourceSafe registry key"
I can't find any information about this issue...
This is the task in the .proj file:
<Target Name="Latest">
<SourceSafe.Get
UserName="raul"
Password=""
Database=""\\amon\dfs\VSS ilitia""
Project="$\Proyectos\PeopleTracker"
WorkingDirectory=".\" >
</SourceSafe.Get>
</Target>
Following, the complete output:
C:\Proyectos\MyProject\build.proj(30,3): error : A task error has occured.
C:\Proyectos\MyProject\build.proj(30,3): error : Message = Unable to find the Visual SourceSafe registry key.
C:\Proyectos\MyProject\build.proj(30,3): error : Project = $\Proyectos\MyProject
C:\Proyectos\MyProject\build.proj(30,3): error : Database = "vss ilitia"
C:\Proyectos\MyProject\build.proj(30,3): error : Username = raul
C:\Proyectos\MyProject\build.proj(30,3): error : Password =
C:\Proyectos\MyProject\build.proj(30,3): error : Label =
C:\Proyectos\MyProject\build.proj(30,3): error : GetParameter =
C:\Proyectos\MyProject\build.proj(30,3): error : WorkingDirectory = .\
C:\Proyectos\MyProject\build.proj(30,3): error : VersionNumber =
C:\Proyectos\MyProject\build.proj(30,3): error : VersionNumberConfigFileLocation =
C:\Proyectos\MyProject\build.proj(30,3): error : VersionNumberConfigVSSLocation =
C:\Proyectos\MyProject\build.proj(30,3): error : OnlyIncrementRevision = False
C:\Proyectos\MyProject\build.proj(30,3): error :
C:\Proyectos\MyProject\build.proj(30,3): error : at Microsoft.Sdc.Tasks.SourceSafe.Get.VSSGet(ShellExecute shellExecute, String project, String label, String getParameter, String workingDirecto
ry)
C:\Proyectos\MyProject\build.proj(30,3): error : at Microsoft.Sdc.Tasks.SourceSafe.Get.InternalExecute()
C:\Proyectos\MyProject\build.proj(30,3): error : at Microsoft.Sdc.Tasks.TaskBase.Execute()
0 Warning(s)
1 Error(s)
I have posted this issue in the Visual Studio MSBuild Forum, at http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=80162#80162
posted on Tuesday, August 30, 2005 12:46 PM
Feedback
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/6/2005 6:21 PM |
I'm getting the same problem too - using reflector you can see that the task is written to look for VSS 6.0 not 2005.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/30/2005 6:46 PM |
I found a way around this.
Modify the path system enviromnent variable so that c:\program files\microsoft visual sourcesafe is part of the path.
Few other things worth mentioning... Password is ignored, so if the task hangs, its because ss.exe is prompting for a password (and of course you don't have a console..). Make sure the user doesn't have a password to get around this.
The last problem i'm having is that after the get, LoadVersionNumber is called. Why this is even needed is beyond me... but not having the xml file causes the task to bomb. I'm through working aroiund this task, i'm going to find the source and remove the offending lines..
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/2/2007 3:19 PM |
You Blog is Best!
Hello this is online news for you! Thank you!
http://www.usa-online-payday-loan.com
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
6/13/2007 9:14 PM |
Thanks, great solution
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/18/2007 10:31 PM |
thxx
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/8/2007 9:37 PM |
We offer the largest collection of polyphonic ringtones, monophonic ringtones, mobile videos, color wallpapers, color screensavers, real sounds.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/20/2007 9:15 PM |
If you are looking for the replica watch and information about it, you came to the right place.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
7/16/2008 6:02 PM |
thank you..
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
7/25/2008 8:40 PM |
very very nice
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
10/23/2008 1:37 AM |
Thanks very good !.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/22/2008 12:31 AM |
thanks very.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/6/2008 2:41 AM |
thanks very
12/14/2008 11:05 PM |
very thanks.
12/14/2008 11:05 PM |
thanks...
12/23/2008 8:12 AM |
You’ve got a lot of cool posts here. Really like it. It served to be helpful. Thanks on that.
http://www.burclarfal.com
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
2/21/2009 4:46 AM |
Thank's
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/7/2009 10:34 PM |
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task2/21/2009 4:46 AM | sex shop
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/7/2009 10:36 PM |
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task3/7/2009 10:34 PM | penis büyütücü hap
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/17/2009 9:26 PM |
thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/21/2009 9:49 PM |
Thank You For This BLog..
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/25/2009 5:44 PM |
thank you.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/30/2009 7:35 PM |
Vedi le foto di amore, l'amore per le immagini, l'amore Foto su Photobucket.
4/2/2009 8:39 AM |
thanks....
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
6/13/2009 4:12 AM |
ty mannn
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
9/4/2009 10:51 PM |
good post
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
9/19/2009 6:00 PM |
Vedi le foto di amore, l'amore per le immagini, l'amore Foto su Photobucket.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
9/27/2009 8:55 AM |
good article
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
10/23/2009 7:30 AM |
EKLEMEYECEK OLURSANIZ Lütfen PM ATIN !
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/3/2009 8:52 AM |
hello
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/8/2009 4:46 PM |
I dont even remember how i reached your site but it doesnt matter, cause i’m so happy i found it, it really made me think, keep up the good work.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/10/2009 6:41 AM |
SIKIS
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/13/2009 7:55 AM |
wow…great collection! Thanks for sharing here.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/15/2009 12:39 PM |
How are you
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/16/2009 3:20 AM |
How are you
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/16/2009 4:43 AM |
Hii are you
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
11/21/2009 2:12 AM |
If you are looking for the replica watch and information about it, you came to the right place.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/10/2009 2:23 AM |
sinemalar
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/21/2009 10:47 PM |
thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
12/22/2009 7:37 AM |
hi how are you all
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/4/2010 12:35 PM |
thank you very much!
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/11/2010 10:59 PM |
thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/11/2010 10:59 PM |
thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/11/2010 11:00 PM |
thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/11/2010 11:00 PM |
thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/11/2010 11:01 PM |
thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/18/2010 8:05 AM |
OKEY
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
1/20/2010 12:07 PM |
Thanks
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
2/20/2010 1:20 AM |
great post thanks for sharing
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
2/20/2010 1:20 AM |
great post thanks for sharing
2/24/2010 11:42 PM |
I dont even remember how i reached your site but it doesnt matter, cause i’m so happy i found it, it really made me think, keep up the good work.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
2/27/2010 10:56 AM |
thanks very good
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
2/27/2010 10:57 AM |
Thank you admin very nice ...
3/8/2010 3:03 AM |
Thanks very good !.
3/13/2010 12:13 PM |
That's awesome! I can't wait to get into it.
3/13/2010 12:14 PM |
That's awesome! I can't wait to get into it.
3/13/2010 12:16 PM |
That's awesome! I can't wait to get into it.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/18/2010 1:08 AM |
Good recommended website.
# re: Visual Studio 2005, Error using MSBuild and the SourceSafe.Get Task
3/18/2010 1:08 AM |
Good recommended website.