<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Visual Studio Tips and Tricks</title><link>http://blogs.msdn.com/b/zainnab/</link><description>Dedicated to Visual Studio Tips and Tricks plus anything else I feel like</description><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.19849 (Build: 5.6.583.19849)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/zainnab" /><feedburner:info uri="zainnab" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>by Zain Naboulsi</itunes:subtitle><geo:lat>32.876474</geo:lat><geo:long>-96.941298</geo:long><feedburner:emailServiceId>zainnab</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/zainnab" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://my.feedlounge.com/external/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://static.feedlounge.com/buttons/subscribe_0.gif">Subscribe with FeedLounge</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><feedburner:feedFlare href="http://www.addtoany.com/?linkname=Visual%20Studio%20Tips%20and%20Tricks&amp;linkurl=http%3A%2F%2Ffeeds.feedburner.com%2Fzainnab&amp;type=feed" src="http://www.addtoany.com/addfr-b.gif">Add to Any Feed Reader</feedburner:feedFlare><item><title>Surround with a Code Snippet (C# Only)</title><link>http://feedproxy.google.com/~r/zainnab/~3/Pc7tJq2lk58/surround-with-a-code-snippet-c-only.aspx</link><pubDate>Wed, 14 Dec 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10246808</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10246808</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10246808</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/12/14/surround-with-a-code-snippet-c-only.aspx#comments</comments><description>&lt;p&gt;Keyboard:&amp;#160; CTRL + K, CTRL + S   &lt;br /&gt;Menu:&amp;#160; Edit | IntelliSense | Surround With    &lt;br /&gt;Command:&amp;#160; Edit.SurroundWith    &lt;br /&gt;Versions:&amp;#160; 2008,2010    &lt;br /&gt;Published:&amp;#160; 4/21/2010    &lt;br /&gt;Code:&amp;#160; vstipEdit0052 &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This is one that even people who know about snippets tend to forget.&amp;#160; You can actually put a snippet AROUND existing code.&amp;#160; Assuming you have some code selected: &lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3162.clip_5F00_image002_5F00_6DB1CFF7.png" width="315" height="103" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Just press CTRL + K, CTRL + S: &lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4130.clip_5F00_image004_5F00_743529BA.png" width="565" height="148" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then type the statement you want to surround the code with.&amp;#160; In this case, I’ll use an “if” statement: &lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5314.clip_5F00_image006_5F00_4C8EAD90.png" width="565" height="173" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Hit your TAB key once and you get your result: &lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2570.clip_5F00_image008_5F00_129F6AA4.png" width="315" height="141" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now you can put in your condition and any additional logic you want.&amp;#160; Pretty cool stuff!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10246808" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Pc7tJq2lk58:GWBP9EbNuII:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Pc7tJq2lk58:GWBP9EbNuII:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=Pc7tJq2lk58:GWBP9EbNuII:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Pc7tJq2lk58:GWBP9EbNuII:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=Pc7tJq2lk58:GWBP9EbNuII:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/Pc7tJq2lk58" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/snippet/">snippet</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/snippets/">snippets</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/12/14/surround-with-a-code-snippet-c-only.aspx</feedburner:origLink></item><item><title>Visual Studio 11 Developer Preview: Code Clone Detection (aka Code Clone Analysis)</title><link>http://feedproxy.google.com/~r/zainnab/~3/-pWLFKDg6qk/visual-studio-11-developer-preview-code-clone-detection-aka-code-clone-analysis.aspx</link><pubDate>Tue, 13 Dec 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10246096</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10246096</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10246096</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/12/13/visual-studio-11-developer-preview-code-clone-detection-aka-code-clone-analysis.aspx#comments</comments><description>&lt;p&gt;Versions: Visual Studio 11 Developer Preview&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Make sure to get your copy of the new book from Sara and me: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.amazon.com/gp/product/0735649928"&gt;Coding Faster: Getting More Productive with Microsoft Visual Studio&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;lt;Disclaimer&amp;gt;&lt;/p&gt;  &lt;p&gt;Note: As always with pre-release software, some of the features may not make it into the final version or may change significantly before RTM. Also, although I will only show features that are publicly available, I may be using a slightly older or newer version of the build than you are so there may be slight differences in the feature set I show and the feature set you currently have. &lt;/p&gt;  &lt;p&gt;&amp;lt;/Disclaimer&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;In my travels across the country, with my fellow Evangelist, Clint Edmonson, talking about Visual Studio we often come across great stories to tell. One of our favorite true stories is of a customer that had a web application running very slow. We ran code metrics against it and, sure enough, the Page_Load event had 9,000 lines of code in it. Naturally we were curious so we opened it up to see that it was basically the same &lt;b&gt;if&lt;/b&gt; statement copied over and over. Apparently they needed to find out who was coming into the website in order to show customized content and the solution they came up with was this massive set of statements.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;For better or worse we have all had code that gets copied throughout our solutions. Until now there was no tool to tell us there were copies and, instead, we had to rely on other metrics such as lines of code to hopefully reveal any code smells. Now, however, we have the new Code Clone Detection (aka Code Clone Analysis) feature.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;According to the documentation: &lt;/p&gt;  &lt;p&gt;“&lt;i&gt;Code clones&lt;/i&gt; are separate fragments of code that are very similar. They are a common phenomenon in an application that has been under development for some time. Clones make it hard to change your application because you have to find and update more than one fragment. Visual Studio can help you find code clones so that you can refactor them.”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/hh205279%28v=vs.110%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/hh205279%28v=vs.110%29.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Specific Clones&lt;/h2&gt;  &lt;p&gt;You can find clones of specific code by selecting the segment you are interested in:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1200.image_5F00_0F6B647F.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8233.image_5F00_thumb_5F00_6E77F1D7.png" width="500" height="375" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then Right-click on the selection and choose Find Matching Clones in Solution from the context menu:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4530.image_5F00_5841D685.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8540.image_5F00_thumb_5F00_1EBEC68E.png" width="450" height="86" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Visual Studio will search for code clones and produce the result in the new Code Clone Search Results window:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7651.image_5F00_4520A9D9.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4527.image_5F00_thumb_5F00_76AC176E.png" width="500" height="142" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The original line of code is put in a group on its own and then all the matches are put into a different group. You can expand the groups to see the specific locations of the matches:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1222.image_5F00_3609CAFF.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3377.image_5F00_thumb_5F00_3C50A18D.png" width="500" height="302" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Solution Clones&lt;/h2&gt;  &lt;p&gt;Besides looking for specific clones you can also just look for code clones for the entire solution. This will search the entire solution for duplicate code and display the results. To use this feature go to Analyze | Analyze Solution for Code Clones:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3858.image_5F00_54740BE8.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3365.image_5F00_thumb_5F00_7A69BC3E.png" width="450" height="131" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This creates a result set for the entire solution:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3465.image_5F00_52C34014.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7178.image_5F00_thumb_5F00_590A16A2.png" width="500" height="375" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;By default it groups and sorts the results by the strength of the match. Exact matches come first then those matches that may be close but not exact come next. As you can see the other terms used are Strong, Medium, and Weak in this example.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Reviewing Matches&lt;/h2&gt;  &lt;p&gt;Once you have the result set, there are a couple of ways you can compare them against each other.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Comparison Tools&lt;/h3&gt;  &lt;p&gt;Although I don’t show it here, if you have a comparison tool configured you can Right-click on any two items and select Compare from the shortcut menu. You would know if you have this feature available by going to Tools | Options | Source Control | Team Foundation Server and click on Configure User Tools.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Manual Comparison&lt;/h3&gt;  &lt;p&gt;If you don’t have a comparison tool you can do manual comparisons between two entries in the list. If the clones are in different files then you can just double-click each one and file tabs will be available for you to look at for comparison:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1321.image_5F00_340C5629.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7178.image_5F00_thumb_5F00_457CB701.png" width="450" height="146" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When it comes to comparisons in the same file I’ve only found one good way to accomplish this so far. Granted, I have just started playing with this feature so there might be something coming or something I missed that makes this easier. Here is a series of steps to compare two items in the same file.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;First, find the first entry you want to look at and double-click on it to open a file tab and highlight the code segment:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1212.image_5F00_12ACB08D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4442.image_5F00_thumb_5F00_040204A8.png" width="500" height="231" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now make a copy of the current code window by going to Window | New Window:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0576.image_5F00_7C0A6245.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7181.image_5F00_thumb_5F00_5B832293.png" width="250" height="114" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Next, go to the second entry you are interested in and double-click it. The result should be one code segment on each tab so you can compare the two:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0247.image_5F00_2FD25897.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6102.image_5F00_thumb_5F00_1A08703A.png" width="500" height="140" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You can do this for as many entries in the list as you like. Just repeat these steps for each entry you want to compare.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;What Is Found&lt;/h2&gt;  &lt;p&gt;You are probably curious as to what is found by this tool. The heuristics for finding clones will find duplicates even if the following changes have happened:&lt;/p&gt;  &lt;p&gt;· Renamed identifiers.&lt;/p&gt;  &lt;p&gt;· Insert and delete statements added.&lt;/p&gt;  &lt;p&gt;· Rearranged statements.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;What Is Not Found&lt;/h2&gt;  &lt;p&gt;There are some rules for what is not found as well. I have taken this list from the documentation pretty much verbatim.&lt;/p&gt;  &lt;p&gt;· Type declarations are not compared. For example, if you have two classes with very similar sets of field declarations, they will not be reported as clones. Only statements in methods and property definitions are compared.&lt;/p&gt;  &lt;p&gt;· Analyze Solution for Code Clones will not find clones that are less than 10 statements long. However, you can apply Find matching clones in solution to shorter fragments.&lt;/p&gt;  &lt;p&gt;· Fragments with more than 40% changed tokens.&lt;/p&gt;  &lt;p&gt;· If a project contains a .codeclonesettings file, code elements that are defined in that project will not be searched if they are named in the Exclusions section of the .codeclonesettings file.&lt;/p&gt;  &lt;p&gt;· Some kinds of generated code are excluded: &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;· *.designer.cs, *.designer.vb&lt;/p&gt;    &lt;p&gt;· InitializeComponent methods&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;· However, this does not automatically apply to all generated code. For example, if you use text templates, you might want to exclude the generated files by naming them in a .codeclonesettings file.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Code Clone Settings and Exclusions&lt;/h2&gt;  &lt;p&gt;A settings file is available to configure this feature at the project level. I tried to use it at the solution level but it didn’t work so this is definitely a per-project activity. Currently we have only announced the ability to do exclusions in the file but there will most likely be other elements that are added later on. The file is just XML with a .CODECLONESETTINGS extension. The only requirement for use is that the file exists in the top level directory of the project.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The base elements consist of a CodeCloneSettings element with an Exclusions child:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0160.image_5F00_3FFE2090.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2804.image_5F00_thumb_5F00_067B1099.png" width="200" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Within the Exclusions element you can have the following children:&lt;/p&gt;  &lt;h3&gt;&amp;lt;File&amp;gt;&lt;/h3&gt;  &lt;p&gt;This element is used to indicate files that should be excluded from analysis. Path names can be absolute or relative and you can use wildcards as well. So, for example, to ignore all the C# text template files that have been put in their own directory (called MyTextTemplates) you might have the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7510.image_5F00_65F3D0E6.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7181.image_5F00_thumb_5F00_177F3E7C.png" width="350" height="168" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;&amp;lt;Namespace&amp;gt;, &amp;lt;Type&amp;gt;, and &amp;lt;FunctionName&amp;gt;&lt;/h3&gt;  &lt;p&gt;You can also exclude namespaces, types, and functions. Just like files these items can use absolute names or names with wildcards in them. Here is an example of what it might look like:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0654.image_5F00_56DCF20C.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4477.image_5F00_thumb_5F00_2B2C2810.png" width="600" height="198" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Example Scenario&lt;/h3&gt;  &lt;p&gt;In the Tailspin Toys sample that I have there is some generated code in the TailSpin.SimpleSqlRepository project that is the bulk of the duplications:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2620.image_5F00_1C817C2B.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7522.image_5F00_thumb_5F00_22C852B9.png" width="400" height="345" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Code clone analysis doesn’t automatically know to ignore text templates so I have created an XML file called TailSpinRepository.codeclonesettings and inserted an entry like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2248.image_5F00_68D90FCC.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2728.image_5F00_thumb_5F00_6C772AA9.png" width="350" height="194" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now if I run clone analysis here is the result:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8015.image_5F00_59C230F2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4885.image_5F00_thumb_5F00_191FE483.png" width="550" height="222" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;As you can see the results are significantly less than the first time the analysis ran. It’s common to create several exclusions in different projects to weed out noise in the analysis results.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Finally&lt;/h2&gt;  &lt;p&gt;Code Clone Detection is a great new tool to add to your arsenal for improving code quality. Combined with Code Analysis and Code Metrics, this will help quickly find potential issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10246096" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=-pWLFKDg6qk:8ghwmiTBwAA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=-pWLFKDg6qk:8ghwmiTBwAA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=-pWLFKDg6qk:8ghwmiTBwAA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=-pWLFKDg6qk:8ghwmiTBwAA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=-pWLFKDg6qk:8ghwmiTBwAA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/-pWLFKDg6qk" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+11+developer+preview/">visual studio 11 developer preview</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+clone/">code clone</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+clone+analysis/">code clone analysis</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+clone+detection/">code clone detection</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/12/13/visual-studio-11-developer-preview-code-clone-detection-aka-code-clone-analysis.aspx</feedburner:origLink></item><item><title>Greatest Hits:  Using the New IntelliSense - Pascal Case</title><link>http://feedproxy.google.com/~r/zainnab/~3/ejZE_9MwtPE/greatest-hits-using-the-new-intellisense-pascal-case.aspx</link><pubDate>Tue, 06 Dec 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10244586</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10244586</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10244586</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/12/06/greatest-hits-using-the-new-intellisense-pascal-case.aspx#comments</comments><description>&lt;p&gt;Keyboard:&amp;#160; CTRL + J&amp;#160; &lt;br /&gt;Menu:&amp;#160; Edit | IntelliSense | List Members     &lt;br /&gt;Command:&amp;#160; Edit.ListMembers    &lt;br /&gt;Versions:&amp;#160; 2010    &lt;br /&gt;Published:&amp;#160; 2/9/2010    &lt;br /&gt;Code:&amp;#160; vstipEdit0017 &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Have you ever been in a situation where you wanted to use IntelliSense to get a method but there are a TON of methods that start with same word and you have to type almost the entire method name?&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5758.clip_5F00_image002_5F00_0E4EB80E.png" width="397" height="210" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Well those days are over!&amp;#160; Let's say you want the SetWindowSize Method but really, really don't want to type it out or even scroll down to get the method.&amp;#160; IntelliSense now supports Pascal Case!&amp;#160; All you have to do is type &amp;quot;SWS&amp;quot; and you are all set:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4452.clip_5F00_image004_5F00_276A1246.png" width="440" height="95" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10244586" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=ejZE_9MwtPE:bd48tuWGIq0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=ejZE_9MwtPE:bd48tuWGIq0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=ejZE_9MwtPE:bd48tuWGIq0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=ejZE_9MwtPE:bd48tuWGIq0:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=ejZE_9MwtPE:bd48tuWGIq0:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/ejZE_9MwtPE" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/IntelliSense/">IntelliSense</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/12/06/greatest-hits-using-the-new-intellisense-pascal-case.aspx</feedburner:origLink></item><item><title>Greatest Hits:  Using Visual Studio 2010 IntelliSense with Keywords</title><link>http://feedproxy.google.com/~r/zainnab/~3/K0l5VY2f96g/greatest-hits-using-the-new-intellisense-with-keywords.aspx</link><pubDate>Wed, 30 Nov 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10242937</guid><dc:creator>zainnab</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10242937</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10242937</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/11/30/greatest-hits-using-the-new-intellisense-with-keywords.aspx#comments</comments><description>&lt;p&gt;Keyboard:&amp;#160; CTRL + J    &lt;br /&gt;Menu:&amp;#160; Edit –&amp;gt; IntelliSense –&amp;gt; List Members     &lt;br /&gt;Command:&amp;#160; Edit.ListMembers    &lt;br /&gt;Versions:&amp;#160; 2010    &lt;br /&gt;Published:&amp;#160; 2/8/2010    &lt;br /&gt;Code:&amp;#160; vstipEdit0016 &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The one feature we regularly use more than just about anything else in Visual Studio is IntelliSense.&amp;#160; It has been our friend for many years.&amp;#160; Well it just got more friendly!&amp;#160; To show you the new feature, let’s take a look at VS2008 IntelliSense.&amp;#160; Notice when I type Console.Key what happens: &lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2376.clip_5F00_image002_5F00_21271F98.png" width="350" height="283" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;It does what you would expect it to do and highlights the first (in this case—only) item that begins with the word “Key”.&amp;#160; That’s great but what if I don’t know what I am looking for but I know that it has the word “Key” somewhere in it?&amp;#160; Well, I can go search in the Object Browser, of course OR I can use the new IntelliSense in VS2010.&amp;#160; Watch what happens when i do the same thing in VS2010: &lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8244.clip_5F00_image004_5F00_2E20FFA9.png" width="400" height="132" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Voila!&amp;#160; It now shows only those items that have the word “Key” in them AND doesn’t care where the word is in the name of the member!&amp;#160; So not only do it get items that begin with “Key” but I get ANYTHING that has the word “Key” in it.&amp;#160; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10242937" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=K0l5VY2f96g:9a5ZuVXVUMw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=K0l5VY2f96g:9a5ZuVXVUMw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=K0l5VY2f96g:9a5ZuVXVUMw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=K0l5VY2f96g:9a5ZuVXVUMw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=K0l5VY2f96g:9a5ZuVXVUMw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/K0l5VY2f96g" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/IntelliSense/">IntelliSense</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/keywords/">keywords</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/11/30/greatest-hits-using-the-new-intellisense-with-keywords.aspx</feedburner:origLink></item><item><title>Visual Studio 11 Developer Preview: Multiple / Floating Tab Wells</title><link>http://feedproxy.google.com/~r/zainnab/~3/Zlb6g7W8A-g/visual-studio-11-developer-preview-multiple-floating-tab-wells.aspx</link><pubDate>Tue, 29 Nov 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10242150</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10242150</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10242150</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/11/29/visual-studio-11-developer-preview-multiple-floating-tab-wells.aspx#comments</comments><description>&lt;p&gt;Versions: Visual Studio 11 Developer Preview&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Make sure to get your copy of the new book from Sara and me: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.amazon.com/gp/product/0735649928"&gt;Coding Faster: Getting More Productive with Microsoft Visual Studio&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Note: As always with pre-release software, some of the features may not make it into the final version or may change significantly before RTM. Also, although I will only show features that are publicly available, I may be using a slightly older or newer version of the build than you are so there may be slight differences in the feature set I show and the feature set you currently have. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Note: This feature was first introduced in the VS2010 Productivity Power Tools extension found here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef?SRC=Home"&gt;http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef?SRC=Home&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Visual Studio 11 Developer Preview&lt;/h3&gt;  &lt;p&gt;Continuing with our look at Visual Studio 11 Developer Preview we will examine the concept of multiple/floating tab wells that was originally created by Radames Cruz Moreno from the VS Platform Team. In VS2010 we introduced the idea of floating document windows. The only problem was, once detached; the window was a completely independent entity. This was great if all you wanted was one window but what if you wanted, say, 20 windows on one screen and 10 on another? Things get pretty out of hand fast when dealing with multiple windows beyond a certain point. Visual Studio 11 Developer Preview comes with the ability to not only detach windows but have them in multiple tab wells to better organize your windows. In this tip I’ll show you how to take advantage of this feature.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Quick Walkthrough&lt;/h4&gt;  &lt;p&gt;Open up Visual Studio 11 Developer Preview and get a couple of tabs in the tab well like I have here:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0753.image_5F00_325D1A78.png" width="600" height="100" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now click and drag one of the tabs outside the IDE:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6445.image_5F00_3AB0CA02.png" width="600" height="124" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You should notice a new window is created, with a new tab well, and the tab is inside the well:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1830.image_5F00_0377163C.png" width="600" height="78" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now you can add more tabs to the new area and treat it just as you would the original tab well:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6521.image_5F00_10AD7982.png" width="400" height="137" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Menu Commands&lt;/h4&gt;  &lt;p&gt;I think the hardest part for people to get used to is that certain menu items impact the current active window regardless of where it is. For example, Window | New Window which makes a copy of the current window:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6840.image_5F00_7879E959.png" width="200" height="90" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Will work regardless of where the active window is located:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1643.image_5F00_2F73C793.png" width="500" height="110" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Also, as I am sure you have guessed by now, you can have multiple independent tab wells:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2804.image_5F00_37C7771D.png" width="450" height="233" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;So there you have it! This is a huge advantage that allows you to move and organize your VS windows the way you want.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Turning It Off&lt;/h4&gt;  &lt;p&gt;Note: When I tried this on my system the change didn’t take effect so you may not be able to turn this feature off in your pre-release build.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If you don’t like this feature it can be turned off by searching on “tabs” in the Quick Launch area (CTRL + ` [back tick]):&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7587.image_5F00_3E3AAB13.png" width="400" height="106" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Selecting the entry for Environment -&amp;gt; Tabs and Windows:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6114.image_5F00_301BBC16.png" width="400" height="115" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then turn off Enable Independent Floating Tab Wells:&lt;/p&gt;  &lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2816.image_5F00_1E7BAB7E.png" width="400" height="109" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This will return you to the VS2010-like experience.&lt;/p&gt;  &lt;p&gt;For those who like menu commands the path to this option is Tools | Options | Environment | Tabs and Windows | Floating Tab Well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10242150" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Zlb6g7W8A-g:NTBj4pREwEw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Zlb6g7W8A-g:NTBj4pREwEw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=Zlb6g7W8A-g:NTBj4pREwEw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Zlb6g7W8A-g:NTBj4pREwEw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=Zlb6g7W8A-g:NTBj4pREwEw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/Zlb6g7W8A-g" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+11+developer+preview/">visual studio 11 developer preview</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/11/29/visual-studio-11-developer-preview-multiple-floating-tab-wells.aspx</feedburner:origLink></item><item><title>O’Reilly / MS Press Cyber Monday Ebook Deal</title><link>http://feedproxy.google.com/~r/zainnab/~3/VhVeSrZ4o2g/o-reilly-ms-press-cyber-monday-ebook-deal.aspx</link><pubDate>Mon, 28 Nov 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10241839</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10241839</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10241839</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/11/28/o-reilly-ms-press-cyber-monday-ebook-deal.aspx#comments</comments><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now that I’m published the marketing folks send me all kinds of stuff on book specials.&amp;#160; Most of them are cheezy but this one looks pretty cool so thought I would share.&amp;#160; Here is the tweet they are sending out:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;CyberMonday Deal: Save 60% on 60 new and top ebooks! Today only. Shop now: &lt;a href="http://bit.ly/s3vkkJ"&gt;http://bit.ly/s3vkkJ&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Naturally the book I did with Sara is on there for like 12 bucks or something as well as many other titles.&amp;#160; Good times &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5340.wlEmoticon_2D00_smile_5F00_3B50F60A.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10241839" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=VhVeSrZ4o2g:Vz0h7O_B4xE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=VhVeSrZ4o2g:Vz0h7O_B4xE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=VhVeSrZ4o2g:Vz0h7O_B4xE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=VhVeSrZ4o2g:Vz0h7O_B4xE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=VhVeSrZ4o2g:Vz0h7O_B4xE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/VhVeSrZ4o2g" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/11/28/o-reilly-ms-press-cyber-monday-ebook-deal.aspx</feedburner:origLink></item><item><title>Greatest Hits:  Make IntelliSense Transparent</title><link>http://feedproxy.google.com/~r/zainnab/~3/82FkRjhQBVI/greatest-hits-make-intellisense-transparent.aspx</link><pubDate>Wed, 16 Nov 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10236894</guid><dc:creator>zainnab</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10236894</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10236894</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/11/16/greatest-hits-make-intellisense-transparent.aspx#comments</comments><description>&lt;p&gt;Keyboard:&amp;#160; CTRL   &lt;br /&gt;Versions:&amp;#160; 2008,2010    &lt;br /&gt;Published:&amp;#160; 10/17/2010    &lt;br /&gt;Code:&amp;#160; vstipEdit0077 &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I thought it would be cool to rerun some of the items that many people have really liked in the past.&amp;#160; This is the first of the posts I’ll call the Greatest Hits for folks to get exposure to tips they may have missed the first time around.&amp;#160; With that said, on with the tip…&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Sometimes when you are cranking code you find yourself in a situation where IntelliSense is covering up some code you want to see: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-82-17-metablogapi/4336.image_5F00_2.png"&gt;&lt;img title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-82-17-metablogapi/3681.image_5F00_thumb.png" width="402" height="171" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You can easily make it temporarily opaque by pressing and holding the CTRL key: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-82-17-metablogapi/6811.image_5F00_4.png"&gt;&lt;img title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-82-17-metablogapi/4505.image_5F00_thumb_5F00_1.png" width="402" height="179" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This way you don't have to completely get rid of IntelliSense, see the code, then bring IntelliSense back.&amp;#160; Just press the CTRL key, get the information you need, and move on. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10236894" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=82FkRjhQBVI:Ddckv9QC2pY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=82FkRjhQBVI:Ddckv9QC2pY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=82FkRjhQBVI:Ddckv9QC2pY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=82FkRjhQBVI:Ddckv9QC2pY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=82FkRjhQBVI:Ddckv9QC2pY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/82FkRjhQBVI" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/IntelliSense/">IntelliSense</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/11/16/greatest-hits-make-intellisense-transparent.aspx</feedburner:origLink></item><item><title>Visual Studio 11 Developer Preview: Preview Tab</title><link>http://feedproxy.google.com/~r/zainnab/~3/lHP3e8Uwas0/visual-studio-11-developer-preview-preview-tab.aspx</link><pubDate>Tue, 15 Nov 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10236887</guid><dc:creator>zainnab</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10236887</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10236887</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/11/15/visual-studio-11-developer-preview-preview-tab.aspx#comments</comments><description>&lt;p&gt;Shortcut: CTRL + ALT + Home (promote); ALT (do not preview in Solution Explorer)&lt;/p&gt;
&lt;p&gt;Versions: Visual Studio 11 Developer Preview&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Make sure to get your copy of the new book from Sara and me:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.amazon.com/gp/product/0735649928"&gt;Coding Faster: Getting More Productive with Microsoft Visual Studio&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: As always with pre-release software, some of the features may not make it into the final version or may change significantly before RTM. Also, although I will only show features that are publicly available, I may be using a slightly older or newer version of the build than you are so there may be slight differences in the feature set I show and the feature set you currently have.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Preview Tab: Common Scenarios&lt;/h2&gt;
&lt;p&gt;We all explore code and need move quickly between files. In prior versions of Visual Studio you had to open a file to look at the contents which often resulted in many open files (tabs) after debugging or reviewing some code. The Preview Tab eliminates the need to open certain files when browsing code. Most likely you&amp;rsquo;ll first encounter the Preview Tab when you are looking at files with Solution Explorer. When you click on a supported file, you will see the contents of that file in the new preview tab:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6332.image_5F00_6A138DB1.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7506.image_5F00_thumb_5F00_7E2CAA3A.png" width="504" height="321" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The point of the preview tab is to let you view the contents of a file without actually opening up a new tab in the tab well. As you look at different files the preview tab only shows the contents of the file you are currently on. This keeps the environment from getting cluttered with open tabs and allows you to focus on only those files that are interesting to you. Solution Explorer isn&amp;rsquo;t the only place you can use the preview feature. It turns up in several situations where you might need to look at file content. For example, when using Find (CTRL + F) to locate information you will see the preview tab:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1134.image_5F00_443D674E.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0243.image_5F00_thumb_5F00_039B1ADF.png" width="504" height="314" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Promoting Previews&lt;/h2&gt;
&lt;p&gt;At some point you may decide to promote the preview to an opened tab in the Tab Well so you can do additional work on the file. There are a few ways you can make this happen.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Click the Promote button&lt;/h3&gt;
&lt;p&gt;Just click the promote button on the preview and it will open up a tab for that file:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5758.image_5F00_1BBE853A.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1220.image_5F00_thumb_5F00_623B7542.png" width="404" height="136" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Press CTRL + ALT + HOME&lt;/h3&gt;
&lt;p&gt;With the cursor in the file, just press CTRL + ALT + HOME to open a tab for the file you are currently viewing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Change the File&lt;/h3&gt;
&lt;p&gt;While previewing a file, if you make any change to the file it will automatically be promoted to an open tab so that you can make additional changes and do any other actions you need to perform.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;/h4&gt;
&lt;h2&gt;Turning Preview Off&lt;/h2&gt;
&lt;p&gt;To see the options you have for using the preview feature, just type &lt;b&gt;preview&lt;/b&gt; in Quick Launch (CTRL + ` [back quote]) and click Environment -&amp;gt; Tabs and Windows:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5758.image_5F00_25A376A5.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1220.image_5F00_thumb_5F00_12EE7CEE.png" width="504" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This will take you to Tools | Options | Environment | Tabs and Windows:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3683.image_5F00_0443D109.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6011.image_5F00_thumb_5F00_5893070C.png" width="604" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To turn off the preview feature uncheck the &lt;b&gt;Allow New Files to be Opened in the Preview Tab&lt;/b&gt; option. Also notice you can decide if a single click open the files in the preview and/ or use ALT to prevent a file from being previewed when you click on it. While I see the value in using ALT to prevent preview from happening; I haven&amp;rsquo;t yet found any reason for turning off the single-click option as it, in effect, makes the feature unusable.&lt;/p&gt;
&lt;h5&gt;&amp;nbsp;&lt;/h5&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Finally&lt;/h2&gt;
&lt;p&gt;The Preview Tab is one of the great new additions to the Visual Studio IDE that, I believe, will be an exceptional productivity enhancement. Try it yourself and let me know what you think.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10236887" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=lHP3e8Uwas0:NdAwCmqByQM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=lHP3e8Uwas0:NdAwCmqByQM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=lHP3e8Uwas0:NdAwCmqByQM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=lHP3e8Uwas0:NdAwCmqByQM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=lHP3e8Uwas0:NdAwCmqByQM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/lHP3e8Uwas0" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+11+developer+preview/">visual studio 11 developer preview</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/preview+tab/">preview tab</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/11/15/visual-studio-11-developer-preview-preview-tab.aspx</feedburner:origLink></item><item><title>Docking External Document Windows</title><link>http://feedproxy.google.com/~r/zainnab/~3/IGGE9oejavc/docking-external-document-windows.aspx</link><pubDate>Thu, 10 Nov 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10235762</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10235762</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10235762</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/11/10/docking-external-document-windows.aspx#comments</comments><description>&lt;p&gt;Windows:&amp;#160; CTRL + Double Click on Title Bar   &lt;br /&gt;Menu:&amp;#160;&amp;#160; Window | Dock As Tabbed Document    &lt;br /&gt;Command:&amp;#160; Window.DockAsTabbedDocument&lt;/p&gt;  &lt;p&gt;SKU: Professional, Premium, Ultimate   &lt;br /&gt;Versions:&amp;#160; 2010, Visual Studio 11 Developer Preview    &lt;br /&gt;Code:&amp;#160; vstipEnv0065&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;In Visual Studio 2010 we introduced the ability to take document windows outside the IDE: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6403.clip_5F00_image002_5F00_1075352F.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0435.clip_5F00_image002_5F00_thumb_5F00_366AE585.jpg" width="604" height="360" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;However, the old trick of double-clicking on the Title Bar to dock the window back into the tab well doesn’t work anymore. It turns out that CTRL + Double-Click is the new shortcut to dock document windows back into the IDE: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5635.clip_5F00_image004_5F00_27C039A0.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6305.clip_5F00_image004_5F00_thumb_5F00_5FFEB0B8.jpg" width="604" height="530" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If you have installed the Productivity Power Tools (&lt;a href="http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef"&gt;http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef&lt;/a&gt;) or have Visual Studio 11 Developer Preview then you have floating tab wells: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4670.clip_5F00_image006_5F00_5F264ACE.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5722.clip_5F00_image006_5F00_thumb_5F00_4552149F.jpg" width="604" height="359" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You can CTRL + Double-Click on the window’s Title Bar to dock all the tabs in the external tab well. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The strange part comes when you have multiple tabs in an external tab well. If CTRL + Double-Click on an individual tab in the external tab well when there is more than one tab it creates a new tab well with only one tab in it. When you CTRL + Double-Click on a tab that is the only one in the current tab well then it will dock it. Not sure if this is intentional behavior or a bug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10235762" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=IGGE9oejavc:bVTw1I-iZeo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=IGGE9oejavc:bVTw1I-iZeo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=IGGE9oejavc:bVTw1I-iZeo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=IGGE9oejavc:bVTw1I-iZeo:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=IGGE9oejavc:bVTw1I-iZeo:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/IGGE9oejavc" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Document+windows/">Document windows</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+2010+New+Features/">Visual Studio 2010 New Features</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010+service+pack+1/">visual studio 2010 service pack 1</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+11+developer+preview/">visual studio 11 developer preview</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/tab+well/">tab well</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/11/10/docking-external-document-windows.aspx</feedburner:origLink></item><item><title>Visual Studio 11 Developer Preview  - Project Backward Compatibility (Round-Tripping)</title><link>http://feedproxy.google.com/~r/zainnab/~3/fg4_VinCoiM/visual-studio-11-developer-preview-project-backward-compatibility-round-tripping.aspx</link><pubDate>Tue, 08 Nov 2011 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10232219</guid><dc:creator>zainnab</dc:creator><slash:comments>8</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10232219</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10232219</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/11/08/visual-studio-11-developer-preview-project-backward-compatibility-round-tripping.aspx#comments</comments><description>&lt;p&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4426.image_5F00_5B744BBA.png" width="415" height="295" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Probably one of the most welcome new features in VS11DP is the new project backward compatibility feature also known as project round tripping.&amp;#160; Let’s dig into the details.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;The Old Days&lt;/h3&gt;  &lt;p&gt;In all prior incarnations of Visual Studio if you had an older version, VS2008 for example, and opened up the project in a newer version, VS2010 in this case, you had the option to convert the project.&amp;#160; If you did the conversion it was a one-way trip.&amp;#160; You couldn’t open the project again in VS2008 if you tried to go back.&amp;#160; This has been the source of a lot of pain and suffering for developers who have to work with multiple versions of Visual Studio.&amp;#160; We want the cool features of the latest IDE but still want others on our team to be able to open the solution in the older version of Visual Studio when they get the files from source control.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;The New, Happy Days&lt;/h3&gt;  &lt;p&gt;You can now create projects in Visual Studio 2010 with Service Pack 1 then open those projects in Visual Studio 11 Developer Preview and THEN open the project up again in VS2010SP1.&amp;#160; In other words, we now have full project round-tripping capability so you can work with the latest features but still keep the solution compatible with and older version of Visual Studio.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Putting it to the Test&lt;/h3&gt;  &lt;p&gt;Here are the steps you can take to test this for yourself:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Create a project with Visual Studio 2010 with Service Pack 1 and put in a little sample code.&lt;/li&gt;    &lt;li&gt;Save and close the solution.&lt;/li&gt;    &lt;li&gt;Open the solution (CTRL + SHIFT + O) in Visual Studio 11 Developer Preview and add some more code.&amp;#160; Notice there is no longer a prompt to convert the project that appears.&lt;/li&gt;    &lt;li&gt;Save the close the solution.&lt;/li&gt;    &lt;li&gt;Open the project up again in VS2010SP1 and bask in the glory of project round-tripping.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Limitations / Observations&lt;/h3&gt;  &lt;ul&gt;   &lt;li&gt;I know this works with Visual Studio 2010 Service Pack 1 but haven’t tested VS2010 with out the service pack.&amp;#160; I believe it will not work unless you have the service pack but am checking with the team.&lt;/li&gt;    &lt;li&gt;You can’t use this feature with versions older than VS2010.&lt;/li&gt;    &lt;li&gt;When you use any feature specific to the new version of Visual Studio, like changing the Framework to the latest version, then the project cannot be opened in the prior version.&amp;#160; I just changed the framework version from 4.0 to 4.5 for a project and saved it without many any other change and was not able to open the solution in VS2010.&lt;/li&gt; &lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10232219" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=fg4_VinCoiM:EYL6j2IXvyY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=fg4_VinCoiM:EYL6j2IXvyY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=fg4_VinCoiM:EYL6j2IXvyY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=fg4_VinCoiM:EYL6j2IXvyY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=fg4_VinCoiM:EYL6j2IXvyY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/fg4_VinCoiM" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/project+files/">project files</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/project+templates/">project templates</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+11+developer+preview/">visual studio 11 developer preview</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/round+trip/">round trip</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/11/08/visual-studio-11-developer-preview-project-backward-compatibility-round-tripping.aspx</feedburner:origLink></item><item><title>Visual Studio 11 Developer Preview: Quick Launch</title><link>http://feedproxy.google.com/~r/zainnab/~3/3HYF-_zHP7k/visual-studio-11-developer-preview-quick-launch.aspx</link><pubDate>Thu, 29 Sep 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10217951</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10217951</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10217951</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/09/29/visual-studio-11-developer-preview-quick-launch.aspx#comments</comments><description>&lt;p&gt;I’m very excited about the new Quick Launch feature!&amp;#160; You can catch my latest post on this feature on the Visual Studio Team Blog here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/27/visual-studio-11-developer-preview-quick-launch.aspx"&gt;&lt;font size="3"&gt;http://blogs.msdn.com/b/visualstudio/archive/2011/09/27/visual-studio-11-developer-preview-quick-launch.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I’ll be posting some of my material to the various team blogs and, of course, this blog throughout the VS 11 cycle but will always have pointers to the information from here for reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10217951" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=3HYF-_zHP7k:IrGHzrztlEc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=3HYF-_zHP7k:IrGHzrztlEc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=3HYF-_zHP7k:IrGHzrztlEc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=3HYF-_zHP7k:IrGHzrztlEc:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=3HYF-_zHP7k:IrGHzrztlEc:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/3HYF-_zHP7k" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+11+developer+preview/">visual studio 11 developer preview</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/09/29/visual-studio-11-developer-preview-quick-launch.aspx</feedburner:origLink></item><item><title>Visual Studio 11 Developer Preview: Visual Basic (VB) Call Hierarchy</title><link>http://feedproxy.google.com/~r/zainnab/~3/PvAvErf57PU/visual-studio-11-developer-preview-visual-basic-vb-call-hierarchy.aspx</link><pubDate>Tue, 27 Sep 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10217003</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10217003</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10217003</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/09/27/visual-studio-11-developer-preview-visual-basic-vb-call-hierarchy.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hey folks!&amp;nbsp; Well Visual Studio 11 Developer Preview&amp;nbsp;is here and the Visual Studio team has asked me to write about some of the cool new features coming in the next release.&amp;nbsp; My first post, on the new VB Call Hierarchy, can be found at the Visual Basic Team blog here:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a title="http://blogs.msdn.com/b/vbteam/archive/2011/09/20/visual-studio-11-developer-preview-visual-basic-vb-call-hierarchy.aspx" href="http://blogs.msdn.com/b/vbteam/archive/2011/09/20/visual-studio-11-developer-preview-visual-basic-vb-call-hierarchy.aspx"&gt;&lt;span style="font-size: small;" size="3"&gt;http://blogs.msdn.com/b/vbteam/archive/2011/09/20/visual-studio-11-developer-preview-visual-basic-vb-call-hierarchy.aspx&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll be writing more about new features going forward and will either post it here or have a post, like this one, that will show you which VS Team blog you can find my latest work at.&amp;nbsp; Enjoy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10217003" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=PvAvErf57PU:K8v-ntnJEiI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=PvAvErf57PU:K8v-ntnJEiI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=PvAvErf57PU:K8v-ntnJEiI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=PvAvErf57PU:K8v-ntnJEiI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=PvAvErf57PU:K8v-ntnJEiI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/PvAvErf57PU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+11+developer+preview/">visual studio 11 developer preview</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/09/27/visual-studio-11-developer-preview-visual-basic-vb-call-hierarchy.aspx</feedburner:origLink></item><item><title>Windows 8: Under the Hood</title><link>http://feedproxy.google.com/~r/zainnab/~3/dl0y2Oic1eM/windows-8-information.aspx</link><pubDate>Mon, 12 Sep 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10208516</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10208516</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10208516</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/09/12/windows-8-information.aspx#comments</comments><description>&lt;p&gt;I know I normally stick to Visual Studio topics but thought I would throw in some Windows 8 information since that is the platform we will be using going forward.&amp;#160; I’ll mix in Win 8 information through the product lifecycle and pull the covers off interesting pieces that we may want to dig into.&amp;#160; With that said, Steven Sinofsky has been blogging on the new features coming up in the new OS.&amp;#160; You can find his posts at the Building Windows 8 blog found here:&lt;/p&gt;  &lt;h2&gt;&lt;a title="http://blogs.msdn.com/b/b8/" href="http://blogs.msdn.com/b/b8/"&gt;http://blogs.msdn.com/b/b8/&lt;/a&gt;&lt;/h2&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Keep an eye out for more information going forward…&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10208516" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=dl0y2Oic1eM:xRESLevS-CU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=dl0y2Oic1eM:xRESLevS-CU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=dl0y2Oic1eM:xRESLevS-CU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=dl0y2Oic1eM:xRESLevS-CU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=dl0y2Oic1eM:xRESLevS-CU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/dl0y2Oic1eM" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/09/12/windows-8-information.aspx</feedburner:origLink></item><item><title>Coding Faster:  Getting More Productive with Microsoft Visual Studio  --  Getting the Appendix</title><link>http://feedproxy.google.com/~r/zainnab/~3/SnnlxrhZsWU/coding-faster-getting-more-productive-with-microsoft-visual-studio-getting-the-appendix.aspx</link><pubDate>Wed, 07 Sep 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10206472</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10206472</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10206472</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/09/07/coding-faster-getting-more-productive-with-microsoft-visual-studio-getting-the-appendix.aspx#comments</comments><description>&lt;p&gt;Folks I just wanted to call it out since the book doesn&amp;rsquo;t really emphasize it as much as I would like.&amp;nbsp; The appendix is basically a second book that goes with the first.&amp;nbsp; I took the entire body of work and divided it into part that go to print and parts that get put in the appendix area.&amp;nbsp; If you only read the book you are only getting half the content so make sure you do the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download the appendix:&amp;nbsp; &lt;a title="http://go.microsoft.com/fwlink/?linkid=223758" href="http://go.microsoft.com/fwlink/?linkid=223758"&gt;http://go.microsoft.com/fwlink/?linkid=223758&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Please submit a review at the site you purchased the book from and on Amazon where most folks will probably go to get the book:&amp;nbsp; &lt;a href="http://www.amazon.com/gp/product/0735649928"&gt;http://www.amazon.com/gp/product/0735649928&lt;/a&gt;.&amp;nbsp; Also, you can reach me at &lt;a href="mailto:zainnab@microsoft.com"&gt;zainnab@microsoft.com&lt;/a&gt; to give direct feedback.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10206472" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=SnnlxrhZsWU:kFdj9NKtwwM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=SnnlxrhZsWU:kFdj9NKtwwM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=SnnlxrhZsWU:kFdj9NKtwwM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=SnnlxrhZsWU:kFdj9NKtwwM:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=SnnlxrhZsWU:kFdj9NKtwwM:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/SnnlxrhZsWU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/coding+faster+book/">coding faster book</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/09/07/coding-faster-getting-more-productive-with-microsoft-visual-studio-getting-the-appendix.aspx</feedburner:origLink></item><item><title>Visual Studio vNext Performance Enhancements</title><link>http://feedproxy.google.com/~r/zainnab/~3/mLJ3oV71sAA/preparing-for-vnext-performance-enhancements.aspx</link><pubDate>Tue, 06 Sep 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10206021</guid><dc:creator>zainnab</dc:creator><slash:comments>13</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10206021</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10206021</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/09/06/preparing-for-vnext-performance-enhancements.aspx#comments</comments><description>&lt;p&gt;Continuing on our odyssey of exploring the features in vNext, I thought we would look at some of the performance enhancements that have been publicly announced.&amp;#160; Naturally, at this time, I can’t go very deep into the inner-workings of the improvements but will endeavor to list them out and explain somewhat based on information currently available.&amp;#160; Also, be aware that this is a very early look at these features so there will be many improvements made as the product gets closer to RTM.&amp;#160; I’m actually running two versions of vNext currently; the one that will be made available to the public as a pre-release at some point and the one we build internally so I have a pretty good handle on what you will see and what is coming out.&amp;#160; I can say that there are some great things that are being done with the product you will definitely enjoy.&amp;#160; With that said let’s take a look at some of the things we have revealed so far…&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Microsoft Visual Studio IDE Futures&lt;/h2&gt;  &lt;p&gt;First off, if you haven’t seen it yet, most everything I mention comes from the great TechEd session done by Weston Hutchins that can be found here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV326"&gt;http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV326&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Performance: The Four Pillars&lt;/h2&gt;  &lt;p&gt;For vNext we are focused on four areas of investment to improve the product:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Overall Responsiveness&lt;/li&gt;    &lt;li&gt;Long Running Operations&lt;/li&gt;    &lt;li&gt;Memory Utilization&lt;/li&gt;    &lt;li&gt;Better Feedback&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Overall Responsiveness&lt;/h2&gt;  &lt;p&gt;As I review the areas of improvement expect a great deal of overlap as many of the improvements fall into multiple categories.&amp;#160; With that said, this area is pretty self-explanatory:&amp;#160; We want vNext to enable users to quickly go about their work without waiting on the IDE.&amp;#160; These improvements manifest themselves in a variety of ways but all have the singular goal of making the product more responsive.&amp;#160; Below are some of the areas that address this goal that we have made public so far. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Faster, Stronger, Better Add Reference Dialog&lt;/h3&gt;  &lt;p&gt;One of the IDE enhancements revealed so far is Add Reference dialog box.&amp;#160; First and foremost it has been supercharged to load almost instantaneously.&amp;#160; How?&amp;#160; We index the assemblies beforehand to have a ready-made list on demand.&amp;#160; We haven’t gone into detail yet on what exactly is being done but expect that revelation in due course.&amp;#160; Also, as with most of the IDE, we have added the ability to search/filter the list so you don’t spend a billion years looking for the assembly you want.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Out-of-Process Operations&lt;/h3&gt;  &lt;p&gt;We have moved some activities out-of-process to give control back to the IDE quickly.&amp;#160; See Memory Utilization.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Parallel Operations&lt;/h3&gt;  &lt;p&gt;vNext will take advantage of multi-core systems much better than VS2010 which will result in more overall responsiveness.&amp;#160; See Long Running Operations.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Long Running Operations &lt;/h2&gt;  &lt;p&gt;Building and debugging are examples of a long-running operations that we are addressing.&amp;#160; For example, Visual Studio 2010, while a great improvement over previous versions, really doesn’t take full advantage of multi-processor machines.&amp;#160; Our goal is to speed things up so you can get your work done faster with less time spent waiting.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Background Builds &lt;/h3&gt;  &lt;p&gt;Build operations have now been moved to background threads so you can actually do other things in Visual Studio while a build is happening.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Parallel Project Builds&lt;/h3&gt;  &lt;p&gt;Another great new feature is the ability to build projects in parallel.&amp;#160; vNext comes with an option to have parallel project builds based on the number of cores your system has.&amp;#160; In fact, the default value is automatically set to the max cores on your system.&amp;#160; You can reduce this value if you want.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Memory Utilization &lt;/h2&gt;  &lt;p&gt;Responsiveness also includes the overall efficiency of Visual Studio.&amp;#160; We are working on reducing the memory utilization overall based on usage.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Virtual Memory Utilization&lt;/h3&gt;  &lt;p&gt;vNext uses much less virtual memory internally.&amp;#160; Much of this is due to running builds out-of-process (see below) as well as other enhancements we have made that haven’t been released yet.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Out-Of-Process Builds (C++, C#)&lt;/h3&gt;  &lt;p&gt;C++ has had this feature for a while and we are now brining it to C# and, in a future release sometime after vNext, VB as well.&amp;#160; We now perform builds outside the Visual Studio process.&amp;#160; Instead of loading numerous referenced assemblies inside the VS process they are now loaded into an external process then discarded when we are done.&amp;#160; This results in significantly less memory usage inside Visual Studio which results in a more responsive, stable product.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Better Feedback&lt;/h2&gt;  &lt;p&gt;This one is really simple.&amp;#160; How do we get the best information possible when there are issues with the product so we can continuously improve it for you?&amp;#160; Solving for this question is never easy but we have devised ways of obtaining performance data from your actual use of the product to help strengthen our knowledge of areas that need to be addressed.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;PerfWatson, PerfWatson, PerWatson&lt;/h3&gt;  &lt;p&gt;The number one tool you can download TODAY to give us feedback on VS2010 and vNext is PerfWatson.&amp;#160; You can get it from the Visual Studio Gallery here:&lt;/p&gt;  &lt;p&gt;&lt;a title="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441" href="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441"&gt;http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This tool allows us to get up-to-date, immediate information on the issues that are impacting performance.&amp;#160; This tool is currently built into the pre-release version of vNext and, I suspect, we will include it in the RTM version as well with an option for you to turn it off if you don’t want it.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Visual Studio Feedback on Connect&lt;/h3&gt;  &lt;p&gt;If you haven’t gone to &lt;a title="http://connect.microsoft.com/VisualStudio/" href="http://connect.microsoft.com/VisualStudio/"&gt;http://connect.microsoft.com/VisualStudio/&lt;/a&gt; yet then you need to.&amp;#160; This is one of the main ways we have been getting directed feedback from you for some time now.&amp;#160; It’s a great way to get to see what others are saying and to communicate directly with the VS team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10206021" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=mLJ3oV71sAA:YJfOlhL_7Qs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=mLJ3oV71sAA:YJfOlhL_7Qs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=mLJ3oV71sAA:YJfOlhL_7Qs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=mLJ3oV71sAA:YJfOlhL_7Qs:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=mLJ3oV71sAA:YJfOlhL_7Qs:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/mLJ3oV71sAA" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vNext/">vNext</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/09/06/preparing-for-vnext-performance-enhancements.aspx</feedburner:origLink></item><item><title>Visual Studio vNext IDE Enhancements</title><link>http://feedproxy.google.com/~r/zainnab/~3/Y6FoUPpV94A/visual-studio-vnext-ide-enhancements.aspx</link><pubDate>Thu, 01 Sep 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10204107</guid><dc:creator>zainnab</dc:creator><slash:comments>12</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10204107</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10204107</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/09/01/visual-studio-vnext-ide-enhancements.aspx#comments</comments><description>&lt;p&gt;===&lt;/p&gt;  &lt;p&gt;Quick Housekeeping Note:&amp;#160; I’ve deprecated the old Visual Studio Tips extension and have tried to get it removed from the gallery so it isn’t available anymore but have had little success.&amp;#160; I am currently not planning to replace the tool with a new version but am open to suggestions as to a viable alternative.&amp;#160; For now I suggest you use your favorite RSS feeder or visit the blog directly.&amp;#160; Now on with the post…&lt;/p&gt;  &lt;p&gt;===&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;With the BUILD conference (&lt;a title="http://www.buildwindows.com/" href="http://www.buildwindows.com/"&gt;http://www.buildwindows.com/&lt;/a&gt;) just around the corner and lots of announcements coming I thought now would be a good time to pause the usual posts and talk about the next version of Visual Studio (vNext) and how you can prepare for some of the goodness to come.&amp;#160; This is a high-level look at what is coming and I will be blogging in much more detail on the features throughout the vNext cycle.&amp;#160; With that said, I’ve intentionally left out any images of the IDE for this post in favor of brief feature descriptions.&amp;#160; Additionally, I will be blogging and tweeting directly from the BUILD conference while I am there to keep you up to date on the latest revelations that are coming out.&amp;#160; To get a sneak preview of some of the features make sure to see the following video:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Microsoft Visual Studio IDE Futures&lt;/h3&gt;  &lt;p&gt;&lt;a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV326" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV326"&gt;http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV326&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;vNow&lt;/h2&gt;  &lt;p&gt;Visual Studio 2010 introduced a great new extensibility model that made custom additions very easy to make.&amp;#160; You can find these extensions at the Visual Studio Gallery (&lt;a title="http://visualstudiogallery.msdn.microsoft.com/" href="http://visualstudiogallery.msdn.microsoft.com/"&gt;http://visualstudiogallery.msdn.microsoft.com/&lt;/a&gt;)&amp;#160; and, if you haven’t explored some of these great additions, I suggest you browse through the gallery to see the items there.&amp;#160; When asked which extension I suggest everyone download the number one answer I give is always been the Productivity Power Tools (&lt;a title="http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef?SRC=Home" href="http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef?SRC=Home"&gt;http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef?SRC=Home&lt;/a&gt;).&amp;#160; Download it now.&amp;#160; Seriously.&amp;#160; Now.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;We have (and will going forward) use extensions to field test new features that will be included in future versions of Visual Studio and it is a safe bet that some of the Power Tools will find their way into the vNext.&amp;#160; If you watched the video mentioned above you will hear Weston Hutchins mention this as well.&amp;#160; What better way to see what people want than to let them vote by actually downloading and using a feature?&amp;#160; Granted it’s a little harder to focus on individual features when a lot are packed together but, even then, we get plenty of feedback on what people like and don’t like.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;vNext&lt;/h2&gt;  &lt;p&gt;Once we get beyond VS2010 then we can start looking at the new features that have been publicly revealed so far.&amp;#160; Here is a list of things you can expect in the next version:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Project Round-Tripping&lt;/h3&gt;  &lt;p&gt;One of the bigger pains in prior versions of Visual Studio is moving a project between versions.&amp;#160; It was an all-or-nothing proposition typically due to schema changes to the proj files.&amp;#160; If you opened a VS2008 project in VS2010 and converted it to the new project format then that project could no longer be opened in the prior version.&amp;#160; For those that have experienced this you know this wasn’t entirely true and you could do a little proj file hacking to go back but it wasn’t fun or intuitive to do so.&amp;#160; Visual Studio vNext will solve that issue.&amp;#160; You will now have the ability to open a project in the new version of Visual Studio and still go back to prior versions.&amp;#160; The net effect is you can have different teams on different versions of Visual Studio but still able to share projects with each other!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Search the IDE&lt;/h3&gt;  &lt;p&gt;With the dizzying array of menu items, toolbar buttons, options, files, etc… it is often difficult to remember where a particular item exists.&amp;#160; VS vNext adds the ability to quickly search the IDE for these things.&amp;#160; A good analogy would be to compare it to the ability to search programs and files when you click on the start button in Windows.&amp;#160; I don’t know about you but I don’t look for files anymore for the most part, I just hit my Windows key then type in what I am looking for then select what I want.&amp;#160; Imagine that level of functionality inside the Visual Studio IDE and you have an idea of what this new feature does.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Solution Explorer Enhancements&lt;/h3&gt;  &lt;h4&gt;Multiple Instances of Solution Explorer&lt;/h4&gt;  &lt;p&gt;vNext supports creating new instances of Solution Explorer so you can have focused areas (one project in one instance and another project in a second instance) for working on multiple monitors.&amp;#160; Additionally these instances can be nested inside windows that have been pulled outside the IDE for use on other monitors.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Navigation&lt;/h4&gt;  &lt;p&gt;In the Productivity Power Tools we introduced the Solution Navigator with some cool new features that have found their way into the new IDE.&amp;#160; The ability to drill down into the classes then members from Solution Explorer now exists.&amp;#160; You can right-click, say, a method in Solution Explorer and see some new terminology:&amp;#160; Calls, Is Called By, and Is Used By.&amp;#160; Calls represents the call hierarchy for the method; Is Called By represents a list of methods that call the current method; and Is Used By represents all the specific file, line, and column positions where the method is mentioned.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Search&lt;/h4&gt;  &lt;p&gt;Much like the new search for the IDE, we now have a new search for just the items in Solution Explorer.&amp;#160; You can quickly type in a file, class, reference, etc… and see a filtered list in Solution Explorer of the items you are looking for.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Collapse All&lt;/h4&gt;  &lt;p&gt;A long-awaited feature that will collapse everything in Solution Explorer so you can expand items “fresh” as you navigate though the various hierarchies.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Tab Well Enhancements&lt;/h3&gt;  &lt;h4&gt;Pin Tabs&lt;/h4&gt;  &lt;p&gt;Another feature introduced in the Productivity Power Tools, this feature will let you keep interesting tabs surfaced on the left of the tab well while non-pinned tabs get pushed out of the visible area based on usage.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Floating Tab Wells&lt;/h4&gt;  &lt;p&gt;You can now rip off documents from the IDE and have multiple tabs grouped together in one or more floating tab wells.&amp;#160; This is great for multi-monitor situations where you want groups of related files on separate monitors.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Search Toolbox&lt;/h3&gt;  &lt;p&gt;There is now a dedicated search box for the Toolbox window so you can quickly filter items to find the controls you want.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Add Reference Dialog&lt;/h3&gt;  &lt;p&gt;The most notable change to the Add Reference dialog is speed.&amp;#160; It is way, waaaaay faster to add a reference with the new dialog than ever before.&amp;#160; Also, a search box has been added to allow quick filtering of assemblies.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Streamlined Quick Find / Replace&lt;/h3&gt;  &lt;p&gt;The Quick Find / Replace has been cleaned up and streamlined to make using the experience easier overall.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Error List Window Enhancements&lt;/h3&gt;  &lt;h4&gt;Search Errors&lt;/h4&gt;  &lt;p&gt;As with many other tool windows, the Error List window now sports a search box you can use to filter the list of errors, warnings, and information messages.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Scope Filter&lt;/h4&gt;  &lt;p&gt;The Error List window also now supports a scope filter that lets you show only those items in Open Documents, the Current Project, or the Current Document.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Preview Tab&lt;/h3&gt;  &lt;p&gt;Probably one of the coolest new changes is the Preview Tab.&amp;#160; Essentially it allows you to look at a preview of a file and decide if you want that file to be opened up in the tab well.&amp;#160; I’ll show much more on this feature later but wanted to mention it here to round out the list of items I will be covering in the short-term.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Finally&lt;/h2&gt;  &lt;p&gt;There are a lot of very cool changes coming in Visual Studio vNext.&amp;#160; This post is meant to make you aware of the coming changes at a high-level to prepare you for a deeper discussion of each of these features in future posts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10204107" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Y6FoUPpV94A:zlYce-LT5wQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Y6FoUPpV94A:zlYce-LT5wQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=Y6FoUPpV94A:zlYce-LT5wQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=Y6FoUPpV94A:zlYce-LT5wQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=Y6FoUPpV94A:zlYce-LT5wQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/Y6FoUPpV94A" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vNext/">vNext</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/09/01/visual-studio-vnext-ide-enhancements.aspx</feedburner:origLink></item><item><title>Now Shipping!  Coding Faster:  Getting More Productive with Visual Studio  (Covers Microsoft Visual Studio 2005, 2008, and 2010)</title><link>http://feedproxy.google.com/~r/zainnab/~3/chw0D27Dvaw/now-shipping-coding-faster-getting-more-productive-with-visual-studio-covers-microsoft-visual-studio-2005-2008-and-2010.aspx</link><pubDate>Tue, 30 Aug 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10202355</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10202355</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10202355</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/30/now-shipping-coding-faster-getting-more-productive-with-visual-studio-covers-microsoft-visual-studio-2005-2008-and-2010.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://www.amazon.com/gp/product/0735649928"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" border="0" src="http://ecx.images-amazon.com/images/I/51u2m3FgNSL._SS500_.jpg" width="356" height="356" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;At long last it is with great pride that I can officially announce the availability our new book!&amp;nbsp; After a year of work and a few interesting speed bumps along the way the book is now in stores world-wide.&amp;nbsp; If you want the best price that I have seen so far, I suggest you go to Amazon:&lt;/p&gt;
&lt;p&gt;&lt;a title="http://www.amazon.com/gp/product/0735649928" href="http://www.amazon.com/gp/product/0735649928"&gt;http://www.amazon.com/gp/product/0735649928&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you get a copy of the book, Sara and I would love to hear what you think about it and any improvements you would like to see in the next revision.&amp;nbsp; You can email me at &lt;a href="mailto:zainnab@microsoft.com"&gt;zainnab@microsoft.com&lt;/a&gt; with your comments / suggestions / etc..&amp;nbsp; Also, if you get a chance, please make sure to &lt;a href="http://www.amazon.com/review/create-review/ref=dp_top_cm_cr_acr_wr_link?ie=UTF8&amp;amp;nodeID=&amp;amp;asin=0735649928"&gt;give a review on Amazon&lt;/a&gt;&amp;nbsp; and/or the &lt;a href="http://oreilly.com/catalog/0790145309846/write_review"&gt;O&amp;rsquo;Reilly web site&lt;/a&gt; so others will know if they should buy the book or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For those who aren&amp;rsquo;t regular readers of this blog, here is the basic information from the main &lt;a href="http://oreilly.com/catalog/0790145309846"&gt;O&amp;rsquo;Reilly&lt;/a&gt; book site:&lt;/p&gt;
&lt;h2&gt;Description&lt;/h2&gt;
&lt;p&gt;Take a detailed look into Visual Studio&amp;mdash;and learn practical techniques to help you work more efficiently. This fully revised and expanded version of &lt;i&gt;Visual Studio Tips: 251 Ways to Improve Your Productivity&lt;/i&gt; includes a comprehensive collection of tips and shortcuts for working with the code editor, visual designers, searches, debugger, and other features in Visual Studio 2005, 2008, and 2010.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Expert advice to help you work smarter and increase your productivity with Visual Studio.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Take a detailed look into Visual Studio&amp;mdash;and learn practical techniques to help you work more efficiently. This fully revised and expanded version of &lt;i&gt;Visual Studio Tips: 251 Ways to Improve Your Productivity&lt;/i&gt; includes a comprehensive collection of tips and shortcuts for working with the code editor, visual designers, searches, debugger, and other features in Visual Studio 2005, 2008, and 2010. You'll gain valuable insights for using this IDE&amp;mdash;no matter what your experience level.&lt;/p&gt;
&lt;p&gt;Discover how to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Change development settings and keyboard mappings to optimize your efficiency&lt;/li&gt;
&lt;li&gt;Save time initiating a new project by creating custom templates&lt;/li&gt;
&lt;li&gt;Uncover secrets for working with the toolbox, commands, and window layouts&lt;/li&gt;
&lt;li&gt;Work with files in more practical ways, such as using the File Tab Channel&lt;/li&gt;
&lt;li&gt;Use the Editor more effectively with tips on selecting and manipulating code&lt;/li&gt;
&lt;li&gt;Apply techniques to help reduce the time you spend debugging code&lt;/li&gt;
&lt;li&gt;Create Visual Studio extensions to increase your development productivity&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Acknowledgements&lt;/h2&gt;
&lt;p&gt;I thought it would be appropriate to list the acknowledgements for the book here again to thank those who had an impact on our lives and on the book:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jane and Louie Smolensky / Beulah Bourgeois / Annabelle Fayard / Helen Naboulsi / Russell Chandler&lt;/strong&gt;&amp;mdash;Our immediate friends and family.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Russell Jones and Adam Zaremba&lt;/strong&gt;&amp;mdash;Editors at O&amp;rsquo;Reilly Media, who herded the cats to make &lt;br /&gt;this book happen.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Kevin Stevens&lt;/strong&gt;&amp;mdash;Who came up with the name of the book and was instrumental in the &lt;br /&gt;technical review process.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Paul Millsaps and Bill Needels&lt;/strong&gt;&amp;mdash;For doing some of the technical review for the book.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Sean Laberee&lt;/strong&gt;&amp;mdash;Senior Program Manager Lead at Microsoft who helped both Sara and me &lt;br /&gt;get started with Tips and Tricks.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Dustin Campbell&lt;/strong&gt;&amp;mdash;Program Manager at Microsoft who continues to be a constant source of &lt;br /&gt;information when I get stuck on a feature or concept.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Brittany Behrens&lt;/strong&gt;&amp;mdash;Program Manager at Microsoft who helped me during those first tenuous &lt;br /&gt;days after I took over Sara&amp;rsquo;s work.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Matt Manela&lt;/strong&gt;&amp;mdash;for writing the content for the Snippet Designer extension.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Andrew Steele&lt;/strong&gt;&amp;mdash;for writing the content for the Productivity Power Tools extension.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Jim Christopher&lt;/strong&gt;&amp;mdash;for writing the content for both the GhostDoc and the StudioShell &lt;br /&gt;extensions.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Terry Leeper&lt;/strong&gt;&amp;mdash;Principal Architect, Windows C++ Team, my main contact with the C++ folks &lt;br /&gt;and a good friend that has helped me resolve questions about features since I started doing &lt;br /&gt;the tips.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Lisa Feigenbaum and Beth Massi&lt;/strong&gt;&amp;mdash;Program Managers at Microsoft who constantly provided &lt;br /&gt;guidance and support as the content of the book evolved.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Brian Moore&lt;/strong&gt;&amp;mdash;Director, DPE Central Region, for providing support and being a great manager.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Clint Edmonson&lt;/strong&gt;&amp;mdash;Senior Architect Evangelist at Microsoft who I have toured with throughout &lt;br /&gt;the country delivering Visual Studio talks to thousands of people.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Phil Wheat&lt;/strong&gt;&amp;mdash;My best friend at Microsoft and a constant source of information. Phil is easily &lt;br /&gt;the smartest person I know.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Jared Bienz, Mike Azocar&lt;/strong&gt;&amp;mdash;Very good friends who have been great to bounce ideas around &lt;br /&gt;as I worked on the book.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Rob Bagby, Mike Benkovich, John Weston, Keith Combs&lt;/strong&gt;&amp;mdash;My old Microsoft Across America &lt;br /&gt;buddies.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Finally, Sara Ford wishes to thank &lt;strong&gt;Dr. Terrance Delaney and Dr. Michael McMurray&lt;/strong&gt; for fixing &lt;br /&gt;her chronic shin splints during the course of writing this book.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10202355" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=chw0D27Dvaw:pXgarSCUmrA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=chw0D27Dvaw:pXgarSCUmrA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=chw0D27Dvaw:pXgarSCUmrA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=chw0D27Dvaw:pXgarSCUmrA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=chw0D27Dvaw:pXgarSCUmrA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/chw0D27Dvaw" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2008/">visual studio 2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2008/">vs2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010/">vs2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Visual+Studio+Tips+and+Tricks/">Visual Studio Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2005/">visual studio 2005</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2005/">vs2005</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010+sp1/">vs2010 sp1</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010+service+pack+1/">visual studio 2010 service pack 1</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/30/now-shipping-coding-faster-getting-more-productive-with-visual-studio-covers-microsoft-visual-studio-2005-2008-and-2010.aspx</feedburner:origLink></item><item><title>Static Code Analysis – Understanding the Predefined Rules</title><link>http://feedproxy.google.com/~r/zainnab/~3/NzBCb3s-cg4/static-code-analysis-understanding-the-predefined-rules.aspx</link><pubDate>Thu, 25 Aug 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10200006</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10200006</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10200006</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/25/static-code-analysis-understanding-the-predefined-rules.aspx#comments</comments><description>&lt;p&gt;SKU: Premium, Ultimate&lt;/p&gt;  &lt;p&gt;Versions: 2010&lt;/p&gt;  &lt;p&gt;Code: vstipTool0140&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;In vstipTool139 (“Static Code Analysis – Simple Code Analysis”) we scratched the surface of code analysis for a simple class. Now we will begin to delve deeper into the extensive set of predefined rules available out-of-the-box in Visual Studio. In these examples I will be using Visual Studio 2010 however most of the rules exist in Visual Studio 2008 as well. To see the list of the differences in rules read this article from the Code Analysis Team blog:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/b/codeanalysis/archive/2010/03/22/what-s-new-in-code-analysis-for-visual-studio-2010.aspx"&gt;http://blogs.msdn.com/b/codeanalysis/archive/2010/03/22/what-s-new-in-code-analysis-for-visual-studio-2010.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The biggest difference between Visual Studio 2008 and 2010 is the creation and management of rule sets which is why I have the version set to 2010 only. The new way to manage rules makes it very easy to work with existing rules in a multitude of ways. Also, I am limiting myself to managed code rules for these examples but the same techniques apply to unmanaged code rules as well. Without further ado, let’s explore some of the ways we can work with predefined rules.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;First, create a new class library project in C# or VB then go to the project properties. Click on the Code Analysis tab inside the project properties. You should see the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1524.image_5F00_1FEE03FA.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8877.image_5F00_thumb_5F00_4D02F0C8.png" width="600" height="280" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The first choice you are faced with is which set of predefined rules to use. By default the Microsoft Minimum Recommended Rules will be applied however if you click on the dropdown list for the rule sets you will see many more options to choose from:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5722.image_5F00_56E7E233.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3175.image_5F00_thumb_5F00_6B6D31B1.png" width="450" height="240" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This table lays out the names and general purpose of each of the available managed predefined rule sets:   &lt;table border="1" cellspacing="0" cellpadding="0"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;Rule Set&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Description&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264971.aspx"&gt;Microsoft All Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;This rule set contains all rules. If you run this rule set, a large number of warnings might be reported. Use this rule set to get a comprehensive picture of all issues in your code. This approach can help you decide which of the more focused rule sets are most appropriate to run for your projects.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264935.aspx"&gt;Microsoft Basic Correctness Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;These rules focus on logic errors and common mistakes made in the usage of framework APIs. Include this rule set to expand on the list of warnings that the minimum recommended rules report.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264947.aspx"&gt;Microsoft Basic Design Guideline Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;These rules focus on enforcing best practices to make your code easy to understand and use. Include this rule set if your project includes library code or if you want to enforce best practices for easily maintainable code.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264929.aspx"&gt;Microsoft Extended Correctness Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;These rules expand on the basic correctness rules to maximize the number of logic and framework usage errors that are reported. These rules emphasize specific scenarios such as COM interoperability and mobile applications. Consider including this rule set if one of these scenarios applies to your project or to find additional problems in your project.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264967.aspx"&gt;Microsoft Extended Design Guideline Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;These rules expand on the basic design guideline rules to maximize the number of usability and maintainability issues that are reported. These rules emphasize naming guidelines. Consider including this rule set if your project includes library code or if you want to enforce the highest standards for writing maintainable code.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264912.aspx"&gt;Microsoft Globalization Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;These rules focus on problems that prevent data in your application from appearing correctly in different languages, locales, and cultures. Include this rule set if your application is localized, globalized or both.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264893.aspx"&gt;Microsoft Minimum Recommended Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;These rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors. You should include this rule set in any custom rule set that you create for your projects.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd264921.aspx"&gt;Microsoft Security Rules&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;This rule set contains all Microsoft security rules. Include this rule set to maximize the number of potential security issues that are reported.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/p&gt;  &lt;p&gt;Note: You can find this table in the documentation at &lt;a href="http://msdn.microsoft.com/en-us/library/dd264925(VS.100).aspx"&gt;http://msdn.microsoft.com/en-us/library/dd264925(VS.100).aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;At a high level the rules deal with correctness, design, globalization, and security issues. Since we are creating a class library it might make sense for us to use the design guidelines based on the description. Pick the Microsoft Extended Design Guideline Rules for our project then click the Open button so we can explore the details:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3678.image_5F00_2ED53314.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0066.image_5F00_thumb_5F00_0DE1C06D.png" width="600" height="290" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;NOTE: Keep one thing in mind as you explore these rules: there is no “one size fits all” solution. Your final rule set will almost always consist of several other rules that you feel are best for your needs.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;We’ll get to the inner workings of this editor in a later post but, for now, focus on the ID column. Take note of the various categories we can expand to get details. Below is a list of these categories and what they represent:   &lt;table border="1" cellspacing="0" cellpadding="0"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;Category&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Description&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182125.aspx"&gt;Design Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support correct library design as specified by the .NET Framework Design Guidelines.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182184.aspx"&gt;Globalization Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support world-ready libraries and applications.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182193.aspx"&gt;Interoperability Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support interaction with COM clients.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182211.aspx"&gt;Maintainability Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support library and application maintenance.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182218.aspx"&gt;Mobility Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support efficient power usage.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182232.aspx"&gt;Naming Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support adherence to the naming conventions of the .NET Framework Design Guidelines.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182260.aspx"&gt;Performance Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support high-performance libraries and applications.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182282.aspx"&gt;Portability Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support portability across different platforms.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182287.aspx"&gt;Reliability Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support library and application reliability, such as correct memory and thread usage.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182296.aspx"&gt;Security Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support safer libraries and applications.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top"&gt;           &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms182324.aspx"&gt;Usage Warnings&lt;/a&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top"&gt;           &lt;p&gt;Warnings that support appropriate usage of the .NET Framework.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/p&gt;  &lt;p&gt;Note: You can find this table in the documentation at &lt;a href="http://msdn.microsoft.com/en-us/library/ee1hzekz.aspx"&gt;http://msdn.microsoft.com/en-us/library/ee1hzekz.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The number of rules you deal with in each category depends on the rule set you have chosen. For example, the extended design rule set has about 60 design rules, 2 globalization rules, and 7 interoperability rules among the other rules in this set:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6646.image_5F00_3AF6AD3B.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4572.image_5F00_thumb_5F00_01076A4F.png" width="600" height="335" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;By now you have no doubt noticed the warning just below the toolbar in this editor. You are just exploring the rules for now but when we modify the rules in a later tip you will have to save your changes to a new rule set file. Don’t be intimidated by rule set files, they are just XML files. Here is a piece of the extended design rule set in Notepad:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0044.image_5F00_790FC7EC.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2021.image_5F00_thumb_5F00_1F71AB38.png" width="500" height="225" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Back in our rule set editor, expand the Microsoft.Design category and select rule CA1044:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3107.image_5F00_3EB4520B.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0535.image_5F00_thumb_5F00_1E2D1259.png" width="600" height="222" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The first time you select a rule, you will be presented with this choice at the bottom of the rule set editor:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1440.image_5F00_287E36B9.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4744.image_5F00_thumb_5F00_67DBEA49.png" width="600" height="178" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I suggest leaving the default settings and then click the OK button. When you do, you will then see the help entry for the rule you are currently looking at:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7713.image_5F00_27399DDA.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0550.image_5F00_thumb_5F00_1BA3E09B.png" width="600" height="255" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;At this point we have gone from understanding the basic function of the predefined rule sets to understanding the categories of the rules in a set to understanding individual rules. From here you can explore the different rule sets and each of the rules in those sets to determine what rules may be interesting to you going forward. We will learn more about navigating these rule sets in the next tip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10200006" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=NzBCb3s-cg4:a9dPlV1ceLk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=NzBCb3s-cg4:a9dPlV1ceLk:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=NzBCb3s-cg4:a9dPlV1ceLk:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=NzBCb3s-cg4:a9dPlV1ceLk:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=NzBCb3s-cg4:a9dPlV1ceLk:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/NzBCb3s-cg4" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio/">visual studio</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+analysis/">code analysis</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010/">vs2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010+new+features/">vs2010 new features</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010+sp1/">vs2010 sp1</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010+service+pack+1/">visual studio 2010 service pack 1</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/rules/">rules</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/rule+set+editor/">rule set editor</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/rule+set/">rule set</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/25/static-code-analysis-understanding-the-predefined-rules.aspx</feedburner:origLink></item><item><title>Static Code Analysis (aka FxCop)  – Simple Code Analysis</title><link>http://feedproxy.google.com/~r/zainnab/~3/SvbLUNAdezM/static-code-analysis-aka-fxcop-simple-code-analysis.aspx</link><pubDate>Tue, 23 Aug 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198778</guid><dc:creator>zainnab</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10198778</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10198778</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/23/static-code-analysis-aka-fxcop-simple-code-analysis.aspx#comments</comments><description>&lt;p&gt;SKU: Premium, Ultimate&lt;/p&gt;  &lt;p&gt;Versions: 2008, 2010&lt;/p&gt;  &lt;p&gt;Code: vstipTool0139&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;In my extensive travels with my good friend Clint Edmonson (&lt;a href="http://www.notsotrivial.net/blog/"&gt;http://www.notsotrivial.net/blog/&lt;/a&gt;) we found yet another feature available in Visual that seems to be underutilized: Static Code Analysis. After some digging, we discovered many people don’t realize they have this feature already and can use it anytime they want to warn of possible issues. I thought it would be instructive to start with a basic understanding of code analysis and, in a series of tips, dig into the specific implementation.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Let’s begin with a basic definition from Wikipedia on static code/program analysis:&lt;/p&gt;  &lt;p&gt;“Static program analysis is the analysis of computer software that is performed without actually executing programs built from that software (analysis performed on executing programs is known as dynamic analysis). In most cases the analysis is performed on some version of the source code and in the other cases some form of the object code. The term is usually applied to the analysis performed by an automated tool, with human analysis being called program understanding, program comprehension or code review.”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/Static_code_analysis"&gt;http://en.wikipedia.org/wiki/Static_code_analysis&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Essentially, we have a set of rules that we use to examine our code and see if there are any issues that arise.&amp;#160; Static code analysis is a great way to avoid common pitfalls in your code.&amp;#160; Not only can you use a set of predefined rule sets but you can make your own rule sets from existing rules and even create custom rules specific to your needs.&lt;/p&gt;  &lt;h3&gt;&amp;#160;&lt;/h3&gt;  &lt;p&gt;Given the complexity of this topic the best way to learn is by doing. So let’s go through a simple example using code analysis. First, create a new C# class library project (give it any name you want) and then create a method as I have done here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7774.image_5F00_372AACA9.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4456.image_5F00_thumb_5F00_288000C4.png" width="375" height="155" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;By default, projects are set to use the Microsoft Minimum Recommended Rules set which essentially does what is says and ensures the bare minimum set of rules are applied when used. I’ll get into the details of what those rules are in later tips but, for now, let’s see if there are any issues that crop up with this small set of rules. Right-click your project in Solution Explorer and choose Run Code Analysis:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5633.image_5F00_35E613CA.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0456.image_5F00_thumb_5F00_006D51A5.png" width="374" height="218" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Problems will show up in your Error List window as errors or warnings. Notice we have neither in this case which shows that there aren’t any violations with the minimal rule set. Now let’s go to the other extreme and apply the strictest rule set possible. Go into your project properties and click the Code Analysis tab:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8764.image_5F00_1FAFF878.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0841.image_5F00_thumb_5F00_1B3977B1.png" width="178" height="204" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Notice the Rule Set area? Click the drop-down list under Run This Rule Set to see the list of rules that are available and select Microsoft All Rules from the list:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8688.image_5F00_13AE0844.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3554.image_5F00_thumb_5F00_0C2298D7.png" width="548" height="261" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Note the description for this rule set:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/4456.image_5F00_5D5CE034.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6201.image_5F00_thumb_5F00_5CF0AD3F.png" width="437" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This will produce the largest amount of noise in your Error List window so be warned. I only suggest using this rule set as a way to find out what rules apply to certain areas of your code. To my knowledge only internal Microsoft developers are regularly required to use this level of strictness.&lt;/p&gt;  &lt;p&gt;Now that you are using this new rule set, right-click your project in Solution Explorer and run code analysis again. Notice we now get some warnings that we can address:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5040.image_5F00_1BE22DDB.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0434.image_5F00_thumb_5F00_703163DE.png" width="372" height="343" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You are welcome to explore these warnings on your own to get more detail. Just click any warning and press F1 to get help on it. Right now I am just interested in the last one in the list called CA1801. It’s definitely telling us we need to either use the parameter for the method or remove it. We could correct the issue:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5040.image_5F00_5A677B81.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3554.image_5F00_thumb_5F00_35D5EDFD.png" width="375" height="180" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then rerun code analysis to make sure it passes the check:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7271.image_5F00_312FBD76.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2084.image_5F00_thumb_5F00_10A87DC4.png" width="345" height="316" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;At this point you have just enough information to scratch the surface of code analysis. We will continue to dig deeper into this amazing feature over the next few tips.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198778" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=SvbLUNAdezM:kHonqLdMxpI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=SvbLUNAdezM:kHonqLdMxpI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=SvbLUNAdezM:kHonqLdMxpI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=SvbLUNAdezM:kHonqLdMxpI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=SvbLUNAdezM:kHonqLdMxpI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/SvbLUNAdezM" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio/">visual studio</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2008/">visual studio 2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2008/">vs2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+analysis/">code analysis</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010/">vs2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010+sp1/">vs2010 sp1</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/premium/">premium</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/ultimate/">ultimate</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/static+code+analysis/">static code analysis</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/23/static-code-analysis-aka-fxcop-simple-code-analysis.aspx</feedburner:origLink></item><item><title>Code Metrics: Working with Columns</title><link>http://feedproxy.google.com/~r/zainnab/~3/03uIgrwZvOw/code-metrics-working-with-columns.aspx</link><pubDate>Thu, 18 Aug 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194571</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10194571</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10194571</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/18/code-metrics-working-with-columns.aspx#comments</comments><description>&lt;p&gt;Windows: Alt, V, M (press several times), Enter&lt;/p&gt;  &lt;p&gt;Menu: View | Other Windows | Code Metrics Results&lt;/p&gt;  &lt;p&gt;Command: View.CodeMetricsResults&lt;/p&gt;  &lt;p&gt;SKU: Premium, Ultimate&lt;/p&gt;  &lt;p&gt;Versions: 2008, 2010&lt;/p&gt;  &lt;p&gt;Languages: C++ (managed only), C#, VB&lt;/p&gt;  &lt;p&gt;Code: vstipTool0138&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The last top on our tour of the Code Metrics Results window is how to work with columns. Sadly the tool window is surprisingly lacking in some features we see in other windows. Let’s take a look at some of the features when working with columns.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;&lt;font style="font-weight: bold"&gt;Adding or Removing Columns&lt;/font&gt;&lt;/h3&gt;  &lt;p&gt;Choosing the columns you want is really easy. Just use the Add/Remove Columns button:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0474.image_5F00_40E70BAB.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3036.image_5F00_thumb_5F00_6748EEF6.png" width="239" height="154" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Or right-click anywhere in the window and choose Add/Remove Columns:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5280.image_5F00_3478E882.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7652.image_5F00_thumb_5F00_1B10E548.png" width="350" height="172" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;You get a dialog that allows you to select the columns you want to be visible:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8321.image_5F00_5A6E98D8.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8802.image_5F00_thumb_5F00_5E0CB3B5.png" width="416" height="385" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;&lt;font style="font-weight: bold"&gt;Sorting&lt;/font&gt;&lt;/h3&gt;  &lt;p&gt;You can sort by any column by clicking on the column header which gives an indicator for ascending or descending sorts respectively:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1376.image_5F00_4B57B9FE.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3531.image_5F00_thumb_5F00_0B21A084.png" width="179" height="58" /&gt;&lt;/a&gt;&amp;#160;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1057.image_5F00_5CC81AD6.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0407.image_5F00_thumb_5F00_4A7F5414.png" width="179" height="59" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Unfortunately, you can’t do multicolumn sorting in this window but hopefully it will be added at a later date. Also, you can’t rearrange the column order in this window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194571" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=03uIgrwZvOw:64mIMDAxd9w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=03uIgrwZvOw:64mIMDAxd9w:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=03uIgrwZvOw:64mIMDAxd9w:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=03uIgrwZvOw:64mIMDAxd9w:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=03uIgrwZvOw:64mIMDAxd9w:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/03uIgrwZvOw" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio/">visual studio</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2008/">visual studio 2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2008/">vs2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics/">code metrics</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010/">vs2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics+results/">code metrics results</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/columns/">columns</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/18/code-metrics-working-with-columns.aspx</feedburner:origLink></item><item><title>Code Metrics – Creating Work Items from Code Metrics Results</title><link>http://feedproxy.google.com/~r/zainnab/~3/BV0iX0fKuqU/code-metrics-creating-work-items-from-code-metrics-results.aspx</link><pubDate>Tue, 16 Aug 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194535</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10194535</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10194535</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/16/code-metrics-creating-work-items-from-code-metrics-results.aspx#comments</comments><description>&lt;p&gt;Windows: Alt, V, M (press several times), Enter&lt;/p&gt;  &lt;p&gt;Menu: View | Other Windows | Code Metrics Results&lt;/p&gt;  &lt;p&gt;Command: View.CodeMetricsResults&lt;/p&gt;  &lt;p&gt;SKU: Premium, Ultimate&lt;/p&gt;  &lt;p&gt;Versions: 2008, 2010&lt;/p&gt;  &lt;p&gt;Languages: C++ (managed only), C#, VB&lt;/p&gt;  &lt;p&gt;Code: vstipTool0137&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;NOTE: This tip requires that you are connected to a Team Foundation Server (TFS) for source control. You can learn more about TFS here:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/team-foundation-server/overview"&gt;http://www.microsoft.com/visualstudio/en-us/products/2010-editions/team-foundation-server/overview&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When you are working with code metrics, you typically don’t have time to stop and redo every issue right away. You can create work items in the Code Metrics Results window to file issues away to be reworked later. First, locate an item that you feel needs attention and right-click it:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3005.clip_5F00_image001_5F00_39AF8EF1.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2744.clip_5F00_image001_5F00_thumb_5F00_1D329D11.png" width="304" height="149" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;As you can see there are a lot of options here that you can use. For our purposes we will just create a new issue:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7522.clip_5F00_image002_5F00_4394805C.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2251.clip_5F00_image002_5F00_thumb_5F00_5819CFDA.png" width="486" height="247" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Visual Studio will automatically fill on some data and let you fill in other information as needed:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7853.clip_5F00_image003_5F00_1B81D13D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6038.clip_5F00_image003_5F00_thumb_5F00_5A7351D8.png" width="504" height="399" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When you are done you can save and close the work item then continue examining the rest of the code metrics results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194535" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=BV0iX0fKuqU:uFE8OpU6avQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=BV0iX0fKuqU:uFE8OpU6avQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=BV0iX0fKuqU:uFE8OpU6avQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=BV0iX0fKuqU:uFE8OpU6avQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=BV0iX0fKuqU:uFE8OpU6avQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/BV0iX0fKuqU" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio/">visual studio</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2008/">visual studio 2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2008/">vs2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics/">code metrics</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010/">vs2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/team+foundation+server/">team foundation server</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics+results/">code metrics results</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/work+item/">work item</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/tfs/">tfs</category><category domain="http://rss.financialcontent.com/stocksymbol">TFS</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/16/code-metrics-creating-work-items-from-code-metrics-results.aspx</feedburner:origLink></item><item><title>Code Metrics: Code Metrics Results Exporting</title><link>http://feedproxy.google.com/~r/zainnab/~3/BjZTPFX_AiA/code-metrics-code-metrics-results-exporting.aspx</link><pubDate>Thu, 11 Aug 2011 08:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194518</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10194518</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10194518</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/11/code-metrics-code-metrics-results-exporting.aspx#comments</comments><description>&lt;p&gt;Windows: Alt, V, M (press several times), Enter&lt;/p&gt;  &lt;p&gt;Menu: View | Other Windows | Code Metrics Results&lt;/p&gt;  &lt;p&gt;Command: View.CodeMetricsResults&lt;/p&gt;  &lt;p&gt;SKU: Premium, Ultimate&lt;/p&gt;  &lt;p&gt;Versions: 2008, 2010&lt;/p&gt;  &lt;p&gt;Languages: C++ (managed only), C#, VB&lt;/p&gt;  &lt;p&gt;Code: vstipTool0136&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Previously I showed you how to filter your code metrics results. Now let’s look at how to export your results to Excel for deeper analysis. First, you need to calculate your results:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6560.clip_5F00_image001_5F00_66B95F64.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7484.clip_5F00_image001_5F00_thumb_5F00_2D364F6D.png" width="306" height="113" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now, click on the button with the Excel icon on the Code Metrics Results toolbar that is used to export our results:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/3757.clip_5F00_image002_5F00_01858571.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1373.clip_5F00_image002_5F00_thumb_5F00_0C42DCC6.png" width="261" height="141" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once exported, you will have a new Excel workbook with all your data on Sheet 1:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8130.clip_5F00_image004_5F00_32A4C011.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2671.clip_5F00_image004_5F00_thumb_5F00_18D089E2.jpg" width="404" height="401" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Clearly your ability to use Excel comes into play here. All the data is available for you to manipulate as you see fit. I suggest paying particular attention to the filtering and sorting options that are available as you work with the information:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8130.clip_5F00_image005_5F00_6A0AD13F.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5086.clip_5F00_image005_5F00_thumb_5F00_4983918D.png" width="279" height="422" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194518" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=BjZTPFX_AiA:tA0rBDCQ2Ns:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=BjZTPFX_AiA:tA0rBDCQ2Ns:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=BjZTPFX_AiA:tA0rBDCQ2Ns:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=BjZTPFX_AiA:tA0rBDCQ2Ns:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=BjZTPFX_AiA:tA0rBDCQ2Ns:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/BjZTPFX_AiA" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio/">visual studio</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2008/">visual studio 2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2008/">vs2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Excel/">Excel</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics/">code metrics</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010/">vs2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/export/">export</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics+results/">code metrics results</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/11/code-metrics-code-metrics-results-exporting.aspx</feedburner:origLink></item><item><title>Code Metrics – Code Metrics Results Filtering</title><link>http://feedproxy.google.com/~r/zainnab/~3/TDrJwCEBykA/code-metrics-code-metrics-results-filtering.aspx</link><pubDate>Tue, 09 Aug 2011 15:10:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194045</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10194045</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10194045</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/09/code-metrics-code-metrics-results-filtering.aspx#comments</comments><description>&lt;p&gt;Windows: Alt, V, M (press several times), Enter&lt;/p&gt;  &lt;p&gt;Menu: View | Other Windows | Code Metrics Results&lt;/p&gt;  &lt;p&gt;Command: View.CodeMetricsResults&lt;/p&gt;  &lt;p&gt;SKU: Premium, Ultimate&lt;/p&gt;  &lt;p&gt;Versions: 2008, 2010&lt;/p&gt;  &lt;p&gt;Languages: C++ (managed only), C#, VB&lt;/p&gt;  &lt;p&gt;Code: vstipTool0135&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Having explored code metrics in great detail in the previous posts (see the article on Cyclomatic Complexity that started the series here: &lt;a href="http://blogs.msdn.com/b/zainnab/archive/2011/05/17/code-metrics-cyclomatic-complexity.aspx"&gt;http://blogs.msdn.com/b/zainnab/archive/2011/05/17/code-metrics-cyclomatic-complexity.aspx&lt;/a&gt;) we can now turn our attention to the Code Metrics Results window. One of the first activities you will probably use it for is to calculate the code metrics for your solution:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6557.clip_5F00_image001_5F00_363C8A33.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7462.clip_5F00_image001_5F00_thumb_5F00_7CB97A3B.png" width="394" height="145" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once metrics have been calculated there are several options available to you to work with the code metrics. Chief among the various actions is filtering. Using a filter, you can narrow down the metric you are interested in. For this example, I’ll choose Class Coupling:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2262.clip_5F00_image002_5F00_2725AB59.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6567.clip_5F00_image002_5F00_thumb_5F00_069E6BA7.png" width="398" height="162" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Once I choose the metric to filter by then the Min and Max combo boxes are enabled so I can choose my filtering criteria:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/7446.clip_5F00_image003_5F00_21D6C4A8.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/5808.clip_5F00_image003_5F00_thumb_5F00_41859E70.png" width="409" height="77" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here is an example of some data before I apply a filter:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/6866.clip_5F00_image005_5F00_0C0CDC4B.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2337.clip_5F00_image005_5F00_thumb_5F00_1253B2D9.jpg" width="604" height="296" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;And after I apply a filter with a minimum of 3:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/8032.clip_5F00_image007_5F00_4687DC1F.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2843.clip_5F00_image007_5F00_thumb_5F00_0983AA8D.jpg" width="604" height="185" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;As you can see the members of DeliveryMethod have been reduced to show only those that match the current criteria. Also, whenever you apply criteria, the last ten filters (at the end of the list, indented) used are available in the Code Metrics window regardless of the project or solution:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/1273.clip_5F00_image008_5F00_48E15E1D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2843.clip_5F00_image008_5F00_thumb_5F00_285A1E6B.png" width="386" height="333" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When Visual Studio is closed the ten most recently used filter criteria are written to the registry at   &lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\&amp;lt;version&amp;gt;\EnterpriseTools\CodeMetrics&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;WARNING: Make changes to the registry at your own risk.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;A string value called MRUList is created that contains the filter information:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/0284.clip_5F00_image010_5F00_2715858C.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image010" border="0" alt="clip_image010" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-82-17-metablogapi/2678.clip_5F00_image010_5F00_thumb_5F00_4D7768D7.jpg" width="563" height="109" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;There isn’t any way to clear this list that I am aware of so occasionally I’ll just delete the MRUList value from the registry when I want the list to go away. Visual Studio will automatically create a new value once you start making new criteria.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194045" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=TDrJwCEBykA:t4f2ncn-w-E:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=TDrJwCEBykA:t4f2ncn-w-E:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=TDrJwCEBykA:t4f2ncn-w-E:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=TDrJwCEBykA:t4f2ncn-w-E:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=TDrJwCEBykA:t4f2ncn-w-E:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/TDrJwCEBykA" height="1" width="1"/&gt;</description><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio/">visual studio</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2008/">visual studio 2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2008/">vs2008</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics/">code metrics</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/Tips+and+Tricks/">Tips and Tricks</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/vs2010/">vs2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/visual+studio+2010/">visual studio 2010</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/filter/">filter</category><category domain="http://blogs.msdn.com/b/zainnab/archive/tags/code+metrics+results/">code metrics results</category><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/09/code-metrics-code-metrics-results-filtering.aspx</feedburner:origLink></item><item><title>FY12 Plans and The Almost Nearly Last Book Update for Now</title><link>http://feedproxy.google.com/~r/zainnab/~3/mzSqpp-NTY0/fy12-plans-and-the-almost-nearly-last-book-update-for-now.aspx</link><pubDate>Wed, 03 Aug 2011 14:21:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10192430</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10192430</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10192430</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/08/03/fy12-plans-and-the-almost-nearly-last-book-update-for-now.aspx#comments</comments><description>&lt;p&gt;Well folks, vacation is over for most of us and it’s time to get back to work.&amp;#160; As most of you know I took a “blogcation” to spend some time finishing up the book (more on that later) and we were successful.&amp;#160; Beginning next week the posts start up again and I’m thinking of taking another swing at videos when vNext comes out.&amp;#160; I’m not sure how much you know about Microsoft but our fiscal year runs from July-June.&amp;#160; We are in the early stages of our FY12 and, today, we are finalizing commitments for the year, etc…&amp;#160; This year, in the interest of transparency, I am considering sharing some of the commitments with all of you.&amp;#160; I’m not sure if that is interesting or just boring so I’ll experiment and adjust based on your feedback.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Now on to the book.&amp;#160; This is a tough one for me.&amp;#160; I’ve never kept anything back from you all when it comes to the book and, I have to admit, I was seriously considering it recently.&amp;#160; Sometimes you just want to eat the sausage not see how it is made.&amp;#160; But you have been with me every step of the way whether it was&amp;#160; pointing out technical errors in the content, helping with the title of the book, or just letting me vent to some of you privately.&amp;#160; It goes against my nature and the spirit of this blog to keep things in the dark so here is what is happening with the book:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The book is scheduled to (finally) be on shelves just before the BUILD conference (&lt;a title="http://www.buildwindows.com/" href="http://www.buildwindows.com/"&gt;http://www.buildwindows.com/&lt;/a&gt;).&amp;#160; Sara and I will actually be doing a book signing at the event and we are pretty pumped up about it.&amp;#160; With that said we seem to have overcome some of the delays that occurred and are on track to actually have the book out this time.&amp;#160; The single biggest issue to cause the delay was a problem the publisher missed that required Sara and I to reshoot every image in the book (about 2000 images).&amp;#160; Not fun.&amp;#160; If that was all it might have not been so bad but there were some formatting changes that were also missed by the publisher that needed adjusting.&amp;#160; We managed to get all the issues corrected and have just finished QC1 which means there is only one more set of minor edits (QC2) until we go to print.&amp;#160; In book writing, as in life, nobody gets everything they want and this book was no exception.&amp;#160; I had to sacrifice my beloved tables in favor of a more simplified format for the summary information this time around. As it stands now there are no serious impediments to getting the book on the shelves as planned.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;So…The blog posts are starting up again, the new year for Microsoft is beginning, and the book will be out before BUILD.&amp;#160; All in all it looks like it was a productive (although somewhat frustrating) Summer and everything is back on track.&amp;#160; I want to add a special thanks to everyone for being so patient and appreciate all the support folks have been giving as we work through all the weirdness with the book.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Zain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10192430" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=mzSqpp-NTY0:M3EOVZ8MONs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=mzSqpp-NTY0:M3EOVZ8MONs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=mzSqpp-NTY0:M3EOVZ8MONs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=mzSqpp-NTY0:M3EOVZ8MONs:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=mzSqpp-NTY0:M3EOVZ8MONs:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/mzSqpp-NTY0" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/08/03/fy12-plans-and-the-almost-nearly-last-book-update-for-now.aspx</feedburner:origLink></item><item><title>Meeting New Business Challenges with Dynamic Quality Assurance – Testing is Your Friend</title><link>http://feedproxy.google.com/~r/zainnab/~3/jBkfpjQk_3k/meeting-new-business-challenges-with-dynamic-quality-assurance-testing-is-your-friend.aspx</link><pubDate>Sun, 10 Jul 2011 16:30:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10184985</guid><dc:creator>zainnab</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.msdn.com/b/zainnab/rsscomments.aspx?WeblogPostID=10184985</wfw:commentRss><wfw:comment>http://blogs.msdn.com/b/zainnab/commentapi.aspx?WeblogPostID=10184985</wfw:comment><comments>http://blogs.msdn.com/b/zainnab/archive/2011/07/10/meeting-new-business-challenges-with-dynamic-quality-assurance-testing-is-your-friend.aspx#comments</comments><description>&lt;p&gt;&lt;img src="http://news.cnet.com/i/bto/20080929/VisualStudio2010B_620x491.jpg" width="563" height="446" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;My buddy Clint Edmonson and I spent a lot of time on the road last year and one of the people we had the best time hanging out with was Angela Dugan from the Chicago area.&amp;#160; She has done a most excellent talk on Visual Studio Testing Tools recently that was caught on video.&amp;#160; I thought I would share with you all as you will definitely see more of this type of stuff on the blog going forward.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://mediasite01a.mfldclin.edu/mediasite/SilverlightPlayer/Default.aspx?peid=88ed071716d4485dbf5808dc311e80e41d" href="http://mediasite01a.mfldclin.edu/mediasite/SilverlightPlayer/Default.aspx?peid=88ed071716d4485dbf5808dc311e80e41d"&gt;http://mediasite01a.mfldclin.edu/mediasite/SilverlightPlayer/Default.aspx?peid=88ed071716d4485dbf5808dc311e80e41d&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10184985" width="1" height="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=jBkfpjQk_3k:0IycmvEusdQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=jBkfpjQk_3k:0IycmvEusdQ:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=jBkfpjQk_3k:0IycmvEusdQ:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/zainnab?a=jBkfpjQk_3k:0IycmvEusdQ:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/zainnab?i=jBkfpjQk_3k:0IycmvEusdQ:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/zainnab/~4/jBkfpjQk_3k" height="1" width="1"/&gt;</description><feedburner:origLink>http://blogs.msdn.com/b/zainnab/archive/2011/07/10/meeting-new-business-challenges-with-dynamic-quality-assurance-testing-is-your-friend.aspx</feedburner:origLink></item><media:rating>nonadult</media:rating></channel></rss>

