Unnecessary REferences

S

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!
 
J

Jesse Houwing

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.

Jess
 
G

Garfilone

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top