Can I bin deploy and MVC4 for .NET 4 where I have an MVC3 app running?

后端 未结 1 536
陌清茗
陌清茗 2021-01-23 06:54

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 b

相关标签:
1条回答
  • 2021-01-23 07:19

    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.

    http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx

    0 讨论(0)
提交回复
热议问题