Click here to Skip to main content
Click here to Skip to main content
Alternative Tip
Go to top

Preventing Visual Studio from removing "using System"

, 19 Dec 2010
Rate this:
Please Sign up or sign in to vote.
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...
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!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Sergey Alexandrovich Kryukov
Architect
United States United States
No Biography provided

Comments and Discussions

 
GeneralMy vote of 5 PinmemberChristian Amado14-Aug-12 10:26 
GeneralRe: My vote of 5 PinmvpSergey Alexandrovich Kryukov14-Aug-12 11:07 
GeneralRe: My vote of 5 PinmemberChristian Amado14-Aug-12 11:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 19 Dec 2010
Article Copyright 2010 by Sergey Alexandrovich Kryukov
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid