|
Subject:
|
Page 33 Creating digital signature
|
|
Posted By:
|
bmiller28
|
Post Date:
|
6/6/2003 12:41:25 PM
|
|
Using the command window in VS.Net attempting to create a digital signature file it recommends typing the command SN -K ThePhile.SNK to create the digital signature file. I get back "Command "SN" is not valid." What might I be doing wrong?
|
|
Reply By:
|
dikkjo
|
Reply Date:
|
6/6/2003 5:59:46 PM
|
I think that you should use the VS.NET Command Prompt in the VS.NET Tools and not the command window in the VS application...
|
|
Reply By:
|
bmiller28
|
Reply Date:
|
6/9/2003 9:13:29 AM
|
Thanks dikkjo, I appreciate the help, as some of this material is very new to me.
|
|
Reply By:
|
charul_shukla
|
Reply Date:
|
6/14/2003 8:41:11 AM
|
Hi Bmiller
There is one more thing u should take care about while using the SN from the VS.NET command Prompt. Instead of as listed in the book SN -K, you should use SN -k. As you can notice the lowercase of -k parameter.
This is also listed in the errata section of the book on wrox.com under the following URL
http://wrox.com/books/errata/0764543776_errata.shtml
|
|
Reply By:
|
allenracho
|
Reply Date:
|
6/16/2003 10:03:12 AM
|
I myself have never gotten SN or sn to work in the VS command line... don't matter though. I have generated a strong name (key) successfully using sn.exe directly. It's located here, assuming drive C:
C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>
If you run it from here, you'll do just fine.
Allen
|
|
Reply By:
|
bmiller28
|
Reply Date:
|
6/21/2003 10:11:18 PM
|
Thanks I've got it now. I appreciate everyone's time and help with this.
|
|
Reply By:
|
FT
|
Reply Date:
|
11/12/2005 12:09:46 PM
|
Hi All I am trying to make a new web-application and I get this error in the comand promt
SN -k VRS.SNK Command "SN" is not valid
can anyone help me?
|
|
Reply By:
|
englere
|
Reply Date:
|
11/12/2005 2:01:30 PM
|
Did you read the other messages in this thread? You need to use the Visual Studio Command Prompt.
Or you can just drill down on your folders to locate sn.exe - or you can search for it with Windows explorer.
By the way, most newbies to ASP.NET probably will not have any reason to use a strong name key. This is possible to use, but provides you with no real benefit unless you have to install an assembly in the GAC. And most websites do not use the GAC.
Eric
|