Trying to get MVC running on Mono 2.4 (which is possible, according to some threads here) without much luck. I can't get past this:
Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Compiler Error Message: : ** (/usr/local/lib/mono/2.0/gmcs.exe:5232): WARNING **: The class System.Web.Management.WebRequestErrorEvent could not be loaded, used in System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
~/Global.asax
Show Detailed Compiler Output: //etc
I've added System.Web.dll (and literally every reference in the project) to the bin folder - still no go.
Any ideas?
LINKS:
Miguel de Icaza saying it's possible: Twitter SO 1 SO 2
You shouldn't need to compile MVC (or Mono), but you will need at Mono 2.4, which is available on the Mono download site.
The only DLL you need is the System.Web.Mvc.dll. The easiest way to handle this in VS would be to set "Copy Local" to true for that assembly. Don't copy local any of the other System.* references.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With