这似乎是一个可笑的事情,但我想知道如果任何人有任何见解。我得到了code到MVC 5,.NET 4.5的项目,问题是我们的服务器是太老了,使用.NET 4.5。
This may seem like a ridiculous thing but I was wondering if anyone had any insight. I was given the code to a MVC 5, .NET 4.5 project, problem is our server is too old to use .NET 4.5.
我也看到了MVC 5不能在.NET 4中运行: Can我上运行的.NET Framework 4.0?
I've also read that MVC 5 cannot be run on .NET 4: Can I run MVC 5 application on .NET Framework 4.0?
有没有什么办法,而不需要重新启动整个项目,要恢复到旧版本?此外,如果这是非常简单的比我预期的,因为我必须警告你为好,我很新的物质,那么你能指点我在正确的方向。
Is there any way, without restarting the entire project, to revert back to older versions? Also if this is much simpler than I anticipated, because I must warn you as well, I am very new to the material, then can you direct me in the right direction.
推荐答案如果你想保持在MVC5你需要.NET 4.5。也许你可以创建一个新的MVC 4项目,而不是和迁移code以上,这不应该是太麻烦了,但你应该检查的区别是什么第一和适应是必要的。
If you want to keep it at MVC5 you will need .NET 4.5. You could perhaps create a new MVC 4 project instead and migrate the code over, which should not be too much trouble but you should check out what the differences are first and accommodate as necessary.
试试这个答案的一些指针:
Try this answer for some pointers:
stackoverflow/a/17340396/1559978
更多推荐
更改MVC 5和.NET目标framwork
发布评论