Reputation: 64943
I'm successfully deploying a Web site from Visual Studio using a publish profile, but once I try to configure it in a TFS build definition, it's never published.
These are the MSBuild arguments so far: /p:DeployOnBuild=true;PublishProfile=Doc.Development /p:VisualStudioVersion=12.0
.
Also, I'm using GitTemplate.12.0.xaml
process template on my build definition.
Do I need to provide any further argument to MSBuild?
Note: TFS 2013 is updated to Update 4.
Upvotes: 0
Views: 37
Reputation: 626
also use /p:CreatePackageOnPublish=true along with /p:DeployOnBuild=true;PublishProfile=Doc.Development /p:VisualStudioVersion=12.0
Upvotes: 0