简体   繁体   English

Azure网站使用Visual Studio 2010发布配置文件

[英]Azure Web Site publish profile using Visual Studio 2010

I have a web site built using ASP.NET MVC4 that I can publish fine to both Azure Websites and a W2K8 R2 server using Visual Studio 2012's Publish web application wizard. 我有一个使用ASP.NET MVC4构建的网站,可以使用Visual Studio 2012的 Publish web application向导将其发布到Azure网站和W2K8 R2服务器。

I also have successfully configured VS 2010 to publish to my W2K8 R2 server using the old VS 2010 Publish Web wizard. 我还使用旧的VS 2010 Publish Web向导成功配置了VS 2010,以发布到我的W2K8 R2服务器。

However, this old VS 2010 wizard does not work with the "publish profiles" from Windows Azure Web Sites . 但是,此旧的VS 2010向导不适用于Windows Azure网站中的“发布配置文件”。 I assume there is a version of the new wizard that works with VS 2010, but I cannot figure out how to install it, or if I already have it installed, access it. 我假定有一个版本的向导可以与VS 2010一起使用,但是我无法弄清楚如何安装它,或者如果我已经安装了它,则可以访问它。

I thought there was a command line tool that did this, but digging into msbuild and web deploy provided with no love. 我以为有一个命令行工具可以做到这一点,但深入研究msbuildweb deploymsbuild

How does one publish an ASP.NET MVC4 app to Azure Web Sites using VS 2010? 如何使用VS 2010将ASP.NET MVC4应用发布到Azure网站?

You can download the tools for Visual Studio 2010 on the Microsoft Windows Azure .NET developer center downloads page . 您可以在Microsoft Windows Azure .NET开发人员中心下载页面上下载Visual Studio 2010的工具。 Hope that helps! 希望有帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM