Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
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/188.8.131.52__b03f5f7f11d50a3a/Microsoft.CSharp.dll" /r:"/opt/mono-2.10/lib/mono/gac/System/184.108.40.206__b77a5c561934e089/System.dll" /r:"/opt/mono-2.10/lib/mono/gac/System.Configuration/220.127.116.11__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=18.104.22.168, 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