如何使用的MSBuild部署ASP.NET MVC应用程序 [英] How to use MSBuild to deploy an ASP.NET MVC application

查看:305
本文介绍了如何使用的MSBuild部署ASP.NET MVC应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我就MSBuild的一个完整的小白,但使用它基于一个previous答案的一个<一感到鼓舞href=\"http://stackoverflow.com/questions/1224292/best-way-to-automatically-com$p$pss-and-minimize-javascript-files-in-an-asp-net-mv\">question我贴了几天就回来。

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.

谢谢了!

推荐答案

有关网页的东西,你应该使用<一个href=\"http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&displaylang=en\"相对=nofollow> Web部署项目。这是一个免费的微软的加入将运行在您的网站或web项目(MVC在你的情况下)aspnet_compiler和aspnet_merge工具。您可以自定义版本来帮助你进行部署prepare。

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

  • Inside the Microsoft Build Engine: Using MSBuild and Team Foundation Build (Book)
  • Inside MSBuild
  • 7 Steps To MSBuild
  • MSDN MSBuild Docs

这篇关于如何使用的MSBuild部署ASP.NET MVC应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆