Trying to upgrade TFS 2013 to 2015. Having an issue with the migrated XAML builds. Created a new build server and installed the build agent but am getting the error:
Getting sources
Labeling sources
Exception Message: TF270015: 'msbuild.exe' returned an unexpected exit code. Expected '0'; actual '1'. See the build logs for more details. (type UnexpectedExitCodeException) Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe /nologo /noconsolelogger "C:\Builds\16\[path]\Deploy-G.M.FunctionalTests\BuildType\TFSBuild.proj" /m:1 /nr:False "@C:\Builds\16\[path]\Deploy-G.M.FunctionalTests\BuildType\TfsBuild.rsp"
Built $/[project]/Trunk/Tests/Builds/Deploy-G.M.FunctionalTests/TFSBuild.proj for default targets.
C:\Builds\16\[path]\Deploy-G.M.FunctionalTests\BuildType\TFSBuild.proj (51): The local path 'C:\Builds\16\[path]\Deploy-G.M.FunctionalTests\src' is not mapped to a TFS workspace.
Not sure why the the build working folder needs to be mapped to a TFS workspace. This is a dynamic path and is specific to the build machine.
This is the part of the build project that causes the error:
<TfsChangeset LocalPath="$(SolutionRoot)" >
<Output TaskParameter="Changeset" PropertyName="Revision"/>
</TfsChangeset>
<Message Text="TFS ChangeSet: $(Revision)" />