tfsbuild - Trouble checking files out/in Team Foundation Build -
i trying build variety of csproj files using tfsbuild , visual studio 2012. have created build definition proper processes build 3 different csproj files. each csproj file has prebuild , postbuild events, majority being simple delete , copy commands. these steps builds work great. want add commands have files check out of tfs before building , check in after build. i've added proper vs command-line commands prebuild , postbuild events
checkout:
"$(devenvdir)tf" checkout /lock:none "$(pathname)$(configurationname)\$(targetfilename)"
checkin:
"$(devenvdir)tf" checkin "$(pathname)$(configurationname)\$(targetname).*" /noprompt /force /comment:"build check-in"
however when try build error returned looks this:
$/aiframework/toolbox/accelitec.utility/accelitec.utility.csproj - 1 error(s), 0 warning(s), view log file c:\windows\microsoft.net\framework64\v4.0.30319\microsoft.common.targets (1063): command ""c:\program files (x86)\microsoft visual studio 11.0\common7\ide\tf" checkout /lock:none "\aidevelopment\aiframework\bin\debug\accelitec.utility.dll"" exited code 100.
there isn't more information provided error report going wrong. interesting point, when build files locally , individually, checkout/in commands in place, files build , proper checkout/in.
my thoughts (backed fiddling command line on team server) has workspaces, workspaces required check out file, other lost proceed.
i suggest away post-build events, , instead, modify workflow. @ least, use msbuild , not post-build events.
Comments
Post a Comment