this is related to https://bugzilla.novell.com/show_bug.cgi?id=672969
The test case from that bug now works fine in Mono 2.10.6.
When you use the same test case, but add the simple line
ComboBox c = new ComboBox();
to the Page_Load method in test.aspx.cs
then you get the same compiler error again. I tested it with Mono 2.10.6.
I tried to debug the mcs/mcs/Import.cs file, but got lost :-)
The error happens in CreateGenericParameters (MetaType type, TypeSpec declaringType), declaringType is Ext.Net.ComboBoxBase<T>
Thanks for looking into this!
Already fixed in master
I am able to confirm that it is fixed in master.
May I ask which commit did fix this issue?
I might need to apply the fix to the 2.10 branch, since I have problems with fastcgi in master at the moment (see #2876).
It wasn't single fix, master mcs has different internals but you should be able to grab master mcs.exe and use it with 2.10
Thanks for the quick reply!
I only found one mcs.exe in the build of my master, and have copied that:
cp /opt/mono-master/lib/mono/4.5/mcs.exe /opt/mono-2.10/lib/mono/4.0/dmcs.exe
but then I get these error messages:
dmcs /target:library /lib:"/usr/local/openpetraorg/YourOrganisation/webserver/bin" /debug+ /optimize- /warn:4 /out:"../tmp/App_Web_79cd229d.dll" /r:"/opt/mono-2.10/lib/mono/4.0/mscorlib.dll" /r:"/opt/mono-2.10/lib/mono/gac/Microsoft.CSharp/126.96.36.199__b03f5f7f11d50a3a/Microsoft.CSharp.dll" /r:"/opt/mono-2.10/lib/mono/gac/System/188.8.131.52__b77a5c561934e089/System.dll" /r:"/opt/mono-2.10/lib/mono/gac/System.Configuration/184.108.40.206__b03f5f7f11d50a3a/System.Configuration.dll"
/nowarn:0169 /d:DEBUG -- "../tmp/App_Web_79cd229d_0.cs" "../tmp/App_Web_79cd229d_1.cs" "../tmp/App_Web_79cd229d_2.cs"
warning CS8001: SDK path could not be resolved
../tmp/App_Web_79cd229d_0.cs(33,86): error CS0012: The type `System.ComponentModel.IComponent' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089'
So I guess just too much has changed since 2.10?
Or is there an easy way to point to the right SDK path again?
yes, there has been some other changes all over mono sources code