[Mono-aspnet-list] ASP.NET MVC 3 under Windows with MonoDevelop

Tanguy Krotoff tkrotoff at gmail.com
Fri Apr 8 12:30:21 EDT 2011

Hi all,

I've managed to execute the ASP.NET MVC template that you provide with
MonoDevelop under Windows using ASP.NET MVC 3.

Here the steps:

* Install Mono (tested with 2.10.1), MonoDevelop (tested with 2.6 beta
1) and friends

* Install ASP.NET MVC 3 from Microsoft http://www.asp.net/mvc/mvc3

* Create a new solution "ASP.NET MVC Project" inside MonoDevelop

* Inside this new project, change "runtime version" to "Mono / .NET
4.0" instead of the default one which is "Mono / .NET 3.5"

* Copy-paste into the bin directory of the MVC project the following
dlls given with Microsoft ASP.NET MVC 3 (check C:\Program
Files\Microsoft ASP.NET)

(source: http://www.hanselman.com/blog/default.aspx?page=11)

* Edit the assembly references of the project and add
System.Web.Mvc.dll from the bin directory

* Edit Web.Config and change every "System.Web.Mvc, Version="
to "System.Web.Mvc, Version="

* Run the project and enjoy the "Welcome to ASP.NET MVC on Mono!"
inside your web browser

I guess a template for ASP.NET MVC 3 might be a nice thing to add to
MonoDevelop + some explanations about Mono and ASP.NET MVC 3

More information about the Mono-aspnet-list mailing list