c# - Mono System.InvalidProgramException Invalid IL code in System.Net.Http.Headers.MediaTypeHeaderValue:.ctor (string): method body is empty -
i trying run mvc4 web application on ubuntu 12.10. installed mono , can run very simple mvc project. whenever try run own application error :
system.invalidprogramexception invalid il code in system.net.http.headers.mediatypeheadervalue:.ctor (string): method body empty.
when type mono -v ; output below :
mono jit compiler version 4.0.3 ((no/d6946b4 tue aug 4 04:52:25 pdt 2015)
the version information seen on browser :
version information: 4.0.3 ((no/d6946b4 tue aug 4 04:52:25 pdt 2015); asp.net version: 4.0.30319.17020
i got error in xamarin cross platform program. ran in android simulator , crash in ios simulator added system.net , system.net.http again in ios section in solution explorer , worked well
Comments
Post a Comment