aspdotnet_website_programming thread: Unable to create the SNK file
Message #1 by "Tim Muska" <tim_muska@h...> on Mon, 6 Jan 2003 22:22:30
|
|
I?m in chapter 2 on page 33 and I?m trying to create a SNK file.
>sn -k KeyFile.snk
Command "sn" is not valid.
I followed the instruction exactly and I?m unable to create this file.
Message #2 by "michael knight" <knightm@c...> on Wed, 8 Jan 2003 15:53:37
|
|
> I?m in chapter 2 on page 33 and I?m trying to create a SNK file.
> >sn -k KeyFile.snk
C> ommand "sn" is not valid.
> I followed the instruction exactly and I?m unable to create this file.
<b>**THE COMMAND IS CASE SENSATIVE.**<b>
The Strong Name command-line tool (sn.exe) can be used to generate a new
public-private key pair and to write that pair to a file which could be
then used to create the assembly:
sn -k Thekey.snk
This utility could be found in the .NET Framework's Bin folder C:\Program
Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin (on my computer)
<b>The Easy Way<b>:
Note: You could also run a .NET Command Window by selecting Start ->
Programs -> Microsoft Visual Studio .NET -> Visual Studio .NET Tools >-
Visual Studio .NET Command Prompt, which sets all of the required paths
for you.
Message #3 by "Tim Muska" <tim_muska@h...> on Thu, 9 Jan 2003 17:43:31
|
|
> > I?m in chapter 2 on page 33 and I?m trying to create a SNK file.
> > >sn -k KeyFile.snk
C> > ommand "sn" is not valid.
> > I followed the instruction exactly and I?m unable to create this file.
>
> <b>**THE COMMAND IS CASE SENSATIVE.**<b>
> The Strong Name command-line tool (sn.exe) can be used to generate a new
p> ublic-private key pair and to write that pair to a file which could be
t> hen used to create the assembly:
> sn -k Thekey.snk
> This utility could be found in the .NET Framework's Bin folder
C:\Program
F> iles\Microsoft Visual Studio .NET\FrameworkSDK\Bin (on my computer)
>
<> b>The Easy Way<b>:
N> ote: You could also run a .NET Command Window by selecting Start ->
P> rograms -> Microsoft Visual Studio .NET -> Visual Studio .NET Tools >-
V> isual Studio .NET Command Prompt, which sets all of the required paths
f> or you.
Message #4 by "Tim Muska" <tim_muska@h...> on Thu, 9 Jan 2003 17:46:57
|
|
Thanks Michael
I was trying to create the snk file in the Command Window within VS.Net.
I'm a newbie, Tim
|