[Mono-list] Trouble building with Microsoft dlls

Steve Lessard s_lessard at yahoo.com
Wed May 25 21:25:08 EDT 2011

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 <doal.miller at mir3.com>
To: mono-list at lists.ximian.com
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  -  Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110525/b8c540f8/attachment.html 

More information about the Mono-list mailing list