[Mono-dev] ASP.NET MVC 3 with Razor on Mono 2.10.1 ?
Quandary
quandary82 at hailmail.net
Sun May 1 12:52:21 EDT 2011
Thanks Robert, that helped somewhat.
Now, the following dll's are in the bin directory:
ls *.dll
MyProject.dll System.Web.Routing.dll
System.Web.Entity.dll System.Web.WebPages.Administration.dll
System.Web.Extensions.dll System.Web.WebPages.Deployment.dll
System.Web.Helpers.dll System.Web.WebPages.dll
System.Web.Mvc.dll System.Web.WebPages.Razor.dll
and now I get this error on http://localhost:8080 :
/Could not load type 'System.Web.WebPages.Razor.RazorBuildProvider'
from assembly 'System.Web.WebPages.Razor, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35'./
And if I switch to http://localhost:8080/Sandbox, I get this:
/Invalid IL code in System.Web.Handlers.ScriptModule:.ctor ():
method body is empty./
*Description: *HTTP 500. Error processing request.
*Stack Trace:*
System.InvalidProgramException: Invalid IL code in System.Web.Handlers.ScriptModule:.ctor (): method body is empty.
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
On 05/01/2011 01:09 AM, Robert Jordan wrote:
> On 30.04.2011 23:08, Quandary wrote:
>> Hi,
>>
>> I'm trying to get ASP.NET MVC3 with Razor to run on Linux.
>> I localcopied all necessary dll's
>> (
>> System.Web.Helpers.dll
>> System.Web.Mvc.dll
>> System.Web.Razor.dll
>> System.Web.WebPages.dll
>> )
> You need to copy more MS assemblies into your app's bin directory:
>
> System.Web.Mvc.dll
> System.Web.Razor.dll
> System.Web.WebPages.dll
> System.Web.WebPages.Deployment.dll
> System.Web.WebPages.Razor.dll
>
> Robert
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110501/b0cc7282/attachment-0001.html
More information about the Mono-devel-list
mailing list