[Mono-list] InternalsVisibleTo - how to use

Robert Jordan robertj at gmx.net
Tue Apr 6 12:49:25 EDT 2010

On 06.04.2010 18:39, Abe Gillespie wrote:
> What do I need to do to allow the InternalsVisibleTo attribute to work for a
> testing project within MonoDevelop.  (If this is a MD-specific question then
> I'm happy to take the discussion there.)

Add this attribute to the assembly whose internals should
be exposed:

[assembly: InternalsVisibleTo("Assembly.Name.Of.Your.Test.Assembly")]

If your test assembly is called "Test.dll", the assembly name would
be "Test".

MonoDevelop isn't even involved here.


More information about the Mono-list mailing list