G
Guest
Hi.
I've strong-named an application using the 'Signing' option in project
properties. Four friend assemblies exist in AssemblyInfo.cs, and look like
this:
[assembly:
InternalsVisibleTo("Microsoft.Practices.EnterpriseLibrary.Logging.Tests")]
After strong-naming the application my friend references are giving the error:
"Friend assembly reference
Microsoft.Practices.EnterpriseLibrary.Logging.Tests is invalid. Strong-name
signed assemblies must specify a public key in their InternalsVisibleTo
declarations."
I understand that I must specify the PublicKey value in the
InternalsVisibleTo declaration. What I DON'T know is how to acquire this.
How to I get the PublicKey value? I've tried running the command "sn -tp
...." from the Visual Studio 2005 Command prompt, but it says it can't find
the file.
How do I get this PublicKey value?
Thanks!
I've strong-named an application using the 'Signing' option in project
properties. Four friend assemblies exist in AssemblyInfo.cs, and look like
this:
[assembly:
InternalsVisibleTo("Microsoft.Practices.EnterpriseLibrary.Logging.Tests")]
After strong-naming the application my friend references are giving the error:
"Friend assembly reference
Microsoft.Practices.EnterpriseLibrary.Logging.Tests is invalid. Strong-name
signed assemblies must specify a public key in their InternalsVisibleTo
declarations."
I understand that I must specify the PublicKey value in the
InternalsVisibleTo declaration. What I DON'T know is how to acquire this.
How to I get the PublicKey value? I've tried running the command "sn -tp
...." from the Visual Studio 2005 Command prompt, but it says it can't find
the file.
How do I get this PublicKey value?
Thanks!