我可以斌部署和MVC4用于.NET 4,我有一个MVC3应用程序运行? [英] Can I bin deploy and MVC4 for .NET 4 where I have an MVC3 app running?

查看:99
本文介绍了我可以斌部署和MVC4用于.NET 4,我有一个MVC3应用程序运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个共享的主机服务器上的应用程序MVC3,并希望通过创建一个新MVC4项目,并在复制我的内容升级项目。将所需的依赖关系是,当地发布我做MVC4应用程序的文件系统的发布,还是有服务器上GAC等方面的要求?我会用这我已经使用托管服务器上的精细.NET 4。

I have an MVC3 app on a shared hosting server and would like to upgrade this project by creating a new MVC4 project and copying my content over. Will the required dependencies be publish when I do a file system publish of the MVC4 app, or are there GAC etc. requirements on the server? I will be using .NET 4 which I am already using fine on the hosting server.

推荐答案

我能够到MVC4测试箱没有问题只安装MVC3的服务器部署。我跟着菲尔哈克的指南这样做的(它为MVC3被写,但是步骤是相同的​​)。

I was able to to an MVC4 Beta bin deploy with no problem to a server with only MVC3 installed. I followed Phil Haack's guide for doing this (it was written for MVC3 but the steps are the same).

所有你需要做的只是点击右键并选择添加部署大会。这也让我们的单元测试组件运行得很好,所以没有必要对我们的持续集成服务器上安装测试版。

All you have to do is right-click on the project and select "Add Deployable Assemblies". This also allowed our unit test assemblies to run just fine, so there was no need to install the beta on our continuous integration server.

<一个href=\"http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx\">http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx

这篇关于我可以斌部署和MVC4用于.NET 4,我有一个MVC3应用程序运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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