Reputation: 1937
I am trying to create a package after a build in TFS 2010.
When I launch the following command on my computer:
MSBuild.exe Fenicorp.Front.Web.FunnyApplication.sln
/p:DeployOnBuild=true;DeployTarget=Package
the solution is compiled and there is a package inside the obj folder.
However, when I specify
/p:DeployOnBuild=true;DeployTarget=Package
as MSBuild Arguments in a Build Definition and queue a new build, there is no package in my drop folder. Moreover the build status is Successfull, as if everything is fine.
Upvotes: 2
Views: 3924
Reputation: 1937
Eventually I managed to make it work. I needed to install Visual Studio 2010 on the build server in order to have MSBuild to work with these arguments.
Upvotes: 3