Assembly key file vs. key NAME?

  • Thread starter Thread starter Jon Davis
  • Start date Start date
J

Jon Davis

I'm strong-naming my nice big project now, never done this before...

I understand (I think) that for creating a strong name key file, the
assembly key file would be @"\..\..\myAssembly.snk"

What's the key NAME all about?

And why does the AssemblyInfo file have

[assembly: AssemblyDelaySign(true/false)]
[assembly: AssemblyKeyFile("...")]
[assembly: AssemblyKeyName("...")]

... but the documentation says to use ..

[assembly:AssemblyKeyFileAttribute("...")]

?

Thanks,
Jon
 
Jon,
I understand (I think) that for creating a strong name key file, the
assembly key file would be @"\..\..\myAssembly.snk"

What's the key NAME all about?

It's used if you have a named key stored in a key container. If you
don't know what that is, you probably don't have it. :-)

You use either AssemblyKeyFile or AssemblyKeyName, not both.



Mattias
 
You use either AssemblyKeyFile or AssemblyKeyName, not both.

Ah! So then I leave it there as blank?

Jon
 
Back
Top