如何使用 MSBuild 部署 ASP.NET MVC 应用程序

编程入门 行业动态 更新时间:2024-10-18 22:28:00
本文介绍了如何使用 MSBuild 部署 ASP.NET MVC 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我对 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 应用程序

本文发布于:2023-06-03 10:08:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/473798.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何使用   应用程序   MSBuild   ASP   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!