Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Team Build ignores MSBuild arguments

Tags:

build

tfs

I have created a new team build definition. On every checkin, the build happens on a TFS server (another build controller). After the build completes, I want to publish the files. The MSBuild input arguments used are /p:DeployOnBuild=true;PublishProfile=QADeploy. QADeploy is the publishing profile created.

I expect the team build to succeed which happens. But the successful build does not publish or attempt to publish the files to the destination folder. Any ideas why, the publish via publish profile is not triggered?

like image 874
vijayst Avatar asked Jan 10 '13 14:01

vijayst


1 Answers

Weird, but adding the Visual Studio Version resolved the problem:

/p:DeployOnBuild=true /p:PublishProfile=QADeploy /p:VisualStudioVersion=11.0
like image 65
vijayst Avatar answered Oct 06 '22 13:10

vijayst