Click here to Skip to main content
15,898,538 members
Home / Discussions / C#
   

C#

 
GeneralLooking for a free FTP class library for .NET Pin
gicio15-Dec-02 5:49
gicio15-Dec-02 5:49 
GeneralRe: Looking for a free FTP class library for .NET Pin
leppie15-Dec-02 6:14
leppie15-Dec-02 6:14 
GeneralDebugger anomaly Pin
Paul Silvernail15-Dec-02 5:25
Paul Silvernail15-Dec-02 5:25 
GeneralRe: Debugger anomaly Pin
leppie15-Dec-02 5:34
leppie15-Dec-02 5:34 
GeneralRe: Debugger anomaly Pin
Paul Silvernail15-Dec-02 5:53
Paul Silvernail15-Dec-02 5:53 
GeneralRe: Debugger anomaly Pin
leppie15-Dec-02 6:12
leppie15-Dec-02 6:12 
Questioncaspol.exe and sn.exe realted? Pin
imran_rafique15-Dec-02 2:28
imran_rafique15-Dec-02 2:28 
AnswerRe: caspol.exe and sn.exe realted? Pin
James T. Johnson15-Dec-02 2:49
James T. Johnson15-Dec-02 2:49 
First get to the same directory your source code is located in then use the sn tool like so sn -k mykey.snk

Now find the AssemblyInfo.cs or .h/.cpp file and find where it says

In C#:
[assembly:KeyFile("")]

In C++:
[assembly:KeyFileAttribute("")]

Change the values of each to point to the mykey.snk file.

In C#:
[assembly:KeyFile(@"..\..\mykey.snk")]

In C++:
[assembly:KeyFileAttribute("mykey.snk")]

Now you should have a strongly named assembly. The down side is that you need to do this to all assemblies your code references (excluding the ones that come with .NET).

Good Luck,

James

"The elastic retreat rings the close of play as the last wave uncovers
the newfangled way.
But your new shoes are worn at the heels and
your suntan does rapidly peel and
your wise men don't know how it feels to be thick as a brick."
"Thick as a Brick" from Thick as a Brick, Jethro Tull 1972

GeneralRe: caspol.exe and sn.exe realted? Pin
imran_rafique15-Dec-02 9:44
imran_rafique15-Dec-02 9:44 
GeneralRe: caspol.exe and sn.exe realted? Pin
James T. Johnson15-Dec-02 12:30
James T. Johnson15-Dec-02 12:30 
GeneralProblem with Image saving Pin
Smitha Nishant14-Dec-02 19:21
protectorSmitha Nishant14-Dec-02 19:21 
GeneralRe: Problem with Image saving Pin
leppie14-Dec-02 19:31
leppie14-Dec-02 19:31 
GeneralRe: Problem with Image saving Pin
Smitha Nishant14-Dec-02 19:46
protectorSmitha Nishant14-Dec-02 19:46 
GeneralRe: Problem with Image saving Pin
Smitha Nishant14-Dec-02 21:30
protectorSmitha Nishant14-Dec-02 21:30 
GeneralWeb Controls vs HTML controls Pin
JoeMcK14-Dec-02 15:14
JoeMcK14-Dec-02 15:14 
GeneralRe: Web Controls vs HTML controls Pin
leppie14-Dec-02 20:47
leppie14-Dec-02 20:47 
GeneralRe: Web Controls vs HTML controls Pin
JoeMcK15-Dec-02 9:18
JoeMcK15-Dec-02 9:18 
QuestionWhat kind of control should I use? Pin
Paul Silvernail14-Dec-02 12:40
Paul Silvernail14-Dec-02 12:40 
AnswerRe: What kind of control should I use? Pin
leppie14-Dec-02 12:51
leppie14-Dec-02 12:51 
Questionhow can i encrypt a hole folder? instead of 1 file at a time. Pin
jtmtv1814-Dec-02 11:28
jtmtv1814-Dec-02 11:28 
AnswerRe: how can i encrypt a hole folder? instead of 1 file at a time. Pin
leppie14-Dec-02 11:51
leppie14-Dec-02 11:51 
GeneralRe: how can i encrypt a hole folder? instead of 1 file at a time. Pin
jtmtv1814-Dec-02 12:00
jtmtv1814-Dec-02 12:00 
GeneralRe: how can i encrypt a hole folder? instead of 1 file at a time. Pin
leppie14-Dec-02 12:54
leppie14-Dec-02 12:54 
Questionmouse is busy or not? Pin
imran_rafique14-Dec-02 10:20
imran_rafique14-Dec-02 10:20 
AnswerRe: mouse is busy or not? Pin
Burt Harris15-Dec-02 8:50
Burt Harris15-Dec-02 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.