[Mono-winforms-list] Reference missing in makefile?

f.fankhauser@gmx.at f.fankhauser@gmx.at
Sun, 1 Jun 2003 15:10:32 +0200


Hi!
Today i build mono + mcs for the first time and i had 1 Problem, when building 
the class library (Compiler output at the end of the mail). I solved the 
problem local by adding a reference to System.Xml in the makefile.gnu in 
...mcs/class/System.Windows.Forms/. Maybe this mail is helpful.

Greetings,
Flo

Compiler Output:
MONO_PATH=../../class/lib: mono ../../mcs/mcs.exe --target library --noconfig  
-o ../../class/lib/System.Windows.Forms.dll --unsafe -r corlib -r System -r 
System.Drawing -r Accessibility /nowarn:0114 /nowarn:0108 @.response
System.Resources/ResXResourceReader.cs(23) error CS0246: Cannot find type 
`XmlTextReader'
System.Resources/ResXResourceReader.cs(64) error CS0246: Cannot find type 
`XmlTextReader'
System.Resources/ResXResourceReader.cs(79) error CS0246: Cannot find type 
`XmlTextReader'
System.Resources/ResXResourceReader.cs(16) error CS0246: The namespace 
`System.Xml' can not be found (missing assembly reference?)
Compilation failed: 4 error(s), 0 warnings
make[3]: *** [../../class/lib/System.Windows.Forms.dll] Fehler 1
make[3]: Leaving directory 
`/home/knoppix/devel/mono/mcs/class/System.Windows.Forms'
make[2]: *** [all] Fehler 1
make[2]: Leaving directory `/home/knoppix/devel/mono/mcs/class'
make[1]: *** [all] Fehler 1