我对 msbuild 完全是个菜鸟,但我鼓励我根据之前对 我几天前发布的问题.
I'm a complete noob with respect to msbuild but am encouraged to use it based on a previous answer to a question I posted a few days back.
无论如何,我正在寻找一些有关开始使用 MSBuild 的建议……尤其是使用它来自动部署 ASP.NET MVC 应用程序.
Anyhow, I'm looking for some recommendations on getting started with MSBuild ... and in particular, using it to automate the deployment of ASP.NET MVC applications.
非常感谢!
推荐答案对于 web 的东西你应该使用 Web 部署项目.它是 Microsoft 的免费插件,可在您的网站或 Web 项目(在您的情况下为 MVC)上运行 aspnet_compiler 和 aspnet_merge 工具.您可以在那里自定义构建以帮助您准备部署.
For web stuff you should use Web Deployment Projects. It is a free add on from Microsoft that will run the aspnet_compiler and aspnet_merge tool on your web site or web project (MVC in your case). You can customize the build there to help you prepare for deployment.
关于开始使用 MSBuild 资源
About getting started with MSBuild resources
- Microsoft Build Engine 内部:使用 MSBuild 和 Team Foundation Build (书籍)
- MSBuild 内部
- MSBuild 的 7 个步骤
- MSDN MSBuild 文档
更多推荐
如何使用 MSBuild 部署 ASP.NET MVC 应用程序
发布评论