Solved

Referring Interop dlls

Posted on 2006-06-27
3
223 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now