Solved

Which of the following should you perform to quickly install your updated assembly?

Posted on 2006-11-06
4
1,006 Views
Last Modified: 2009-07-29
Shortly after releasing a new Windows service, you discovered that there is a calculation error in a shared assembly the application uses. You corrected the error and are ready to install the new assembly on the client computers. Which of the following should you perform to quickly install your updated assembly?
Copy the assembly's .dll to the appropriate folder on the client computer.
 
 
--------------------------------------------------------------------------------
 
  Run the GACUTIL.EXE utility on the client computer.
 
 
--------------------------------------------------------------------------------
 
  Copy the assembly's .dll to the appropriate folder on the client computer and then run the GACUTIL.EXE utility on the client computer.
 
 
--------------------------------------------------------------------------------
 
  Copy the assembly's .dll to the appropriate folder on the client computer and then run the GACUTIL.EXE and csc.exe utility on the client computer.
 
 
0
Comment
Question by:mathieu_cupryk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:mathieu_cupryk
ID: 17885137
Copy the assembly's .dll to the appropriate folder on the client computer.
 
0
 
LVL 15

Expert Comment

by:ozymandias
ID: 17885152
Are you answering you own questions now ?
0
 

Author Comment

by:mathieu_cupryk
ID: 17885156
Is this correct?
0
 
LVL 15

Accepted Solution

by:
ozymandias earned 250 total points
ID: 17885276
No, I think you would need to run GACUTIL as well or use Windows Explorer to drag the assembly into the cache.
Assemblies in the cache have strong names and are checked too see if they have been changed or tampered with.
If you deploy a new version of an assembly that needs to reside in the GAC you have to import the updtaed assmbly into the GAC.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question