473,511 Members | 15,852 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unnecessary REferences

Visual Studio automatically adds a bunch of references for new projects
(e.g., System.Data, System.Xml, etc).

Is there any benefit from removing those references in projects where I use
none of the types form those assemblies?

Is there any "harm" in leaving those in??? does my assembly get bloated in
any way (even metadata)?

Thanks!
Aug 2 '07 #1
2 1351
Hello Smithers,
Visual Studio automatically adds a bunch of references for new
projects (e.g., System.Data, System.Xml, etc).

Is there any benefit from removing those references in projects where
I use none of the types form those assemblies?

Is there any "harm" in leaving those in??? does my assembly get
bloated in any way (even metadata)?

Thanks!
There's no harm leaving them in. They're only used at compile time.

Jesse
Aug 2 '07 #2
On Aug 3, 4:16 am, "Smithers" <A...@B.comwrote:
Visual Studio automatically adds a bunch of references for new projects
(e.g., System.Data, System.Xml, etc).

Is there any benefit from removing those references in projects where I use
none of the types form those assemblies?

Is there any "harm" in leaving those in??? does my assembly get bloated in
any way (even metadata)?

Thanks!
You can delete them

Aug 3 '07 #3

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

Similar topics

22
2208
by: xmp333 | last post by:
Hi All, I am trying to hide my JavaScript source. The method I chose was to keep all the important source in a password protected folder, and then use a SRC="folder/script.js" to include it...
12
1636
by: A-PK | last post by:
Anyone know how to breakdown every modules into different assemblies and refernces. Hence, to repair problematic module, only that particular module needed to be recompiled. or any place...
383
11791
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
3
1621
by: belief | last post by:
I write a non-template simple string with the technique that giving the same string a same storage with a count. so i must give the necessary copy operation when the string will be modified, I...
0
1320
by: galkas | last post by:
Hello I have got a report, which can run on 3 groups of data: College Faculty School Faculty contains schools. College contains faculties. The report can be run for college, then it includes...
3
2449
by: baumann | last post by:
hi all, i could not understand the "unnecessary" pointer comparison. /* 207 * min()/max() macros that also do 208 * strict type-checking.. See the 209 * "unnecessary" pointer comparison....
3
2098
by: Oscar Thornell | last post by:
Hi, I am looking for a feature/functionality in VS.NET 2005 that removes using directives/includes of unnecessary namespaces. IDEs like Eclipse and JBuilder have had stuff like that for years...
4
2859
by: Andreas Bauer | last post by:
Hi, I have to audit some c# code. I know in the options I can adjust how the code should be formatted while entering it. But is there any way to apply afterwards a code template to the classes...
49
1789
by: jacob navia | last post by:
In one of the previous discussions I received a note from C.B. Falconer indicating me that a cast from long long to int was unnecessary since the compiler will do that without the cast...
0
7242
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
7353
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
7418
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
7075
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
7508
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...
0
5662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3212
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1572
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.