InternalsVisibleTo attribute ain't workin'!

Posted by skb on Stack Overflow See other posts from Stack Overflow or by skb
Published on 2008-09-20T02:59:22Z Indexed on 2010/05/10 1:28 UTC
Read the original article Hit count: 315

I am trying to use the InternalsVisibleTo assembly attribute to make my internal classes in a .NET class library visible to my unit test project. For some reason, I keep getting an error message that says:

'MyClassName' is inaccessible due to its protection level

Both assemblies are signed and I have the correct key listed in the attribute declaration. Any ideas?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about attributes