To Build and publish Solution on-premise for 2(multiple) sites we created TFS 2015 Build that has separate build steps. Those Builds just differ by MSBuild
/p:DeployIisAppPath
arguments. But when this Build runs it creates 2 Deployment packages that would be deployed to the same site, which can be confirmed by looking at SetParameters.xml
file. Is there any way to overcome this problem and setup on-premise build so that each Package gets Deployed to each respective site?
Asked
Active
Viewed 584 times
0

Victor
- 985
- 2
- 28
- 53
1 Answers
1
You need to include the publishing settings as part of the project file and not part of the TFS build definition. All the MSBuild paramaters can be moved inside the csproj. Check the solutions at links below:
How to tell TFS to deploy multiple webapps containing in one solution?

Community
- 1
- 1

Cece Dong - MSFT
- 29,631
- 1
- 24
- 39