Melursus
Melursus

Reputation: 10608

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 ?

Upvotes: 8

Views: 772

Answers (2)

Dan McClain
Dan McClain

Reputation: 11920

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

Upvotes: 1

driis
driis

Reputation: 164331

No, unfortunately there is not.

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

Upvotes: 2

Related Questions