c# unit-test with signed-assemblies
===

I have a problem with a created unit-test. I have 2 projects. One is the "real" project the other one is the unit-test-project. After i click on a method in the real-project and select "create unit tests". Then I got the code for the unit-test in the testproject. 

Now, after compiling i get the following error-message:

> Friend assembly reference 'ASSEMBLYNAME' is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.

Then I added a public-key to the InternalsVisibleTo-Declaration in the AssemblyInfo.cs of the real-project. But now i get a compile-error for each class in the real-project which is internal and sealed. The message is:

> 'CLASSNAME' is inaccessible due to its protection level

What can I do to fix this? Any ideas?