473,851 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
+ 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 5449
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
6153
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 file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_USRDLL" /
0
1709
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 I can not even open the project I created for my web pages. When I do either, I keep getting a messagebox that says: "Visual Studio could nor create or open the application because your browser is configured to use a proxy server for the...
2
1525
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 server. I am using Visual Studio.Net 2003 and running IIS 5.0. There is no need to use the input=file html control b/c the user has no idea the name of the temporary file that I need to capture and store on the server. I believe the "value"...
2
1979
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 project 'http://localhost/MyApp/MyApp.csproj'. The web sever reported the following error when attemptimg to create or open the web project located at the following URL: 'http://www.mysite.com'. 'HTTP/1.1 500 Internal Sever Error' More details:
29
2832
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 move this project/solution from a local development xp pro computer which uses IIS/localhost, to another xp pro computer that is on a Windows 2003 server domain. I want to be able to use the Windows 2003 server IIS instead of localhost.
2
1369
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 developer server. Why is this, and what can I do to open my localhost sites without opening Visual Studio?
3
1557
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 studio, but now they are gone. I found them under default web site under iis. The question is, Can i copy the web site from there to visual studio 2003?
7
2630
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 run. when i build the project the file is correctly copied to the build location (i selected "build action: none" and "copy if newer"). but when the project is run, the xml file is missing at the directory from which the site is executed. it does not...
3
9195
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 to accept a file location, open the file, search for a phrase, and return a result if the certain phrase is found, otherwise return nothing. Then the result is written to a text file later in the program. Im using visual c++ 2008 and it is...
0
9897
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11019
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10670
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10728
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7906
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5933
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4549
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 we have to send another system
2
4143
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.