Solved

Referring Interop dlls

Posted on 2006-06-27
3
221 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

18 Experts available now in Live!

Get 1:1 Help Now