Reputation: 59
I am searching for a solution that allows me to generate a Web Deploy Package and the associated deploy.cmd and SetParameters.xml.
But I need to generate a deploy.cmd and SetParameters.xml Per Environment
I would need my output to look like the following
Any help would be greatly appreciated.
Upvotes: 6
Views: 926
Reputation: 3923
Check out Sayed Ibrahim Hashimi's blog and web package nuget extension he created. NuGet package that extends the web packaging process in Visual Studio to enable you to create a single package which can be published to multiple environments
Package once publish anywhere - you will need to look at the powershell script it creates and call it from your build task with the appropriate values.
Upvotes: 3