VSS Get Erroram trying to get latest version of my project using following <font color="#0000ff" size=2> <p><font style="background-color:#ffffff" color="#000000">&lt;</font></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>UsingTask</font><font size=2> </font><font size=2>AssemblyFile</font><font size=2>=</font><font size=2>&quot;</font><font size=2>Microsoft.Sdc.Tasks.dll</font><font size=2>&quot;</font><font size=2> </font><font size=2>TaskName</font><font size=2>=</font><font size=2>&quot;</font><font size=2>Microsoft.Sdc.Tasks.SourceSafe.Get</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000"> /&gt;</font></p> <p><font style="background-color:#ffffff" color="#000000">&lt;</font></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Target</font><font size=2> </font><font size=2>Name</font><font size=2>=</font><font size=2>&quot;</font><font size=2>Latest</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000">&gt;</font></p> <p><font style="background-color:#ffffff" color="#000000">&lt;</font></font><font size=2><font style="background-color:#ffffff" color="#000000">SourceSafe.Get</font></p></font><font size=2> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>UserName</font><font size=2>=</font><font size=2>&quot;</font><font size=2>abc</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000"> </font></p> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Password</font><font size=2>=</font><font size=2>&quot;</font><font size=2>abc</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000"> </font></p> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Database</font><font size=2>=&quot;</font><font size=2></font><font size=2><a title="file://\\vss\Code">\\vss\Code</a>&quot;</font><font size=2></p></font></font></font><font size=2> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Project</font><font size=2>=</font><font size=2>&quot;</font><font size=2>$\Source\Project</font><font size=2>&quot;</p></font></font></font><font size=2> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>WorkingDirectory</font><font size=2>=</font><font size=2>&quot;</font><font size=2>c:\temp</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000">&gt;</font></p> <p><font style="background-color:#ffffff" color="#000000">&lt;/</font></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>SourceSafe.Get</font><font size=2>&gt;</font></font></font></p> <p><font color="#000000"><font style="background-color:#ffffff"><font size=2>&lt;/</font><font size=2>Target</font><font size=2>&gt;</font></font></font></p> <p><font color="#0000ff" size=2><font style="background-color:#ffffff">It gets all the files </font>from the VSS but at the end I get following error message.</font></p> <p><font color="#0000ff" size=2></font> </p> <p><br><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Target Latest:<br>    Connecting to VSS.<br>    Getting latest version.<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : A task error has occured.<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Message                         = Value cannot be null.<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Parameter name: url<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Project                         = $\Source\Project<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Database                        = </font><a title="file://\\Vss\Code"><font face="Verdana, Geneva, Arial, Sans-serif" size=2>\\Vss\Code</font></a><br><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Username                        = abc<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Password                        = abc<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Label                           = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : GetParameter                    = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : WorkingDirectory                = c:\temp<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : VersionNumber                   = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : VersionNumberConfigFileLocation = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : VersionNumberConfigVSSLocation  = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : OnlyIncrementRevision           = False<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at System.Xml.XmlTextReaderImpl..ctor(String url, XmlNameTa<br>ble nt)</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at System.Xml.XmlDocument.Load(String filename)</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at Microsoft.Sdc.Tasks.SourceSafe.Get.LoadVersionNumber()</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at Microsoft.Sdc.Tasks.SourceSafe.Get.InternalExecute()</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at Microsoft.Sdc.Tasks.TaskBase.Execute()</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Done building target &quot;Latest&quot; in project &quot;test.xml&quot; -- FAILED.</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Done building project &quot;test.xml&quot; -- FAILED.</font></p> <p><font face=Verdana size=2></font> </p> <p><font face=Verdana size=2></font> </p> <p><font face=Verdana size=2>Any help will be great,</font></p> <p><font face=Verdana size=2>Thanks in advance!!</font></p>© 2009 Microsoft Corporation. All rights reserved.Thu, 19 Jun 2008 00:15:52 Zc2400270-e568-466c-869e-577243052529http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#c2400270-e568-466c-869e-577243052529http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#c2400270-e568-466c-869e-577243052529SujithGokulhttp://social.msdn.microsoft.com/Profile/en-US/?user=SujithGokulVSS Get Erroram trying to get latest version of my project using following <font color="#0000ff" size=2> <p><font style="background-color:#ffffff" color="#000000">&lt;</font></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>UsingTask</font><font size=2> </font><font size=2>AssemblyFile</font><font size=2>=</font><font size=2>&quot;</font><font size=2>Microsoft.Sdc.Tasks.dll</font><font size=2>&quot;</font><font size=2> </font><font size=2>TaskName</font><font size=2>=</font><font size=2>&quot;</font><font size=2>Microsoft.Sdc.Tasks.SourceSafe.Get</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000"> /&gt;</font></p> <p><font style="background-color:#ffffff" color="#000000">&lt;</font></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Target</font><font size=2> </font><font size=2>Name</font><font size=2>=</font><font size=2>&quot;</font><font size=2>Latest</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000">&gt;</font></p> <p><font style="background-color:#ffffff" color="#000000">&lt;</font></font><font size=2><font style="background-color:#ffffff" color="#000000">SourceSafe.Get</font></p></font><font size=2> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>UserName</font><font size=2>=</font><font size=2>&quot;</font><font size=2>abc</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000"> </font></p> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Password</font><font size=2>=</font><font size=2>&quot;</font><font size=2>abc</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000"> </font></p> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Database</font><font size=2>=&quot;</font><font size=2></font><font size=2><a title="file://\\vss\Code">\\vss\Code</a>&quot;</font><font size=2></p></font></font></font><font size=2> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>Project</font><font size=2>=</font><font size=2>&quot;</font><font size=2>$\Source\Project</font><font size=2>&quot;</p></font></font></font><font size=2> <p></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>WorkingDirectory</font><font size=2>=</font><font size=2>&quot;</font><font size=2>c:\temp</font><font size=2>&quot;</font></font></font><font size=2><font style="background-color:#ffffff" color="#000000">&gt;</font></p> <p><font style="background-color:#ffffff" color="#000000">&lt;/</font></font><font color="#000000"><font style="background-color:#ffffff"><font size=2>SourceSafe.Get</font><font size=2>&gt;</font></font></font></p> <p><font color="#000000"><font style="background-color:#ffffff"><font size=2>&lt;/</font><font size=2>Target</font><font size=2>&gt;</font></font></font></p> <p><font color="#0000ff" size=2><font style="background-color:#ffffff">It gets all the files </font>from the VSS but at the end I get following error message.</font></p> <p><font color="#0000ff" size=2></font> </p> <p><br><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Target Latest:<br>    Connecting to VSS.<br>    Getting latest version.<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : A task error has occured.<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Message                         = Value cannot be null.<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Parameter name: url<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Project                         = $\Source\Project<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Database                        = </font><a title="file://\\Vss\Code"><font face="Verdana, Geneva, Arial, Sans-serif" size=2>\\Vss\Code</font></a><br><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Username                        = abc<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Password                        = abc<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : Label                           = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : GetParameter                    = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : WorkingDirectory                = c:\temp<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : VersionNumber                   = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : VersionNumberConfigFileLocation = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : VersionNumberConfigVSSLocation  = &lt;String.Empty&gt;<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error : OnlyIncrementRevision           = False<br>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at System.Xml.XmlTextReaderImpl..ctor(String url, XmlNameTa<br>ble nt)</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at System.Xml.XmlDocument.Load(String filename)</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at Microsoft.Sdc.Tasks.SourceSafe.Get.LoadVersionNumber()</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at Microsoft.Sdc.Tasks.SourceSafe.Get.InternalExecute()</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>D:\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\test.<br>xml(6,5): error :    at Microsoft.Sdc.Tasks.TaskBase.Execute()</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Done building target &quot;Latest&quot; in project &quot;test.xml&quot; -- FAILED.</font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Done building project &quot;test.xml&quot; -- FAILED.</font></p> <p><font face=Verdana size=2></font> </p> <p><font face=Verdana size=2></font> </p> <p><font face=Verdana size=2>Any help will be great,</font></p> <p><font face=Verdana size=2>Thanks in advance!!</font></p>Thu, 07 Dec 2006 14:11:12 Z2006-12-07T14:11:12Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#6bd00db7-be9e-43ae-93fc-18fce9120e8ehttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#6bd00db7-be9e-43ae-93fc-18fce9120e8eSimon Dahlbackahttp://social.msdn.microsoft.com/Profile/en-US/?user=Simon%20DahlbackaVSS Get ErrorAt least if you have flipped the readonly bit of some file yourself, then the task will spew errors (not sure if that is the case here..)<br>Thu, 07 Dec 2006 21:59:51 Z2006-12-07T21:59:51Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#301c74bb-6d62-427b-8481-da7dd285a109http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#301c74bb-6d62-427b-8481-da7dd285a109matt_petersonhttp://social.msdn.microsoft.com/Profile/en-US/?user=matt_petersonVSS Get Error<p align=left><font face=Arial size=2></font> </p> <p>Has anyone ever found the cause of this error? It is happening to me when trying to pull files from source safe. It retrieves them fine, but the build 'fails' because of this error.</p> <p align=left> </p> <p align=left>Thanks,</p> <p align=left>-Matt</p>Thu, 14 Feb 2008 21:18:56 Z2008-02-14T21:18:56Zhttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#c280fa38-b4f2-43ff-b6ca-4afe201fd69ehttp://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/c2400270-e568-466c-869e-577243052529#c280fa38-b4f2-43ff-b6ca-4afe201fd69ematt_petersonhttp://social.msdn.microsoft.com/Profile/en-US/?user=matt_petersonVSS Get Error<div class=quote> <table width="85%"> <tbody> <tr> <td class=txt4> <strong>matt_peterson wrote:</strong></td></tr> <tr> <td class=quoteTable> <table width="100%"> <tbody> <tr> <td class=txt4 valign=top width="100%"> <p align=left><font face=Arial size=2></font> </p> <p>Has anyone ever found the cause of this error? It is happening to me when trying to pull files from source safe. It retrieves them fine, but the build 'fails' because of this error.</p> <p align=left> </p> <p align=left>Thanks,</p> <p align=left>-Matt</p> <p></p></td></tr></tbody></table></td></tr></tbody></table></div> <p></p> <p align=left> </p> <p align=left> </p> <p align=left>Nevermind, I spent a couple hours trying to figure this out, only to find the problem a hour after posting...</p> <p align=left> </p> <p align=left>based on the help file for this task, the format is as such:</p> <p align=left> </p> <p align=left> <div class=quote> <table width="85%"> <tbody> <tr> <td class=quoteTable> <table width="100%"> <tbody> <tr> <td class=txt4 valign=top width="100%"> <p></p> <p align=left>&lt;SourceSafe.Get<br>  Database=&quot;database&quot;<br>  Username=&quot;username&quot; <br>  Password=&quot;password&quot; <br>  GetParameter=&quot;getParameter&quot; <br>  Label=&quot;label&quot; <br>  OnlyIncremementRevision=&quot;onlyIncrementRevision&quot; <br>  Project=&quot;project&quot;<br>  VersionNumber=&quot;versionNumber&quot;<br>  VersionNumberConfigFileLocation=&quot;versionNumberConfigFileLocation&quot;<br>  VersionNumberConfigVSSLocation=&quot;versionNumberConfigVSSLocation&quot;<br>  WorkingDirectory=&quot;workingDirectory&quot; &gt;<br>&lt;/SourceSafe.Get&gt;</p> <p align=left></p></td></tr></tbody></table></td></tr></tbody></table></div> <p></p> <p align=left> </p> <p align=left>there were a couple extra values that I wasn't filling out. Adding the VersionNumberConfigFileLocation and properly formatted XML version file was the key to getting it working. </p> <p align=left> </p> <p align=left>Hope this helps other members new to MSbuild/tasks...</p>Thu, 14 Feb 2008 22:51:29 Z2008-02-14T22:51:29Z