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

Home Posts Topics Members FAQ

About copy local settings in visual studio 2003

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
will be copied to the output directory."

I have a solution file with several project that is both class library dll
and user control dll.

Now to my question what is the recommended setting on this copy local. The
default is true.
What is the difference if this copy local is set to true or false I mean
what effect does it have on the application.

I have noticed in some cases I get compile error if this is set to true but
if I change to false the compile error is gone.

//Tony
Jun 5 '06 #1
1 5429
In general "Copy Local" = False for the public components in GAC, that need
not to be located in you folder to be used your app. And all your private
componets should be copied to the application folder.

But as I mention it's "general" behavior. There could be a lot of cases when
you needn't copy you referenced component to the application folder - for
example some kind of post-build events when you manually copy you components,
or custom ShadowCopying for application domains or etc
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
will be copied to the output directory."

I have a solution file with several project that is both class library dll
and user control dll.

Now to my question what is the recommended setting on this copy local. The
default is true.
What is the difference if this copy local is set to true or false I mean
what effect does it have on the application.

I have noticed in some cases I get compile error if this is set to true but
if I change to false the compile error is gone.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jun 5 '06 #2

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

Similar topics

0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
0
by: PeterJ | last post by:
I created some web pages in Visual Studio 2003 in VB and sent them to another fellow to be rolled up into an application. This was sent back to me and I could not open the whole application. Now...
2
by: Peter White | last post by:
I am trying to transfer a file from a user's local machine (the file is automatically created by a 3rd party tool and stored in the users local settings/temp directory) via a web form to my web...
2
by: camp | last post by:
I use VS.Net 2003 on Win XP Pro SP2. I created an ASP.Net app on local IIS. Now I just wanted to "Copy Project" to remote server, but I get this error: "An error occured while copying the...
29
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. How do I...
2
by: et | last post by:
Since moving to Visual Studio 2005, I cannot open my localhost sites within internat explorer unless I open Visual Studio, open the project, run the site in debug mode, which starts the asp...
3
by: mmalizia | last post by:
I am pretty new at this, so i need some help. I inherited the company web site from a former employee. The thing is she deleted everything from the laptop. All the webistes were set up in visual...
7
by: Arthur | last post by:
hi, this might be a simple one to them who know: i'm developing an asp.net project and use the debug mode. i have a xml file which contains data, that shall be read, if a specific page is...
3
by: MrHenry007 | last post by:
Hello! I'm fairly new to c++ but I have been following tutorials and have created functions before, but not one using a string. I can't work out what the problem is here. The function is supposed...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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: 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.