1

I have 3 different environments (Alpha, Beta and QA).

enter image description here

I'm trying to setup TFS Build based on environments and have to provide appropriate build profile in msbuild comment. I tried providing /p:PublishProfile="Profilename" and "ProfileName.pubxml", but nothing seems to be working.

enter image description here

Any idea what I'm missing here?

Yass
  • 592
  • 1
  • 8
  • 30

1 Answers1

0

It seems you want to publish a web project from MSBuild command line. You may try the MSBuild arguments below:

/p:Configuration=xx /p:DeployOnBuild=true /p:PublishProfile=Profilename /p:VisualStudioVersion=14.0
Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39