Jan 17
Cannot create a key.snk file with sn.exe
Uncategorized Add comments
I’m exploring creation of Package in Visual Studio 2005 and I was not able to build a dummy project. After different tries, the problem was due to the empty key.snk file. I then tried to create on using the command line:
C:\>sn -k key.sn
Unfortunately I get the following error:
Microsoft (R) .NET Framework Strong Name Utility Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
Failed to generate a strong name key pair — Access is denied.
Finaly ‘google’ helped me : solution is there. Thanks to Aaron for this useful tip. More over, I confirm that now if I create a new dummy project …visual no more create an empty key.snk file.