C# (Sharp) Programming Language Question:

Download Job Interview Questions and Answers PDF

So lets say I have an application that uses MyApp.dll assembly ...

C# (Sharp) Programming Language Interview Question
C# (Sharp) Programming Language Interview Question

Answer:

So let’s say I have an application that uses MyApp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name MyApp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new MyApp.dll?


Use publisher policy. To configure a publisher policy, use the publisher policy configuration file, which uses a format similar app .config file. But unlike the app .config file, a publisher policy file needs to be compiled into an assembly and placed in the GAC.

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
Can you have two files with the same file name in GAC?What is delay signing?