Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 27, 2012 09:49 PM by Bus
Member
49 Points
51 Posts
Feb 27, 2012 09:49 PM|LINK
The bold, underlined line is what is causing problems. I get "exited with error code 255". Can you tell me what the syntax should be for Mercurial hg pull -u?
<Target Name="Build"> <Message Text="Starting to Build"/> <Message Text="From TeamCity: Revision = $(BUILD_VCS_NUMBER)" /> <Exec Command='hg.exe pull -u $(ProjectPath)\Libraries\'></Exec> <Message Text="Setting version in AssemblyInfo files..." /> <ItemGroup> <AssemblyInfoFiles Include="**\AssemblyInfo.cs" /> </ItemGroup> <XmlUpdate Namespace="http://schemas.microsoft.com/.NetConfiguration/v2.0"
....more msbuild code
Bus
Member
49 Points
51 Posts
Mercurial and msbuild
Feb 27, 2012 09:49 PM|LINK
<Target Name="Build"> <Message Text="Starting to Build"/> <Message Text="From TeamCity: Revision = $(BUILD_VCS_NUMBER)" /> <Exec Command='hg.exe pull -u $(ProjectPath)\Libraries\'></Exec> <Message Text="Setting version in AssemblyInfo files..." /> <ItemGroup> <AssemblyInfoFiles Include="**\AssemblyInfo.cs" /> </ItemGroup> <XmlUpdate Namespace="http://schemas.microsoft.com/.NetConfiguration/v2.0"</div> <div class="msg l2"></div> <div class="msg l2">
</div> <div class="msg l2">
</div> <div class="msg l2">Here's the error in Team City</div> <div class="msg l2">BuildAutomation.msbuild.teamcity] Build</div> </div> <div> <div class="msg l3" id="msg_36">[14:58:10][Build] Exec</div> </div> <div> <div class="msg l4" id="msg_39">[14:58:11][Exec] C:\TeamCity\buildAgent\work\8c9bdb2e5f520b2b\BuildAutomation.msbuild(41, 5): error MSB3073: The command "hg.exe pull -u C:\TeamCity\buildAgent\work\8c9bdb2e5f520b2b\Libraries\" exited with code 255.</div> </div> <div> <div class="msg l2" id="msg_42">[14:58:11][BuildAutomation.msbuild.teamcity] Project BuildAutomation.msbuild.teamcity failed.</div> </div>