<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DDITDev : VS2008</title><link>http://blogs.msdn.com/dditweb/archive/tags/VS2008/default.aspx</link><description>Tags: VS2008</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>VS2008 Tip - Remove unused 'using' statements</title><link>http://blogs.msdn.com/dditweb/archive/2008/03/19/vs2008-tip-remove-unused-using-statements.aspx</link><pubDate>Wed, 19 Mar 2008 19:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8325907</guid><dc:creator>dditweb</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/dditweb/comments/8325907.aspx</comments><wfw:commentRss>http://blogs.msdn.com/dditweb/commentrss.aspx?PostID=8325907</wfw:commentRss><wfw:comment>http://blogs.msdn.com/dditweb/rsscomments.aspx?PostID=8325907</wfw:comment><description>&lt;P&gt;Did you know that VS2008 has a great feature to remove any unused 'using' statements in your code?&lt;/P&gt;
&lt;P&gt;Simply right click anywhere in your code file, select '&lt;STRONG&gt;Organize Usings&lt;/STRONG&gt;' and select '&lt;STRONG&gt;Remove Unused Usings&lt;/STRONG&gt;'.&lt;/P&gt;
&lt;P&gt;&lt;IMG height=183 src="http://blogs.msdn.com/blogfiles/dditweb/WindowsLiveWriter/VS2008TipRemoveunusedusingstatements_8A97/image11.png" width=350 mce_src="http://blogs.msdn.com/blogfiles/dditweb/WindowsLiveWriter/VS2008TipRemoveunusedusingstatements_8A97/image11.png"&gt; &lt;/P&gt;
&lt;P&gt;You then end up with only the using statements you are actually using! (no pun intended ;))&lt;/P&gt;
&lt;P&gt;Other options include sorting your current using statements, or removing and sorting at the same time..&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Jason&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt; - One of my colleagues just pointed out that you can also do this (as well as some other great stuff) for all files in your project(s) using the &lt;A title="PowerCommands for VS2008" href="http://www.visualstudiogallery.com/ExtensionDetails.aspx?ExtensionId=df3f0c30-3d37-4e06-9ef8-3bff3508be31" target=_blank mce_href="http://www.visualstudiogallery.com/ExtensionDetails.aspx?ExtensionId=df3f0c30-3d37-4e06-9ef8-3bff3508be31"&gt;PowerCommands for VS2008&lt;/A&gt;&amp;nbsp;add-in. Thanks Rick!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8325907" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/dditweb/archive/tags/Jason/default.aspx">Jason</category><category domain="http://blogs.msdn.com/dditweb/archive/tags/VS2008/default.aspx">VS2008</category><category domain="http://blogs.msdn.com/dditweb/archive/tags/C_2300_/default.aspx">C#</category></item></channel></rss>