8

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 ?

2
  • yes, ... that would be really cool Commented Oct 15, 2009 at 10:49
  • Unfortunately, that doesn't seems to exists ... for now Commented Oct 15, 2009 at 11:56

2 Answers 2

2

No, unfortunately there is not.

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

Sign up to request clarification or add additional context in comments.

1 Comment

Or just do the remove and sort at the very very end of your project. . .
1

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.