|
Any hints on this issue are greatly appreciated… I am attempting to run a build (listed at the bottom of this
email) that applies a label in VSS. I am using the vsslabel task and am
getting the following error when the vsstask is executed: C:\Development\Build\ gc.build(32,4): label failed Invalid access code (bad parameter). I have done a bit of research on
the error and the only references that I can find refer to a known bug
affecting certain versions of VSS and VS.NET. The Microsoft article can
be found at: http://support.microsoft.com/default.aspx?scid=kb;en-us;317909 The problem is that according the
article and other people who experienced this issue the issue was corrected
with the release of VS.NET 2003. My environment consists of VS.NET 2003
and VSS 6.0d. The version of Ssapi.dll installed is 06.00.9848 which is
later than the version listed in the article. Not sure if anyone else has
run into this problem or one similar and been able to work around it. Thanks again for any help, <!--------------------------
BEGIN nant build file --------------------------------> <?xml
version="1.0"?> <project name="gc"
default="label" basedir="."> <description>Build
descriptor for gc application</description> <target
name="init" description="bootstrap all properties and do any
setup"> <property
name="debug" value="true" /> <tstamp> <formatter
property="build.date" pattern="yyyyMMdd"/> <formatter
property="build.time" pattern="HHmm"/> </tstamp> <property
name="build.name" value="gc"/> <version
buildtype="increment" revisiontype="increment"
prefix="build."/> </target> <target
name="clean" depends="init" description="remove all generated
files"> </target> <target
name="label" depends="init" description="label the
build in vss"> <echo
message="debug = ${debug}"/> <echo
message="build.date = ${build.date}"/> <echo
message="build.time = ${build.time}"/> <echo
message="build.name = ${build.name}"/> <echo
message="build.version = ${build.version}"/> <property
name="build.label"
value="${build.name}.${build.date}.${build.time}.${build.version}"/> <echo
message="build.label = ${build.label}"/> <echo
message="labelling solution"/> <vsslabel user="user" password="password" dbpath="C:\VSS\srcsafe.ini" path="$/Development/Solutions/gc
" comment="Label
Solution gc" label="${build.label}" verbose="true"
/> <echo
message="labelling classlibrary"/> <vsslabel user="user" password="password" dbpath="C:\VSS\srcsafe.ini" path="$/Development/ClassLibraries/gc/BO" comment="Label
ClassLibrary gc.BO.dll" label="${build.label}" verbose="true"
/> <echo
message="labelling webproject"/> <vsslabel user="user" password="password" dbpath="C:\VSS\srcsafe.ini" path="$/Development/WebApplications/gc" comment="Label
Solution gc" label="${build.label}" verbose="true"
/> </target> </project> <!--------------------------
END nant build file --------------------------------> Advanced Objects -----BEGIN PGP PUBLIC KEY BLOCK----- mQGiBD8DG1kRBADpoabSCK5QoNBdo5iwkZXMaEDwAVXAZvKbdnpAvS3pWZFIdJvF |
<<image001.gif>>
