
Tuesday, August 30, 2005
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