[Mono-bugs] [Bug 426757] gmcs cannot find extension methods in referenced assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 26 13:48:26 EST 2008


User waldmann at imn.htwk-leipzig.de added comment

Johannes Waldmann <waldmann at imn.htwk-leipzig.de> changed:

           What    |Removed                                         |Added
                 CC|                                                |waldmann at imn.htwk-leipzig.de

--- Comment #2 from Johannes Waldmann <waldmann at imn.htwk-leipzig.de>  2008-12-26 11:48:25 MST ---
I think I am running in the same bug.
I can't access the extensions methods for IEnumerable<T>
that are defined in System.Linq, e.g. ToArray(), Skip()
when compiling from monodevelop (SVN version).
It works fine with gmcs on the command line.

I found that monodevelop adds the switch "/noconfig"
when calling gmcs, and that seems to be the reason for the error.
(When adding this on the command line, I get the same error.)

I don't see where this switch could be disabled. It seems hardcoded in 

gmcs --help says the switch is to
"Disable implicit references to assemblies",
so what is the explicit reference that should be given here?

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list