Build once and deploy to multiple environments with msdeploy & Visual Studio 2012

前端 未结 4 1362
北恋
北恋 2020-12-04 13:35

Working on centralizing configurations, app settings and connection strings, for multiple solutions, while also switching over to use msdeploy from command line to deploy we

4条回答
  •  执笔经年
    2020-12-04 13:59

    I ended up solving this problem with a combination of msbuild running on TeamCity to create NuGet packages which can be consumed by OctopusDeploy.

    Octopus allow for an application packaged up into a nuget package (built once) to be pushed through multiple environments. Config can be transformed on a per environment or even a per machine basis using standard ms transforms. Links to relevent Octopus docs below.

    Packaging for Octopus

    Configuring config transforms

提交回复
热议问题