How do you instruct Mono to run the 4.0 profile for an ASP.Net MVC2 site? I'm using the
MonoServerPath "/usr/local/mono/2.8/bin/mod-mono-server4" directive but this doesn't seem to be enough. During startup I get: System.TypeLoadException: Could not load type 'System.Web.Routing.RouteCollection' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' I can't use this in the Web.config: <compilation debug="true" targetFramework="4.0"> because the targetFramework attribute is not recognized. I've also tried adding: <add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the <compilation><assemblies> collection of the Web.config but this doesn't seem to help either. Now if I manually copy the gac's 4.0 System.Web assembly into the site's bin then I can get a little further than the above stated error but other badness happens. Any ideas? Thanks. -Abe _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
