Bug 315920 (MONO64689) - [regression] mcs can no longer compile IKVM
Summary: [regression] mcs can no longer compile IKVM
Status: RESOLVED FIXED
Alias: MONO64689
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Marek Safar
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-31 00:02 UTC by Zoltan Varga
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:52:27 UTC


---- Reported by vargaz@freemail.hu 2004-08-30 17:02:17 MST ----

mcs can no longer compile the latest ikvm snapshot:

http://www.frijters.net/ikvm.zip

To reproduce:
- download the package
- go to ikvm/runtime
- mcs /target:library /r:System.Xml -unsafe *.cs

Expected results: success
Actual results:

remapper.cs(770) error CS0246: Could not find attribute 'XmlAttribute' (are
youmissing a using directive or an assembly reference ?)
remapper.cs(875) error CS0246: Could not find attribute 'XmlAttribute' (are
youmissing a using directive or an assembly reference ?)
remapper.cs(887) error CS0246: Could not find attribute 'XmlElement' (are
you missing a using directive or an assembly reference ?)
remapper.cs(873) error CS0246: Could not find attribute 'XmlAttribute' (are
youmissing a using directive or an assembly reference ?)
remapper.cs(839) error CS0246: Could not find attribute 'XmlAttribute' (are
youmissing a using directive or an assembly reference ?)
remapper.cs(883) error CS0246: Could not find attribute 'XmlElement' (are
you missing a using directive or an assembly reference ?)
...

I tracked this down to the following patch:

http://lists.ximian.com/archives/public/mono-patches/2004-August/045340.html

In particular, this line:

-				if (a.ResolveType (ec, false) == t)
+				if (a.ResolveType (ec, complain) == t)


Unknown operating system unknown. Setting to default OS "Other".