Creating multiple SetParameters.xml tasks from one assembly

I am looking for a solution that allows me to create a Web deployment package and related deploy.cmd and SetParameters.xml.

But I need to create deploy.cmd and SetParameters.xml for the environment

I need my conclusion to look like this

  • ProjectName.DevSetParameters.xml
  • ProjectName.DevDeploy.cmd
  • ProjectName.UATSetParameters.xml
  • ProjectName.UATDeploy.cmd
  • ProjectName.PRODSetParameters.xml
  • ProjectName.PRODDeploy.cmd
  • ProjectName.zip

Any help would be greatly appreciated.

+6
source share
1 answer

Check out the “Ibragim Hashimi Searched” section that he created on his blog and the nuget web package extension. A NuGet package that extends the web packaging process in Visual Studio so you can create a single package that can be published to multiple environments.

A package that is once published anywhere - you will need to look at the powershell script that it creates and invoke it from your build task using the appropriate values.

Nuget install from VS command line SAYED IBRAHIM HASHIMI Blog

+3
source

All Articles