Evan A. Bonnett
Reynolds and Reynolds,
IT
All,
Quick question...
I am getting this exception when checking out code to label in VSS. I have come to the conclusion that when checking out via the <vsscheckout>, it will not overwrite and will fail if the files already exist. Is this accurate?
So, if I have to check out the AssemblyInfo.cs file to update the version num, I should check it into a temp directory, modify it, check it in, and then delete it?
Then, if I label the code for a future <vssget>, I should do the same in a temp dir? (e.g. checkout, modify, checkin, delete directory).
Is this correct?
C:\Inetpub\wwwroot\Reynolds\GenerationsSeries\DeskingPortal\default.build(95,4):
Checkout failed:
NAnt.Core.BuildException: C:\Inetpub\wwwroot\Reynolds\GenerationsSeries\DeskingPortal\default.build(95,4):
Checkout failed ---> System.Runtime.InteropServices.COMException (0x8004D841): File "c:\NAntVSSTest\DeskingPortal\DeskingPortal" already exists
at SourceSafeTypeLib.VSSItemClass.Checkout(String Comment, String Local, Int32 iFlags)
at NAnt.Contrib.Tasks.SourceSafe.CheckoutTask.ExecuteTask()
--- End of inner exception stack trace ---
at NAnt.Contrib.Tasks.SourceSafe.CheckoutTask.ExecuteTask()
at NAnt.Core.Task.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Task.cs:line 151
at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Target.cs:line 252
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Project.cs:line 878
at NAnt.Core.Project.Execute(String targetName) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Project.cs:line 848
at NAnt.Core.Tasks.CallTask.ExecuteTask() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Tasks\CallTask.cs:line 110
at NAnt.Core.Task.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Task.cs:line 151
at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Target.cs:line 252
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Project.cs:line 878
at NAnt.Core.Project.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Project.cs:line 835
at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp244.tmp\src\NAnt.Core\Project.cs:line 903Total time: 1.4 seconds.
Evan A. Bonnett
Reynolds and Reynolds, IT