Unnecessary DLL references in default project, please help

Add-in Express™ Support Service
That's what is more important than anything else

Unnecessary DLL references in default project, please help
 
Frank Xu




Posts: 2
Joined: 2017-02-02
Dear support,

I just create a empty ADX COM Add-in with the default settings, in the project, I notice following DLL is alreadly referenced but no use at all.

System.Data
System.Drawing
System.Windows.Forms
System.Xml

Can I safely removed these references in my project? Please give me your advice when it is convenient for you, thanks for your support.


Frank
Posted 02 Feb, 2017 03:44:27 Top
Andrei Smolin


Add-in Express team


Posts: 18848
Joined: 2006-05-11
Hello Frank,

This is you who decides whether any given namespace is required or not. If a namespace isn't required, you can delete it.

I would suggest that you rebuild the project right after deleting such a namespace. You'll get a compile-time error if the namespace just deleted is used in your code. In this case, you can undo the deletion.


Andrei Smolin
Add-in Express Team Leader
Posted 02 Feb, 2017 04:03:24 Top