[MonoDevelop] ASP.NET MVC2 on MonoDevelop

jmalcolm malcolm.justin at gmail.com
Wed Mar 17 12:27:29 EDT 2010


To get MVC2 working today you need to build mono 2.7 from trunk.  That is
really the main thing.  You should be able to use any version of MonoDevelop
that supports MVC1 projects I think.  There was a pretty big update to
MonoDevelop trunk this morning so you may choose not to go bleeding edge on
MonoDevelop.

Simply go to New Solution and choose ASP.NET MVC as the project type.  In
the resulting project, modify the following:

- In References, remove System.Web.Mvc 1.0.0.0 and add
System.Web.Mvc.2.0.0.0 (thanks Marek!)
- In the project Web.config change all the MVC references to 1.0.0.0 to
2.0.0.0
- Do the same as above to the Web.config under Views

That's it.  Simply build and run.  Easy as pie.

The real MonoDevelop templates might do more when they come but so far so
good for now.
-- 
View this message in context: http://n4.nabble.com/ASP-NET-MVC2-on-MonoDevelop-tp1595299p1596715.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list