Can XSP run ASP.NET 4.5?

…衆ロ難τιáo~ 提交于 2019-11-29 10:53:17

You can instruct mono to launch a particular runtime version with the --runtime flag. In this case, it would be this way:

#!/bin/sh
exec /usr/bin/mono $MONO_OPTIONS --runtime=v4.5 "/usr/lib/mono/4.5/xsp4.exe" "$@"

However, as far as I understand, the 4.5 profile of .NET doesn't include changes in the runtime, but in the class libraries and compilers. So if the above doesn't work, it simply means that the version of the runtime that one needs to use to run a 4.5 application is simply the 4.0.30319 version.

The best way to understand this is to include this little image diagram grabbed from a Scott Hanselman's blog post:

The only chance you can run MVC is to install mono 3.4.0. mono 3.2.7 won't work for MVC5

I had followed this with mono 3.4.0 and successfully set up a very simple MVC5 under MonoDevelop,

http://curtis.schlak.com/2014/02/04/setup-asp-net-mvc-4-on-monodevelop-4.2.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!