[Mono-list] Fw: Problem compiling NAnt with Mono Profile 1.0

Ryan Boggs rmboggs at gmail.com
Tue Apr 27 19:58:00 EDT 2010


I'm forwarding this email on behalf of Charles Chan (his email didn't
go through last night).  We are trying to work out some of the bugs in
NAnt and we seem to have run into a bit of an odd issue.  Please see
Charles original email below for additional information.


> From: Charles Chan <cchan_qa at yahoo.com>
> Subject: Problem compiling NAnt with Mono Profile 1.0
> To: mono-list at lists.ximian.com
> Received: Tuesday, April 27, 2010, 4:40 AM
> Hello,
> I am one of the developers from the NAnt project. For those
> of you who are following, we are trying to release NAnt 0.90
> RC soon. One of the important tasks was to fix compatibility
> across different compilers and framework versions.
> We are compiling our code on teamcity.codebetter.com. The
> code compiling now, but I am stumbled by one of the test
> cases failing when using Mono Porfile 1.0. The error shown
> is:
> >> The imported type
> `System.Xml.Schema.XmlSchemaType' is defined multiple times
> >> (0,0) : error : C:\Program Files
> (x86)\Mono-2.6.1\lib\mono\2.0\System.Xml.dll (Location of
> the symbol related to previous error)
> >> (0,0) : error : C:\Program Files
> (x86)\Mono-2.6.1\lib\mono\1.0\System.Xml.dll (Location of
> the symbol related to previous error)
> Build log and the problematic code:
> http://teamcity.codebetter.com/viewLog.html?buildId=11745&tab=buildLog&buildTypeId=bt163
> In comparison, when using Mono Profile 2.0, the same test
> cases works. (It still fails, but seems to be another issue
> and is consistent with .NET 2.0). Here is the full project
> overview.
> http://teamcity.codebetter.com/project.html?projectId=project69&tab=projectOverview
> Can anyone offer some help? The problem appears to be
> caused by Mono finding System.Xml.dll in mono\1.0 and
> mono\2.0. What can I do to fix this?

More information about the Mono-list mailing list