Amar
Amar

Reputation: 441

C# use updated dll in Client System

I am new in C#.

I have created a small windows application with a reference to a my other project dll file that is included in the setup file. I have forwarded the setup to the client. Now I have few changes in my other project dll.

How do I update this Dll in Client System or How Do I create the patch for the my application with new DLL?

Please help?

NOTE:- I have use Standard Setup Project to create the Setup File.

Upvotes: 0

Views: 164

Answers (1)

Mrinal Kamboj
Mrinal Kamboj

Reputation: 11480

There are two ways, I can think of immediately:

  1. If you have access to client system, just replace the new dll in the physical load path, assuming this is not a GAC dll and the new dll will get loaded at the runtime

  2. If the assembly is installed in GAC then use something like this in the App.config:

    <dependentAssembly>
    <assemblyIdentity name="Microsoft.WindowsAzure.ServiceRuntime" publicKeyToken="31bf3856ad364e35"      
     culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-2.5.0.0" newVersion="2.5.0.0" />
    

Upvotes: 2

Related Questions