In the output of pedump for that assembly what is in the "Metadata header" 
section? Is it "Version string: v2.0.50727" or "Version string: v4.0.30319"?

If it's the latter then you'll need to either upgrade your version of Mono or 
downgrade your version of System.Web.Extensions.dll.




________________________________
From: doal <[email protected]>
To: [email protected]
Sent: Wednesday, May 25, 2011 10:32 AM
Subject: Re: [Mono-list] Trouble building with Microsoft dlls

The 3 dlls that I'm trying to build with (Microsoft.Exchange.Data.Common.dll 
lib/Microsoft.Exchange.Data.Transport.dll  lib/System.Web.Extensions.dll)
have the following flags according to pedump:

Flags: ilonly, 32/64, trackdebug, strongnamesigned

The ilonly flag means it is pure MSIL and the 32/64 means it is platform
independent so sounds to me like it should work.

It tuns out the only one that is causing a problem is
System.Web.Extensions.dll. That is the one in the error message and if I
remove it (I'm only using it to do some JSON serialization and
deserialization) then I can build. However, I really want to use it. 

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Trouble-building-with-Microsoft-dlls-tp3548648p3550457.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to