0

Visual Studio 2012 Express(更新 2),通过 Team Foundation Service 和 GIT 部署 MVC 4 应用程序 - 然后使用构建部署到 Windows 2008 Server(使用 MSBuild 参数)。

一切正常 - 除了 web.config 未部署(它将进入 TFService 上的 git 存储库)。

直接从 VS 部署时 - 您必须右键单击 web.config 并选择“始终复制”以使 web.config 上升。是否有等效选项(或我可以使用的 MSBuild 参数)来确保部署 web.config?

谢谢。

4

0 回答 0