How to get the MVC 3 or 4 template in MonoDevelop?

五迷三道 提交于 2019-12-10 19:08:39

问题


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

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