Click here to Skip to main content
15,889,909 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: .Net and Windows NT 4.0 Pin
Mike Dimmick27-Oct-05 2:07
Mike Dimmick27-Oct-05 2:07 
AnswerRe: .Net and Windows NT 4.0 Pin
André Ziegler27-Oct-05 2:09
André Ziegler27-Oct-05 2:09 
AnswerRe: .Net and Windows NT 4.0 Pin
Kevin McFarlane27-Oct-05 9:32
Kevin McFarlane27-Oct-05 9:32 
QuestionImport CSV file using .NET Pin
vandan_desai27-Oct-05 0:47
vandan_desai27-Oct-05 0:47 
AnswerRe: Import CSV file using .NET Pin
Robert Rohde29-Oct-05 22:53
Robert Rohde29-Oct-05 22:53 
QuestionReplacing a .NET Dll Pin
PeteConc26-Oct-05 23:10
PeteConc26-Oct-05 23:10 
AnswerRe: Replacing a .NET Dll Pin
Mike Dimmick27-Oct-05 2:21
Mike Dimmick27-Oct-05 2:21 
GeneralRe: Replacing a .NET Dll Pin
PeteConc27-Oct-05 2:55
PeteConc27-Oct-05 2:55 
Hi. Thanks very much for your advice.
I will describe the steps of what I did in more detail:

1- Compiled the Dll with a strong name key file, and version set to '1.0.*' (what happens here is that the version number changes everytime I compile)

2- Copied the Dll to 'c:\Components\MyComponent.dll'

3- Registered the 'MyComponent.dll' in the GAC

4- In the Client project I added a reference to 'c:\Components\MyComponent.dll'

5- Compiled the Client project and copied it to 'c:\Programs\MyProgram.exe'

(At this point all things work properly. A few days later I needed to do some changes in the Dll component)

6- I changed some lines of code in a method of the Dll project, then recompiled it (thus generating a new version number) with the same strong name key file.

7- Removed the old Dll from the GAC and deleted the file 'c:\Components\MyComponent.dll'.

8- Copied the updated Dll to 'c:\Components\MyComponent.dll' and registered it in the GAC.

(Now, from this point the client program at 'c:\Programs\MyProgram.exe' stopped working, saying it doesn't find the component.)

This component is to be shared between different applications, and I decided to put it in the GAC so I wouldn't have to copy it to all the applications directories everytime there is a change in the component.

I expected it was enough to just update the Dll from the 'c:\Components' directory and the changes would reflect to all applications that use it.

Am I missing something here?


GeneralRe: Replacing a .NET Dll Pin
Mike Dimmick27-Oct-05 8:27
Mike Dimmick27-Oct-05 8:27 
Questionencoding/decoding prob Pin
toto567826-Oct-05 0:31
toto567826-Oct-05 0:31 
AnswerRe: encoding/decoding prob Pin
Farhan Noor Qureshi26-Oct-05 18:28
Farhan Noor Qureshi26-Oct-05 18:28 
GeneralRe: encoding/decoding prob Pin
toto567826-Oct-05 20:36
toto567826-Oct-05 20:36 
GeneralRe: encoding/decoding prob Pin
Farhan Noor Qureshi27-Oct-05 6:55
Farhan Noor Qureshi27-Oct-05 6:55 
GeneralRe: encoding/decoding prob Pin
toto567827-Oct-05 23:01
toto567827-Oct-05 23:01 
Question'DragDrop', 'throw' and 'Application.ThreadException' Pin
__alex25-Oct-05 22:55
__alex25-Oct-05 22:55 
AnswerRe: 'DragDrop', 'throw' and 'Application.ThreadException' Pin
Daniel Grunwald27-Oct-05 5:00
Daniel Grunwald27-Oct-05 5:00 
GeneralRe: 'DragDrop', 'throw' and 'Application.ThreadException' Pin
__alex27-Oct-05 5:15
__alex27-Oct-05 5:15 
QuestionConverting old C library into .NET Pin
wgaiw25-Oct-05 5:03
wgaiw25-Oct-05 5:03 
AnswerRe: Converting old C library into .NET Pin
Christian Graus25-Oct-05 15:55
protectorChristian Graus25-Oct-05 15:55 
QuestionRe: Converting old C library into .NET Pin
wgaiw26-Oct-05 11:35
wgaiw26-Oct-05 11:35 
AnswerRe: Converting old C library into .NET Pin
Christian Graus26-Oct-05 11:38
protectorChristian Graus26-Oct-05 11:38 
Questiondisco Pin
tekken2224-Oct-05 9:26
tekken2224-Oct-05 9:26 
QuestionIlease and ISponsor why need for both ? Pin
tekken2224-Oct-05 8:58
tekken2224-Oct-05 8:58 
QuestionCall COM+ services on other machines with my local .NET framework Pin
olmo24-Oct-05 8:20
olmo24-Oct-05 8:20 
QuestionRemote debugging : Windows form apps Pin
Md Saleem Navalur24-Oct-05 0:39
Md Saleem Navalur24-Oct-05 0:39 

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.