问题
Just started to play around with Mono and MonoDevelop on Archlinux and I can with no problem create a new ASP.NET MVC 2 project and run it. But I can't figure out how could I create an MVC 3 or 4 project. I read on a forum that there is MVC 3 project template in MonoDevelop, but it has some dependencies in order to show it in the New Solution.. dialog. So my question is: How can I get the MVC 3 or 4 solution template on when I run MonoDevelop on Linux?
回答1:
To get the the MVC 3 template to show up you need to install Mono version 2.11.3 or higher. In Archlinux you can do that by installing the mono-git from AUR repository.
回答2:
The Asp.Net MVC templates tweaked for mono are here: https://www.cafe-encounter.net/p1510/asp-net-mvc4-net-framework-version-4-5-c-razor-template-for-mono-on-mac-and-linux
where “tweaked” means, e.g. fixing case-sensitive filename issues.
来源:https://stackoverflow.com/questions/12530010/how-to-get-the-mvc-3-or-4-template-in-monodevelop