Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio : Remove and sort using except the System reference

When I use the option : Organize Usings -> Remove and sort from Visual Studio 2008 I would like to clear all unused references but to keep some like System; Is there an option I can set to do that ?

like image 813
Melursus Avatar asked Apr 06 '09 17:04

Melursus


2 Answers

No, unfortunately there is not.

If you really need it, perhaps you could build your own plugin for Visual Studio to do it.

like image 121
driis Avatar answered Nov 13 '22 20:11

driis


I think that the only way to keep your unused references is to reference them in your code, unfortunately.

like image 23
Dan McClain Avatar answered Nov 13 '22 19:11

Dan McClain