After you create the key file, you leave it where it is.
You then open the AssemblyInfo.vb/cs file and add the
AssemblyKeyFileAttribute.
Since this file is compiled into your project (AssemblyInfo.vb/cs), your
assembly will now have an association to the strong name in the .snk file.
The assembly could now be placed into the GAC if desired.
"Tackie" <ta****@msdn.com> wrote in message
news:eN**************@tk2msftngp13.phx.gbl...
1. After I use "sn -k MyKey1.snk" the snk file is created.
2. I then goto my solution and add an existing item.
3. Select the key file I just created
4. It is added to my solution
5. when I click it to edit the assembly data the file opens as a garbage
text file within .Net
I'm I missing something here? The key file when created also does not
have the "key/lock" icon in explorer.
Thanks for any help.