Solved

Referring Interop dlls

Posted on 2006-06-27
3
231 Views
Last Modified: 2010-04-16
I have a C# application in which i am referring Microsoft Office Object Library 11.0 and Microsoft Outlook Object Library 11.0 .After referring, if i check these references, i found that these are getting referred from local folder and Copy Local is true.In some other machines , Copy Local is false and it is referring GAC.,Do i need to always keep Copy Local to true.Can anybody tell me the the advan/disadv of setting Copy Local to true or false.

Jisha.
0
Comment
Question by:jisha123
[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
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 50 total points
ID: 16992632
Copy Local ensures that referenced library is available at runtime, since it is placed in the same directory as executable.
For library which is always available through GAC or system PATH, this property can be set to false. Generally, true value is always OK, it requires some time for copying whem project is built, but ensures that library is always available.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

751 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