Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Preventing Visual Studio from removing using System

0.00/5 (No votes)
8 Jan 2015 2  
Shave all you create with Occam's Razor.

Here is the best alternative:

  • Critically look at your project's references and remove everything you do not use as soon as possible;
  • Always use VS's Organize Usings -> Remove Unused Usings as soon as possible;
  • Never be afraid if some using clause you planned to use has gone; try to avoid adding references too soon or "in advance", because later you may change your mind; keeping dependencies to the absolute minimum and adding them only as needed all the time is much easier than removing redundant dependencies later;
  • Remember: System is no different from any other;
  • Never forget to shave all you create with Occam's Razor! See also: .

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here