473,382 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

References, Copy Local. Third party controls.

In our application we've used several 3rd party windows form controls that
were installed into their own individual directories.

We have to avoid using the GAC, all our dlls should be found together in the
main application directory.

I'm just reading through the many projects and references that make up our
solution. Some of the dlls in the references are set to "Copy Local", others
are not. (We can handle that Windows system dlls should be shared and
therefore "Copy Local" is set to false)
If we want to make sure that NONE of our dlls are installed into/run from
the GAC do we set all references to Copy Local? Is that OK for 3rd party
packages too?

thanks
Nov 16 '05 #1
1 1682
Hi Claire,

It depends because there are a couple items to consider on 3rd party DLLs.
If you do XCopy deployment, then you want to set CopyLocal to true.
However, if you use the built-in VS.NET Setup wizard, it will recognize that
it needs to grab a copy of those DLLs, even if their CopyLocal is set to
false. If it is an ASP.NET project, and you are using the Copy Project
option from the Project menu, you should set CopyLocal to true.

On DLLs that belong to your solution, you should have project references,
rather than file references, which sets CopyLocal to true automatically for
you.

Joe
--
http://www.csharp-station.com

"Claire" <as*******@ntlworld.com> wrote in message
news:O$**************@TK2MSFTNGP11.phx.gbl...
In our application we've used several 3rd party windows form controls that
were installed into their own individual directories.

We have to avoid using the GAC, all our dlls should be found together in
the main application directory.

I'm just reading through the many projects and references that make up our
solution. Some of the dlls in the references are set to "Copy Local",
others are not. (We can handle that Windows system dlls should be shared
and therefore "Copy Local" is set to false)
If we want to make sure that NONE of our dlls are installed into/run from
the GAC do we set all references to Copy Local? Is that OK for 3rd party
packages too?

thanks

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Henning Kage | last post by:
I'm using Python only for some months now and I'm wondering, whether such assignments as above are creating bitwise copies of an object or just recieve a reference. That means I wanted to know,...
1
by: Chris Kennedy | last post by:
I have a page which uses a third party component. Which is accessible from all projects (is in the GAC the right word?) on my local machine. I copy the project over to the test server and even...
0
by: ljlevend | last post by:
I have a situation where project A references project B which references project C, all of which are in the same solution. Project A is the Startup solution. Also, I use a couple of third party...
1
by: ljlevend | last post by:
I have a situation where project A references project B which references project C, all of which are in the same solution. Project A is the Startup solution. Also, I use a couple of third party...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.