[Mono-list] mod_mono and ASP.NET MVC website with .NET 4.0 features

Tomi bosak.tomas at gmail.com
Fri Jul 30 11:16:21 EDT 2010


Hi folks,

I'm trying to run ASP.NET MVC 3.0 web application which requires .NET
4.0 features on Apache with mod_mono. When I deploy the basic website
on server and try to access it through browser I get the compilation
error (http://lists.ximian.com/pipermail/mono-list/2010-July/045551.html).
I think the problem is that the mod_mono is trying to compile it with
gmcs instead of dmcs because when I manually change assemblies from
version 2.0 to version 4.0 and use dmcs then I get no errors. Now I
would like to ask if there is a way to force mod_mono to use .NET 4.0
assemblies along with dmcs when the website is accessed and compiled
first time.


More information about the Mono-list mailing list