我有一个MVC5网站使用Visual Studio Online(TFS)的持续集成成功地将暂存和生产版本部署到Azure.
我关注过这篇博文
Continuous Delivery to Azure Websites with git using custom deployment script
我甚至添加了构建到我的发布配置文件所需的构建.即.
stagingbuild |任何cpu.
note: this was not mentioned in the above mentioned blog post.
这些站点使用VS2013构建部署正常,但配置不会被转换.我只是获取默认的web.config设置,而不是web.staging.config等转换后的设置.
note: I am only trying to transform one
appSetting
at the moment to get it working
我完全理解如何编写变换,所以我不认为这是一个问题,当我在VS2013中预览我的变换时,它们会在预览窗口中变换.
note: I am not publishing directly from VS but committing my changes to repo and continuous integration kicks in from my Visual Studio Online repo.