Suppose I have a .net assembly version 1.0 in GAC now i want to update the version to 2.0how can i do that. how can i update my previous version.

Questions by KIRANEC205

Showing Answers 1 - 5 of 5 Answers

balaji

  • Sep 29th, 2006
 

Hai,

I think because of versioning problem we have to create new assembly different version so that ur application automatically referes to updated assembly.

  Was this answer useful?  Yes

Manvendra

  • Oct 25th, 2006
 

Just migrate your project from 1.0 /1.1 to 2.0 compile it again. and assign it to GAC.

  Was this answer useful?  Yes

Raja

  • Nov 23rd, 2006
 

Hi,

Here, it comes the concept of publisher policy. If you assembly is updated to .. lets say 1.0 - 2.0 version then first we need to create one configuration file called publisher policy file. In this we will define the binding redirect element with old version and new version specified. Use al(assembly linker) tool to configure that users should redirect to new version assembly. Ex.

al /assembly:<assembly name> /out:<policy filename>.dll /Keyfile:<snk file name>

The above mentioned "al" syntax might be wrong. please refer online.

- Raj

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions