473,473 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Why copy local with DLL in VS.NET?

What is the difference in
copy local = true/false

in VS.NET when referencing a DLL? I've noticed that changes to the DLL
(recompiling) aren't reflected in my project either way. I have to
remove then add the DLL to see any changes.

Thanks,
Brett

Dec 13 '05 #1
4 9777
If project has copylocal = true references, the dlls to which he refers will
be copied in the same folder, where output binary will be located.

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
What is the difference in
copy local = true/false

in VS.NET when referencing a DLL? I've noticed that changes to the DLL
(recompiling) aren't reflected in my project either way. I have to
remove then add the DLL to see any changes.

Thanks,
Brett

Dec 13 '05 #2
Uh, yeah, that's correct. So what good does it do you?

Dec 13 '05 #3
Brett,

This allows XCOPY deployment, i.e. you can copy the directory to another
directory (maybe in another machine, as long as it has .NET runtime) and the
app will run since it will find locally anything it needs.

Regards - Octavio
"Brett Romero" <ac*****@cygen.com> escribió en el mensaje
news:11*********************@o13g2000cwo.googlegro ups.com...
Uh, yeah, that's correct. So what good does it do you?

Dec 13 '05 #4

Example : you use a third party component which is installed in the GAC on
developers PCs. However, for your clients, you might not want to have this
same component installed in their GACs, you might just want to deploy the
third party assemblies in the same directory as your normal application
files. Using Local Copy true in this case, makes it easier to create to
deployment package, since all the files you need are in the same output
directory for your project.
"Brett Romero" <ac*****@cygen.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Uh, yeah, that's correct. So what good does it do you?

Dec 14 '05 #5

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

Similar topics

2
by: Anna | last post by:
Hi all. I am trying to write a stylesheet that will structure the input HTML file in the following way: For each heading of level n it needs to enclose the heading and all its content until the...
5
by: I wish | last post by:
I wrote some program #include <iostream> class A { public: A() {} A( const A& t ) { std::cout << "Good" << std::endl; } }; A f()
4
by: oceanhai | last post by:
We currently have a PPTP connection set up for our developers to access our development SQL server through a VPN tunnel. When they need to copy tables up to the dev SQL from their local machine...
1
by: Tony Johansson | last post by:
Hello experts! I have this piece of code. No user defined copy constructor exist. AccountForStudent create(long number) { AccountForStudent local(number, 0.0); return local; } int main() {
3
by: Tony Johansson | last post by:
Hello experts! I have this piece of code. No user defined copy constructor exist. AccountForStudent create(long number) { AccountForStudent local(number, 0.0); return local; } int main() {
4
by: JonZ | last post by:
I want to declare a local copy of an object so I can modify the local version without affecting the original copy. But when I update my local copy, the original object changes, too. My...
1
by: tony | last post by:
Hello! I use visual studio 2003 and here you can set true or false on a identifier called copy local on each reference. The description on this copy local says "Indicates whether the references...
1
by: tony | last post by:
Hello! Is it correct to say as long as you are dealing with project that are buiding assembly dll it doesn't matter if the field Copy Local is set to True or if it set to False. This field...
15
by: subramanian100in | last post by:
consider the following program: #include <iostream> using namespace std; class Test { public: Test(int xx) : x(xx) { cout << x << endl; }
1
by: ll | last post by:
Hi, I have copied a MS SQL database to my local machine and am testing it with ASP pages, locally, on IIS. I have a db connect page that keeps the current connections for the live database. My...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.