[Mono-list] Extension Methods in Referenced Assemblies

Jb Evain jb at nurv.fr
Tue Sep 16 15:04:57 EDT 2008


On 9/16/08, Bryan Murphy <bmurphy1976 at gmail.com> wrote:
> I'm having a problem with extension methods in referenced assemblies.  If I
> define a set of extension methods in my local assembly, they work fine.  If
> I define them in an external assembly, and then reference that assembly, my
> project no longer compiles and mcs can't find them.  The exact same code
> compiles in Visual Studio 2008 on windows without a problem.
> Any idea what I'm doing wrong?

You have to use gmcs, not mcs.

If you're already using it, could you please file a bug with a test case?


Jb Evain  <jb at nurv.fr>

More information about the Mono-list mailing list