GeekInterview.com
Series: Subject: Topic:
Question: 35 of 95

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

Asked by: KIRANEC205 | Member Since Aug-2006 | Asked on: Sep 4th, 2006

View all questions by KIRANEC205

Showing Answers 1 - 3 of 3 Answers
balaji

Answered On : 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.

  
Login to rate this answer.
Manvendra

Answered On : Oct 25th, 2006

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

  
Login to rate this answer.
Raja

Answered On : 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: /out:.dll /Keyfile:<snk file name>

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

- Raj

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.