<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Visual Studio Blog</title><link>http://blogs.msdn.com/b/visualstudio/</link><description>The official source of IDE, MSBuild and Extensibility information from the Visual Studio Platform Team</description><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.20496 (Build: 5.6.583.20496)</generator><item><title>Bring Some Game To Your Code!</title><link>http://blogs.msdn.com/b/visualstudio/archive/2012/01/18/announcing-visual-studio-achievements.aspx</link><pubDate>Wed, 18 Jan 2012 09:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10258127</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10258127</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10258127</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2012/01/18/announcing-visual-studio-achievements.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1033.clip_5F00_image001_5F00_5EDBAD44.jpg"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0451.clip_5F00_image001_5F00_thumb_5F00_5E6F7A4F.jpg" width="239" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;&lt;/h4&gt;
&lt;h4&gt;Bring Some Game To Your Code!&lt;/h4&gt;
&lt;p&gt;A software engineer's glory so often goes unnoticed. Attention seems to come either when there are bugs or when the final project ships. But rarely is a developer appreciated for all the nuances and subtleties of a piece of code--and all the heroics it took to write it. With Visual Studio Achievements Beta, your talents are recognized as you perform various coding feats, unlock achievements and earn badges.&lt;/p&gt;
&lt;h4&gt;Learn More About Visual Studio&lt;/h4&gt;
&lt;p&gt;Visual Studio is a powerful tool with tons of features, many of which you may not know about. Earning some of the badges may result in learning about features you didn&amp;rsquo;t even know existed!&lt;/p&gt;
&lt;h4&gt;Download It&lt;/h4&gt;
&lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/bc7a433b-b594-48d4-bba2-a2f24774d02f"&gt;Download it today from the Visual Studio Gallery&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;How It Works&lt;/h4&gt;
&lt;p&gt;With the &lt;a href="http://channel9.msdn.com/achievements/visualstudio"&gt;Visual Studio Achievements Extension&lt;/a&gt;, achievements are unlocked based on your activity. Your code is analyzed on a background thread each time you compile. In addition, the extension listens for certain events and actions that you may perform in Visual Studio, reporting progress on these events to the server.&lt;/p&gt;
&lt;p&gt;When you unlock an achievement, Visual Studio lets you know visually with a pop-up:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://files.channel9.msdn.com/thumbnail/5a978ac6-1889-486c-8cef-43060baa8d1c.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image003" border="0" alt="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3603.clip_5F00_image003_5F00_6BD58D55.jpg" width="244" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 1 - Unlocking An Achievement&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In addition, your Channel 9 profile is updated with any achievements you earn, recalculating your position on the &lt;a href="http://channel9.msdn.com/achievements/visualstudio/leaderboard"&gt;leaderboard&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://files.channel9.msdn.com/thumbnail/72f66fb0-7787-4b21-861a-af964b967c94.PNG"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8054.clip_5F00_image005_5F00_728896D8.gif" width="244" height="230" /&gt;&lt;/a&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 2 - The Visual Studio Achievements Leaderboard&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Some examples of individual achievements include &lt;strong&gt;Regional Manager&lt;/strong&gt; (have more than 10 regions in a single class), &lt;strong&gt;Close To The Metal&lt;/strong&gt; (use 5 preprocessor directives), &lt;strong&gt;Stubby&lt;/strong&gt; (generate method stubs 10 times) or &lt;strong&gt;Interrupting Cow&lt;/strong&gt; (have 10 breakpoints in a file). All in all, there are 32 achievements awaiting to be unlocked, all of which are listed &lt;a href="http://channel9.msdn.com/achievements/visualstudio"&gt;here&lt;/a&gt;. Here's what the 6 different badges look like:&lt;/p&gt;
&lt;table border="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;The Six Categories of Achievements&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;a href="http://files.ch9.ms/vsachievements/wrench.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image007" border="0" alt="clip_image007" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7206.clip_5F00_image007_5F00_04652AA6.jpg" width="104" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;a href="http://files.ch9.ms/vsachievements/scissors.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image009" border="0" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1033.clip_5F00_image009_5F00_7D45EE2D.jpg" width="104" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;a href="http://files.ch9.ms/vsachievements/broom.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image011" border="0" alt="clip_image011" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1856.clip_5F00_image011_5F00_2414046E.jpg" width="104" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Customizing Visual Studio &lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Don't Try This At Home&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Good Housekeeping&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;a href="http://files.ch9.ms/vsachievements/fun.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image013" border="0" alt="clip_image013" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3583.clip_5F00_image013_5F00_1CF4C7F6.jpg" width="104" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;a href="http://files.ch9.ms/vsachievements/powercoder.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image015" border="0" alt="clip_image015" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0044.clip_5F00_image015_5F00_71B030EE.jpg" width="104" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;a href="http://files.ch9.ms/vsachievements/unleashing.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image017" border="0" alt="clip_image017" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3681.clip_5F00_image017_5F00_038CC4BC.jpg" width="104" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Just For Fun&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Power Coder&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Unleashing Visual Studio&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h4&gt;Share Your Flair&lt;/h4&gt;
&lt;p&gt;Each time you earn a badge, a unique page is created with your profile picture, the badge and a description. You can tweet about achievements you earn and/or share them on Facebook:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://files.channel9.msdn.com/thumbnail/54ee8a1e-bbcf-471c-a4cd-24a8c40f6816.PNG"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image019" border="0" alt="clip_image019" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4760.clip_5F00_image019_5F00_2A5ADAFC.gif" width="244" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 3 - Share A Page&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Or, you can show a list of achievements on your blog using the &lt;a href="http://channel9.msdn.com/Blogs/C9Team/Visual-Studio-Achievements-Widget"&gt;Visual Studio Achievements Widget&lt;/a&gt; which is as simple as adding one line of script to your page. After all, those badges look so shiny and nice! Here's an example of the widget on a blog:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://files.channel9.msdn.com/thumbnail/85542b84-605d-4b54-a783-c35da8b87207.PNG"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image021" border="0" alt="clip_image021" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1121.clip_5F00_image021_5F00_3C376EC9.gif" width="214" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Figure 4 - The Visual Studio Achievements Widget On A Blog&lt;/strong&gt;&lt;/p&gt;
&lt;h4&gt;Genesis&lt;/h4&gt;
&lt;p&gt;We have to give props to the blog &lt;strong&gt;While True&lt;/strong&gt;, whose blog post &lt;a href="http://blog.whiletrue.com/2011/01/what-if-visual-studio-had-achievements/"&gt;What If Visual Studio Had Achievements &lt;/a&gt;inspired us to go build this. That post spawned a &lt;a href="http://www.reddit.com/r/programming/comments/f8phd/what_if_visual_studio_had_achievements/"&gt;reddit post &lt;/a&gt;that is the thread which started it all!&lt;/p&gt;
&lt;h4&gt;Feedback&lt;/h4&gt;
&lt;p&gt;We're just getting started with Visual Studio Achievements and are hoping to release more in the future. If you have ideas for additional achievements, we'd love to hear about them. Please use the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/bc7a433b-b594-48d4-bba2-a2f24774d02f"&gt;Q&amp;amp;A section&lt;/a&gt; of the achievements extension to make suggestions for future achievements. And if you have suggestions, concerns, issues or problems, again, use the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/bc7a433b-b594-48d4-bba2-a2f24774d02f"&gt;Q&amp;amp;A section &lt;/a&gt;of the achievements gallery page. Give a read to the &lt;a href="http://channel9.msdn.com/Blogs/C9Team/Visual-Studio-Achievements-FAQ"&gt;FAQ &lt;/a&gt;as well as your question may already be answered.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/bc7a433b-b594-48d4-bba2-a2f24774d02f"&gt;Download it today from the Visual Studio Gallery&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=10258127" width="1" height="1"&gt;</description></item><item><title>Give us your feedback on Visual Studio 11 etc. and receive a gift!</title><link>http://blogs.msdn.com/b/visualstudio/archive/2012/01/04/give-us-your-feedback-on-visual-studio-11-and-receive-a-gift.aspx</link><pubDate>Wed, 04 Jan 2012 18:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10253163</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10253163</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10253163</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2012/01/04/give-us-your-feedback-on-visual-studio-11-and-receive-a-gift.aspx#comments</comments><description>&lt;p&gt;The Microsoft Visual Studio Design Research Team is looking for participants to give us direct feedback on our development tools, languages and libraries!&amp;nbsp; Opportunities include usability studies of upcoming features, focus groups where we explore new ideas, as well as 1:1 interviews.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;What do you get out of it?&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;When you are selected to participate in one of our research studies, benefits include a combination of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A chance to see and use upcoming tools, features, and language/library enhancements&lt;/li&gt;
&lt;li&gt;Interact directly with members of our development teams to discuss your requirements for efficient and effective tools,&lt;/li&gt;
&lt;li&gt;Directly influence future design decisions, and&lt;/li&gt;
&lt;li&gt;Receive a choice of a Microsoft product from our gratuity list - ranging from Visual Studio Pro thru Xbox games!&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We have a brief enrollment form that will ask you a few questions about your company, your job, and the software and languages you actively use. We will contact you as soon as we have a research study that matches your specific background and/or interests.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://illumeweb.smdisp.net/collector/Survey.ashx?Name=VSParticipantRecruitingEnrollment"&gt;&lt;b&gt;Enrollment Form&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This enrollment should only take 3-5 minutes to complete.&amp;nbsp; For more information about the program feel free to email us at &lt;a href="mailto:vsdr@microsoft.com"&gt;vsdr@microsoft.com&lt;/a&gt;.&amp;nbsp; Please note that the Enrollment link originates from Microsoft User Research and is hosted by our survey software provider. Visit &lt;a href="http://www.microsoft.com/userresearch/studies.aspx"&gt;http://www.microsoft.com/userresearch/studies.aspx&lt;/a&gt; if you have any concerns.&lt;b&gt;&lt;i&gt; &lt;/i&gt;&lt;/b&gt;Please note that government employees and non-U.S. residents are not eligible for a Microsoft gratuity.&lt;/p&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Karl Melder &lt;br /&gt;UX Lead, DevDiv User Experience&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10253163" width="1" height="1"&gt;</description></item><item><title>Microsoft Windows Simulator Rotation and Resolution Emulation</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/11/04/microsoft-windows-simulator-rotation-and-resolution-emulation.aspx</link><pubDate>Fri, 04 Nov 2011 10:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10232295</guid><dc:creator>Zebin Chen</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10232295</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10232295</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/11/04/microsoft-windows-simulator-rotation-and-resolution-emulation.aspx#comments</comments><description>&lt;p&gt;The Windows Simulator is a tool provided in Visual Studio 11 Developer Preview that helps debugging Metro style applications. Its main purpose is to enable debugging when developers want to test how their applications respond to the new metro capabilities without having a device that supports those capabilities. It is implemented as a remote connection session to the same machine, but additionally emulates common hardware functionalities available in new devices, e.g., Rotation (i.e., orientation change), High Resolution and &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/30/microsoft-windows-simulator-touch-emulation.aspx"&gt;Touch&lt;/a&gt;. A general introduction can be found &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/29/first-look-at-windows-simulator.aspx"&gt;here&lt;/a&gt;. This article focuses on Rotation and Resolution emulation.&lt;/p&gt;
&lt;h1&gt;Rotation and Orientation-Aware Application&lt;/h1&gt;
&lt;p&gt;Roughly, an orientation-aware application can be coded in two ways (A sample app is available &lt;a href="http://code.msdn.microsoft.com/windowsapps/OrientationSensor-Sample-99595893"&gt;here&lt;/a&gt; [1]):&lt;/p&gt;
&lt;p&gt;&lt;b&gt;1. It can listen to the Orientation Sensor. As shown in the sample [1], it looks like:&lt;/b&gt;&lt;span style="background: white; color: black;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background: white; color: #2b91af;"&gt; OrientationSensor &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;_sensor = &lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;OrientationSensor&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;.GetDefault();&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;if &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;(_sensor != &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;null&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;) {&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; _sensor.ReadingChanged += &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;new &lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;TypedEventHandler&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;OrientationSensor&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;,&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;OrientationSensorReadingChangedEventArgs&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;&amp;gt;(ReadingChanged);&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt;} &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;2. It can also listen to the display orientation change.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;This can be hooked in HTML code through @media rule. Additional customization can be achieved by adding an event handler to &lt;span style="font-family: courier new;" face="Courier New"&gt;Windows.Graphics.Display.DisplayProperties&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The Simulator doesn&amp;rsquo;t support the emulation of Orientation Sensor, and is only able to trigger a display orientation change. Therefore in the following section, we will concentrate on examples of orientation-aware applications that work with the Simulator.&lt;/p&gt;
&lt;h1&gt;Orientation-Aware Application: HTML/CSS Binding&lt;/h1&gt;
&lt;p&gt;Let&amp;rsquo;s start with an orientation-aware application that has only HTML tag.&lt;/p&gt;
&lt;p&gt;1. Start Visual Studio Express. Then create a Blank Application, by clicking &amp;ldquo;File/New Project&amp;hellip;&amp;rdquo;, &amp;ldquo;Templates/JavaScript/Blank Application&amp;rdquo;&lt;/p&gt;
&lt;p&gt;2. In the generated project, you will find a file default.html. Make the following modifications to the generated code:&lt;/p&gt;
&lt;p&gt;2.1 Add the following code to the end of &amp;lt;head&amp;gt;...&amp;lt;/head&amp;gt; code block.&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;meta &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;content&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="text/html; charset=utf-8" &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;http-equiv&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="Content-Type" /&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;meta &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;http-equiv&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="X-UA-Compatible" &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;content&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="IE=edge" /&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;meta &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;http-equiv&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="MSThemeCompatible" &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;content&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="yes" /&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;style &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;type&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="text/css"&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fullscreen &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fill &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#snapped &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#deviceportrait &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;@media screen and (&lt;/span&gt;&lt;span style="background: white; color: red;"&gt;-ms-view-state&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;full-screen) &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fill &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#snapped &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#deviceportrait &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;@media screen and (&lt;/span&gt;&lt;span style="background: white; color: red;"&gt;-ms-view-state&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;fill) &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fullscreen &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#snapped &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#deviceportrait &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;@media screen and (&lt;/span&gt;&lt;span style="background: white; color: red;"&gt;-ms-view-state&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;snapped)&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt; &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fullscreen &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fill &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#deviceportrait &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;@media screen and (&lt;/span&gt;&lt;span style="background: white; color: red;"&gt;-ms-view-state&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;device-portrait) &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fullscreen &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#fill &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;#snapped &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;{ &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;display&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;: &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;none&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; }&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;style&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;2.2 Add the following code to the end of &amp;lt;body&amp;gt;...&amp;lt;/body&amp;gt; code block.&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;id&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="fullscreen" &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;class&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="win-contentSubtitle"&amp;gt;&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;Full Screen&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;id&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="fill" &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;class&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="win-contentSubtitle"&amp;gt;&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;Fill&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;id&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="snapped" &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;class&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="win-contentSubtitle"&amp;gt;&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;Snapped&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;id&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="deviceportrait" &lt;/span&gt;&lt;span style="background: white; color: red;"&gt;class&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;="win-contentSubtitle"&amp;gt;&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;Device Portrait&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="background: white; color: maroon;"&gt;div&lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;&amp;gt; &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Together, the above code claims that when the metro app is in full-screen landscape mode, the app shows &amp;ldquo;Full Screen&amp;rdquo;; when it is in full-screen portrait mode, the app shows &amp;ldquo;Device Portrait&amp;rdquo;. (Note: by MSDN definition, &amp;ldquo;a value of full-screen indicates the device is in landscape orientation and the application&amp;rsquo;s client area is the same height and width as the device&amp;rsquo;s height and width.&amp;rdquo; For a detailed explanation about -ms-view-state media feature, refer to &lt;a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465826(v=VS.85).aspx"&gt;this MSDN article&lt;/a&gt;[2]).&lt;/p&gt;
&lt;p&gt;3. Now change the debug target from &amp;ldquo;Local Machine&amp;rdquo; (the default value) to &amp;ldquo;Simulator&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1263.clip_5F00_image001_5B00_4_5D00_.png"&gt;&lt;img style="margin: 0px; display: inline; background-image: none;" title="clip_image001[4]" border="0" alt="clip_image001[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2844.clip_5F00_image001_5B00_4_5D005F00_thumb.png" width="219" height="112" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. F5 to start the debugging.&lt;/p&gt;
&lt;p&gt;You should see the app displaying something like &amp;ldquo;Full Screen&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7142.clip_5F00_image003_5B00_4_5D00_.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image003[4]" border="0" alt="clip_image003[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4503.clip_5F00_image003_5B00_4_5D005F00_thumb.jpg" width="443" height="288" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;5. Click the Simulator &amp;ldquo;Rotate +90 degrees&amp;rdquo; button to rotate the Simulator clockwise for 90 degrees.&lt;/p&gt;
&lt;p&gt;You should see the app displaying something like &amp;ldquo;Device Portrait&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5164.clip_5F00_image005_5B00_4_5D00_.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image005[4]" border="0" alt="clip_image005[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6644.clip_5F00_image005_5B00_4_5D005F00_thumb.jpg" width="318" height="421" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In summary, we have shown a sample of how to write an orientation-aware metro app. Without orientation sensor, it is not straightforward to trigger &amp;ndash;ms-view-state event so that one can test his/her metro app. The Simulator comes to the rescue in this case.&lt;/p&gt;
&lt;h1&gt;Orientation-Aware Application: Binding through Event Handler&lt;/h1&gt;
&lt;p&gt;Another approach to customize a metro app in response to an orientation change is to explicitly add an event handler. The code is as simple as:&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt;Windows.Graphics.Display.&lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;DisplayProperties&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;.OrientationChanged +=&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; &lt;/span&gt;&lt;span style="background: white; color: blue;"&gt;new &lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;DisplayPropertiesEventHandler&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;(DisplayProperties_OrientationChanged); &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;An interested reader can download &lt;a href="http://code.msdn.microsoft.com/windowsapps/OrientationSensor-Sample-99595893"&gt;the sample application [1]&lt;/a&gt;to try the debugging experience with the Simulator. Here are the detailed steps:&lt;/p&gt;
&lt;p&gt;1. Download the sample project and unzip the solution to a temp folder.&lt;/p&gt;
&lt;p&gt;2. Start Visual Studio Express and open the project OrientationCS.csproj.&lt;/p&gt;
&lt;p&gt;3. Now change the debug target from &amp;ldquo;Local Machine&amp;rdquo; (the default value) to &amp;ldquo;Simulator&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;4. Set a breakpoint at MainPage.xaml.cs in the below code (around line 190):&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: blue;"&gt;if &lt;/span&gt;&lt;span style="background: white; color: black;"&gt;(&lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;DisplayProperties&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;.CurrentOrientation == &lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;DisplayOrientations&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;.Portrait&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="background: white; color: black;"&gt; || &lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;DisplayProperties&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;.CurrentOrientation == &lt;/span&gt;&lt;span style="background: white; color: #2b91af;"&gt;DisplayOrientations&lt;/span&gt;&lt;span style="background: white; color: black;"&gt;.PortraitFlipped) &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;5. F5 to debug the app.&lt;/p&gt;
&lt;p&gt;6. Click the Simulator &amp;ldquo;Rotate +90 degrees&amp;rdquo; button to rotate the Simulator clockwise for 90 degrees. Now you should see the breakpoint hit!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5657.clip_5F00_image007_5B00_4_5D00_.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image007[4]" border="0" alt="clip_image007[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5670.clip_5F00_image007_5B00_4_5D005F00_thumb.jpg" width="495" height="401" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Again, without the Simulator, it would be difficult to debug such application without having an actual device with an orientation sensor.&lt;/p&gt;
&lt;h1&gt;Resolution&lt;/h1&gt;
&lt;p&gt;Assume a developer has a computer with &amp;ldquo;mismatched&amp;rdquo; video adapter and monitor: the video adapter supports a high resolution while the monitor doesn&amp;rsquo;t. In such case it would be difficult for the developer to test his metro app in the high resolution. Again, the Simulator helps in this case: It displays common resolutions that are supported by the video adapter, and allows the user to choose each resolution for testing purpose inside the Simulator. For example, in the below screenshot of the Simulator, it shows various resolutions supported by my computer&amp;rsquo;s video driver. Here I am able to test a metro app with a high resolution of 2560*1440, even though my monitor doesn&amp;rsquo;t display such high resolution.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5460.clip_5F00_image009_5B00_4_5D00_.jpg"&gt;&lt;img style="display: inline; background-image: none;" title="clip_image009[4]" border="0" alt="clip_image009[4]" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3326.clip_5F00_image009_5B00_4_5D005F00_thumb.jpg" width="163" height="266" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope that you have enjoyed this post. By now you should have a good understanding about the support for rotation and resolution in the Simulator.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Zebin Chen&lt;/p&gt;
&lt;p&gt;Software Development Engineer, Visual Studio&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;References:&lt;/p&gt;
&lt;p&gt;[1] OrientationSensor Sample: &lt;a title="http://code.msdn.microsoft.com/windowsapps/OrientationSensor-Sample-99595893" href="http://code.msdn.microsoft.com/windowsapps/OrientationSensor-Sample-99595893"&gt;http://code.msdn.microsoft.com/windowsapps/OrientationSensor-Sample-99595893&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[2] &amp;ndash;ms-view-state media feature: &lt;a title="http://msdn.microsoft.com/en-us/library/windows/apps/hh465826(v=VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465826(v=VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/windows/apps/hh465826(v=VS.85).aspx&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=10232295" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Visual+Studio+11+Developer+Preview/">Visual Studio 11 Developer Preview</category></item><item><title>Debugging Contracts using Windows Simulator</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/11/01/debugging-contracts-using-windows-simulator.aspx</link><pubDate>Tue, 01 Nov 2011 18:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10232156</guid><dc:creator>Cathy Sullivan - MSFT</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10232156</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10232156</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/11/01/debugging-contracts-using-windows-simulator.aspx#comments</comments><description>&lt;p&gt;All of you might be pretty busy discovering what Windows 8 has to offer. Today I will introduce you to debugging &lt;a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh464906(v=VS.85).aspx"&gt;Contracts&lt;/a&gt;, one of the cool features in Windows 8.&lt;/p&gt;
&lt;p&gt;It is hard to debug contracts when you are debugging locally because they disappear as soon as the focus is lost. So, as you hit a breakpoint in Visual Studio for your app, the target app would disappear making it difficult to debug your app.&lt;/p&gt;
&lt;p&gt;Visual Studio 11 Developer Preview ships with a Windows Simulator. The Simulator helps with debugging contracts as it&amp;rsquo;s a separate session and the target app does not disappear on switching focus to VS. Simulator is also useful in debugging switching between landscape and portrait modes, targeting various device sizes and resolutions, and emulating touch points. Here is an &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/29/first-look-at-windows-simulator.aspx"&gt;introductory post&lt;/a&gt; about Windows Simulator. You can also refer to &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/30/microsoft-windows-simulator-touch-emulation.aspx"&gt;this&lt;/a&gt; post for more information on testing touch using Simulator.&lt;/p&gt;
&lt;p&gt;I will use the JavaScript &lt;a href="http://code.msdn.microsoft.com/windowsapps/Sharing-Content-Source-App-d9bffd84"&gt;Share Source Sample App&lt;/a&gt; and &lt;a href="http://code.msdn.microsoft.com/windowsapps/Sharing-Content-Target-App-e2689782"&gt;Share Target Sample App&lt;/a&gt; (provided by the Windows Developer Preview Metro style apps samples) for my demonstration.&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Using Local Debugging&lt;/b&gt;&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;After downloading and unpacking the sample, open the solution ShareSource.sln in Visual Studio 11 Developer Preview.&lt;/li&gt;
&lt;li&gt;Once the solution is loaded, press F5 to start app locally.&lt;/li&gt;
&lt;li&gt;When the App is running, you can switch to Visual Studio, stop debugging and close the solution. We don&amp;rsquo;t need to debug the Source App for our illustration. We just need to have it deployed.&lt;/li&gt;
&lt;li&gt;Now open the solution ShareTarget.sln in Visual Studio.&lt;/li&gt;
&lt;li&gt;Change the project properties (Right click on the Project in the Solution Explorer and then click Properties) and set the value of &lt;b&gt;Launch Application &lt;/b&gt;under Debugging tab to &lt;b&gt;No&lt;/b&gt;. This should register the application for debugging. While Visual Studio will not launch the application, it will start debugging the application whenever it is activated.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6014.image_5F00_2DA1C503.png"&gt;&lt;img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5432.image_5F00_thumb_5F00_4D509ECB.png" width="545" height="388" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are using C#/VB project, make sure to select the following option under Debug tab.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1321.image9_5F00_0D1A8551.png"&gt;&lt;img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3377.image9_5F00_thumb_5F00_5A4A7EDC.png" width="580" height="359" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open the file target.js and put a breakpoint in the method &lt;b&gt;&lt;span style="text-decoration: underline;"&gt;activatedHandler &lt;/span&gt;&lt;/b&gt;as shown below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8171.image22_5F00_2F05E7D5.png"&gt;&lt;img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3365.image22_5F00_thumb_5F00_40E27BA2.png" width="580" height="231" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;6. Press F5 to start debugging.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Go to the Start screen and search for&lt;b&gt; Share Source Sample App&lt;/b&gt;. As&lt;b&gt; Share Source Sample App&lt;/b&gt; becomes active, share some text as shown below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4380.image_5F00_290AB48D.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0083.image_5F00_thumb_5F00_4FD8CACD.png" width="628" height="355" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;List of target apps for share contract will appear on the right side, and from the list of available apps select &lt;b&gt;Share Target Sample App&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;You will notice that as soon as you hit the breakpoint, target app will disappear making it hard to debug your code.&lt;/p&gt;
&amp;nbsp;&amp;nbsp;
&lt;h1&gt;&lt;b&gt;Using Windows Simulator&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;Now let's try the same thing using Windows Simulator. Press &lt;b&gt;Stop Debugging&lt;/b&gt; in Visual Studio 11 Developer Preview and start debugging again using Simulator.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0333.image40_5F00_2E2D81EB.png"&gt;&lt;img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3465.image40_5F00_thumb_5F00_60252275.png" width="219" height="112" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once the Simulator is up and running and your &lt;b&gt;Share Target Sample App&lt;/b&gt; is active, click on the Windows button in the Simulator to go to the Start screen, and search for &lt;b&gt;Share Source Sample App&lt;/b&gt;. As &lt;b&gt;Share Source Sample App&lt;/b&gt; becomes active, start sharing with the &lt;b&gt;Share Target Sample App&lt;/b&gt; using same steps described earlier.&lt;/p&gt;
&lt;p&gt;You will notice that target app is still visible in the Simulator after breakpoint is hit. Continue debugging using F10, and you can still observe your target app in parallel as seen below.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3683.image_5F00_424C5653.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2605.image_5F00_thumb_5F00_5428EA20.png" width="483" height="372" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope you will find this post useful for debugging contracts.&lt;/p&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Ravneet Singh Khalsa &lt;br /&gt;Software Design Engineer, Visual Studio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10232156" width="1" height="1"&gt;</description></item><item><title>Visual Studio 2010 SP1 – now available on Microsoft Update</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/25/visual-studio-2010-sp1-now-available-on-microsoft-update.aspx</link><pubDate>Tue, 25 Oct 2011 17:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10229906</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>14</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10229906</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10229906</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/25/visual-studio-2010-sp1-now-available-on-microsoft-update.aspx#comments</comments><description>&lt;p&gt;As of today, &lt;a href="http://go.microsoft.com/fwlink/?LinkId=209902"&gt;Visual Studio 2010 SP1&lt;/a&gt; is now available through Microsoft Update. If you have opted into Microsoft Update and haven&amp;rsquo;t installed SP1 yet, you will soon have it offered to you. The service pack was initially released in March and includes some often requested feature improvements, fixes that improve reliability as well as the most commonly-reported customer bugs.&lt;/p&gt;
&lt;p&gt;For more information, check out the following blog posts and links:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=209902"&gt;Download link for Visual Studio 2010 SP1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/jasonz/archive/2011/03/08/announcing-visual-studio-2010-service-pack-1.aspx"&gt;Announcement of SP1 on Jason Zander&amp;rsquo;s Blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://support.microsoft.com/kb/983509"&gt;List of changes in SP1 for Visual Studio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://support.microsoft.com/kb/2182621"&gt;List of changes in SP1 for Team Foundation Server (TFS)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/productfeedback/archive/2011/03/08/compatibility-and-visual-studio-2010-service-pack-1.aspx"&gt;Information about SP1 compatibility&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=210711"&gt;Official VS 2010 SP1 Readme&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;
&lt;p&gt;Jack Unverferth&lt;br /&gt;The Visual Studio Professional Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10229906" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcements/">announcements</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/VS2010+SP1/">VS2010 SP1</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Visual+Studio+2010+SP1/">Visual Studio 2010 SP1</category></item><item><title>An update on Visual Studio performance</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/20/an-update-on-visual-studio-performance.aspx</link><pubDate>Thu, 20 Oct 2011 21:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10228343</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>17</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10228343</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10228343</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/20/an-update-on-visual-studio-performance.aspx#comments</comments><description>&lt;p&gt;I wanted to take the time to thank everyone who has contributed to our UserVoice performance &lt;a href="http://visualstudio.uservoice.com/forums/131389-visual-studio-performance"&gt;site&lt;/a&gt; by entering areas you would like to see us improve and for voting on those items.&amp;nbsp; To date we have had over 4700 posts and votes showing the passion you all have for Visual Studio and its performance.&amp;nbsp; For those that have downloaded the Visual Studio 11 Developer Preview from the Microsoft \\Build Conference I would like to encourage you to post any performance issues you are seeing with that drop of Visual Studio as well.&lt;/p&gt;
&lt;p&gt;As I said in the initial post Visual Studio&amp;rsquo;s performance continues to be a hot topic and we appreciate the feedback we have received on this site, and through other forums.&amp;nbsp; We are listening to your feedback and continuing to invest in improving performance across a number of areas you all have posted and voted for on this site along with data we are receiving through the instrumentation provided by PerfWatson described below.&amp;nbsp; I wanted to reiterate that our approach to gathering the key areas to improve are twofold and include:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Collecting feedback from you to prioritize our work&lt;/li&gt;
&lt;li&gt;Implementing instrumentation in Visual Studio to collect data in cases where the product performs poorly&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;Collecting Customer Feedback&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Please continue to use our single stop for feedback on Visual Studio Performance at our &lt;a href="http://visualstudio.uservoice.com/forums/131389-visual-studio-performance"&gt;UserVoice site&lt;/a&gt; and post items or vote on the performance issues you find are impacting you the most. This feedback has been, and will continue to be, incorporated into our plans as we prioritize our work.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Instrumentation&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I want to spend a bit more time encouraging you to make use of Visual Studio PerfWatson, which is included in Visual Studio 11 Developer Preview. PerfWatson, much like regular Watson, enables us to collect data from your machine right when you experience a performance problem.&amp;nbsp; This data allows us to pinpoint right when you experienced a significant pause or delay in the product and we can then debug the exact stack that is causing your Visual Studio instance to experience a performance delay. &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/08/24/how-we-use-your-perfwatson-data-to-identify-unresponsive-areas.aspx"&gt;This&lt;/a&gt; blog post describes how we are using the data to identify and fix performance problems.&amp;nbsp; By combining your feedback with this data we continue to work on addressing those issues affecting you the most.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What to look for Next&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;As we finish our performance work and validate the wins I will be posting some videos of before and after scenarios for you to see.&amp;nbsp; Please look for these posts as we enter the new year.&amp;nbsp; I continue to read the posts, comments, vote totals at the &lt;a href="http://visualstudio.uservoice.com/forums/131389-visual-studio-performance"&gt;UserVoice site&lt;/a&gt; along with PerfWatson reports indicating stacks that are being the most problematic.&amp;nbsp; This dual view of human perception along with instrumented data is invaluable to our understanding of what is impacting you the most, and again I appreciate your passion for helping us make Visual Studio better for you.&lt;/p&gt;
&lt;p&gt;Thank you for your support,&lt;/p&gt;
&lt;p&gt;Larry Sullivan&lt;br /&gt;Director of Engineering&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10228343" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Performance/">Performance</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/PerfWatson/">PerfWatson</category></item><item><title>Roslyn Syntax Visualizers</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/19/roslyn-syntax-visualizers.aspx</link><pubDate>Wed, 19 Oct 2011 14:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10226699</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10226699</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10226699</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/19/roslyn-syntax-visualizers.aspx#comments</comments><description>&lt;p&gt;Hello everyone! As you may have heard, today we announced the first CTP of the Roslyn project! You can visit the &lt;a href="http://www.msdn.com/roslyn" target="_blank"&gt;Roslyn MSDN Page&lt;/a&gt; to learn more about the project and to download the CTP. You can also read more about Roslyn at the following links -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/somasegar/archive/2011/10/19/roslyn-ctp-available-now.aspx" target="_blank"&gt;Soma&amp;rsquo;s Blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/ericlippert/archive/2011/10/19/the-roslyn-preview-is-now-available.aspx" target="_blank"&gt;Eric Lippert&amp;rsquo;s Blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/csharpfaq/archive/2011/10/19/introducing-the-microsoft-roslyn-ctp.aspx" target="_blank"&gt;C# Frequently Asked Questions Blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/vbteam/archive/2011/10/19/introducing-the-microsoft-roslyn-ctp.aspx" target="_blank"&gt;Visual Basic Team Blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/10/19/introducing-the-microsoft-roslyn-ctp.aspx" target="_blank"&gt;Visual Studio Blog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this post I will present a brief overview of two samples that are installed as part of the CTP &amp;ndash; the &lt;strong&gt;Syntax Visualizer Tool Window &lt;/strong&gt;and the &lt;strong&gt;Syntax Debugger Visualizer&lt;/strong&gt; &amp;ndash; and discuss how to install and use these samples. These samples are in essence tools that can simplify inspection and exploration of Roslyn Syntax Trees. You can use these visualizers as debugging aids when you develop your own applications / code issues / code refactorings using the Roslyn APIs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Getting Started&lt;/h1&gt;
&lt;p&gt;Lets begin by downloading and installing the CTP from &lt;a href="http://go.microsoft.com/fwlink/?LinkID=228400"&gt;Roslyn CTP Download Page&lt;/a&gt;. Once installed, the best place to start is to open &lt;em&gt;Start Menu -&amp;gt; Microsoft Codename Roslyn CTP -&amp;gt; Getting Started&lt;/em&gt;. This will launch the the &amp;ldquo;Getting Started&amp;rdquo; guide which provides a great overview of what&amp;rsquo;s included in the CTP as well as links to launch the documents, walkthroughs and samples that are included in the CTP.&lt;/p&gt;
&lt;p&gt;To understand the concepts presented in this blog post better, I would strongly recommend reading the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=230702" target="_blank"&gt;Roslyn Project Overview Document&lt;/a&gt;. This document provides a great overview of the Roslyn Syntax API including Syntax Trees, Syntax Nodes, Syntax Tokens and Syntax Trivia. This document is installed on your machine when you install the CTP and you can open this document using the link in the &amp;ldquo;Getting Started&amp;rdquo; guide.&lt;/p&gt;
&lt;p&gt;Next, lets navigate to the Samples section in the &amp;ldquo;Getting Started&amp;rdquo; guide by clicking on the link titled &amp;lsquo;Samples&amp;rsquo; under the section titled &amp;lsquo;Contents&amp;rsquo;. Then click on the link titled &amp;lsquo;Roslyn Development Tools&amp;rsquo;. This should bring you to a section that gives a brief overview of two samples that are the subject of this post -&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3583.image_5F00_6A68774D.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6330.image_5F00_thumb_5F00_3F23E046.png" width="644" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lets take a closer look at these samples.&lt;/p&gt;
&lt;h1&gt;&amp;nbsp;&lt;/h1&gt;
&lt;h1&gt;Syntax Visualizer Tool Window&lt;/h1&gt;
&lt;p&gt;The Syntax Visualizer Tool Window sample is a Visual Studio Extension that enables inspection of 'live' Roslyn Syntax Trees for any C# or VB code file that is open inside the Visual Studio IDE when the Roslyn Language Service is present. The Roslyn Language Service is present whenever you are running or debugging other Roslyn extensions (like code issues and code refactorings). It is also present whenever you debug (F5) or run (Ctrl + F5) the project for the Syntax Visualizer Tool Window sample.&lt;/p&gt;
&lt;p&gt;Lets open the Syntax Visualizer Tool Window sample in Visual Studio by clicking on the link with the corresponding title in the &amp;ldquo;Getting Started&amp;rdquo; guide. Once the project is open inside Visual Studio, you should find a file named &amp;lsquo;Readme.html&amp;rsquo; under the &amp;lsquo;SyntaxVisualizerExtension&amp;rsquo; project as shown in the below image. This file contains a brief overview of this sample and also details the steps for installing and running this sample.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4276.image_5F00_51140FBB.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3108.image_5F00_thumb_5F00_1C07808B.png" width="230" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now lets build and run this sample by clicking on &lt;em&gt;Debug &amp;ndash;&amp;gt; Start Debugging &lt;/em&gt;(F5) or &lt;em&gt;Debug &amp;ndash;&amp;gt; Start Without Debugging &lt;/em&gt;(Ctrl + F5). This should bring up a new instance of Visual Studio (within which the Roslyn Language Service is present).&lt;/p&gt;
&lt;p&gt;In this new Visual Studio instance, click on &lt;em&gt;View &amp;ndash;&amp;gt; Other Windows &amp;ndash;&amp;gt; Roslyn Syntax Visualizer&lt;/em&gt; to bring up the Syntax Visualizer.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8484.image_5F00_29D9C686.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7416.image_5F00_thumb_5F00_22BA8A0E.png" width="630" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This should bring up a tool window that looks like below. Lets dock this tool window at a convenient location inside Visual Studio. I usually dock this window on the left side.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5353.image_5F00_1B9B4D96.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8715.image_5F00_thumb_5F00_7B8040D8.png" width="448" height="449" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now in the same Visual Studio instance, create a new project by clicking on &lt;em&gt;File &amp;ndash;&amp;gt; New Project&lt;/em&gt;. You can create either a VB / C# project. As soon as Visual Studio opens the main code file for this project, you should see the Syntax Tree for this file in the visualizer tool window as shown in the below image. You can open any existing C# / VB file in this Visual Studio instance and the Syntax Tree for the opened file will be displayed in the visualizer tool window. If you have multiple code files open inside Visual Studio, the visualizer will always display the Syntax Tree for the currently active code file (i.e. the code file that has keyboard focus).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3000.image_5F00_5B65341B.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2022.image_5F00_thumb_5F00_5445F7A3.png" width="501" height="576" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As you can see in the above image, the visualizer tool window displays the Syntax Tree at the top and a property grid at the bottom. The property grid displays the properties of the item that is currently selected in the tree, including the .NET &amp;lsquo;Type&amp;rsquo; and the &amp;lsquo;Kind&amp;rsquo; (SyntaxKind) of the item.&lt;/p&gt;
&lt;p&gt;Roslyn Syntax Trees are comprised of three types of items &amp;ndash; Syntax Nodes, Syntax Tokens and Syntax Trivia. You can read more about these types in the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=230702" target="_blank"&gt;Roslyn Project Overview Document&lt;/a&gt;. Items of each type are represented using a different color. You can click on the button titled &amp;lsquo;Legend&amp;rsquo; for a better understanding of this color coding.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0878.image_5F00_10059057.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1440.image_5F00_thumb_5F00_6FEA8399.png" width="225" height="169" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Each item in the tree also displays its own &amp;lsquo;Span&amp;rsquo;. In the above example, the selected item &amp;ldquo;&lt;span style="color: #0000ff;" color="#0000ff"&gt;ModuleKeyword [0..6)&lt;/span&gt;&amp;rdquo; has a Span that is 6 characters wide i.e. &lt;span style="color: #0000ff;" color="#0000ff"&gt;[0..6)&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;There are a couple of different ways in which you can navigate the tree -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can navigate the tree by expanding / clicking on items in the tree. If you click on an item in the tree, the visualizer will automatically select the text corresponding to this item&amp;rsquo;s Span in the code editor.&lt;/li&gt;
&lt;li&gt;You can also navigate the tree by clicking on / selecting text in the code editor. In the above example, if you select the line containing &amp;ldquo;&lt;span style="color: blue;"&gt;Module &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;Module1&lt;/span&gt;&amp;rdquo; in the code editor, the visualizer will automatically navigate to the corresponding &amp;ldquo;&lt;span style="color: #0000ff;" color="#0000ff"&gt;ModuleStatement [0..14)&lt;/span&gt;&amp;rdquo; item in the tree. In essence, the visualizer will try to find and highlight the item in the tree whose span best matches the span of the text that you select.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Next, lets see what happens when we modify the code in the active code file. In the above example, lets type the statement &amp;ldquo;Console.WriteLine()&amp;rdquo; inside the &amp;ldquo;&lt;span style="color: blue;"&gt;Sub &lt;/span&gt;Main()" block. As you type, notice that the visualizer refreshes the tree to match the most current version of the typed code.&lt;/p&gt;
&lt;p&gt;Pause typing once you have typed &amp;ldquo;Console.&amp;rdquo; Notice that the tree has some items colored in pink. This is because at this point, there are errors (also referred to as &amp;lsquo;Diagnostics&amp;rsquo;) in the typed code. These errors are attached to Syntax Nodes / Syntax Tokens / Syntax Trivia in the Syntax Tree and the visualizer shows you which items have errors attached to them by coloring them specially. You can inspect the errors that are present on any item colored pink by hovering over the item with your mouse. Note that the visualizer will only display syntactic errors (i.e. errors related to the syntax of the typed code) &amp;ndash; it will not display any semantic errors.&lt;/p&gt;
&lt;p&gt;In Visual Studio Premium and Visual Studio Ultimate, you can also right click on any item in the visualizer tool window and click on &lt;strong&gt;Directed Syntax Graph&lt;/strong&gt;. This will display a graphical representation of the sub-tree rooted at the selected item. This feature is not available in Visual Studio Professional.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2308.image_5F00_6B0F8997.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6102.image_5F00_thumb_5F00_0ABE6360.png" width="416" height="183" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lets try this for the &amp;ldquo;&lt;span style="color: #0000ff;" color="#0000ff"&gt;SubBlock [22..47)&lt;/span&gt;&amp;rdquo; item in the above example. This should display a Syntax Graph that looks as follows.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3603.image_5F00_5682805F.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8802.image_5F00_thumb_5F00_4F6343E7.png" width="579" height="473" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As you can see the Syntax Graph also displays a legend for the coloring scheme it uses. You can hover over individual items in the Syntax Graph with the mouse to view the properties corresponding to that item.&lt;/p&gt;
&lt;p&gt;You can view Syntax Graphs for different items in the tree repeatedly and the graphs will always be displayed in the same window inside Visual Studio. You can dock this window at a convenient location inside Visual Studio so that you don&amp;rsquo;t have to switch between tabs to view a new Syntax Graph. I usually dock this window at the bottom (below my code editor windows).&lt;/p&gt;
&lt;p&gt;Below is the docking layout that I normally use for the visualizer tool window and the Syntax Graph window.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4572.image_5F00_4844076F.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5165.image_5F00_thumb_5F00_35FB40AD.png" width="644" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can close the visualizer tool window at any time and once closed it should cease to have any impact. You can also disable / uninstall the visualizer extension completely using &lt;em&gt;Tools &amp;ndash;&amp;gt; Extension Manager&lt;/em&gt; in Visual Studio.&lt;/p&gt;
&lt;p&gt;With that we come to the end of the overview for the Syntax Visualizer Tool Window sample.&lt;/p&gt;
&lt;h1&gt;&amp;nbsp;&lt;/h1&gt;
&lt;h1&gt;Syntax Debugger Visualizer&lt;/h1&gt;
&lt;p&gt;Next, lets take a look at the Syntax Debugger Visualizer sample. This sample is a tool that can be used within a Visual Studio debug session to visualize Roslyn Syntax Trees, Syntax Nodes, Syntax Tokens and Syntax Trivia.&lt;/p&gt;
&lt;p&gt;Open the Syntax Debugger Visualizer sample in Visual Studio by clicking on the link with the corresponding title in the &amp;ldquo;Getting Started&amp;rdquo; guide. Once the project is open inside Visual Studio, you should find a file named &amp;lsquo;Readme.html&amp;rsquo; under the &amp;lsquo;SyntaxDebuggerVisualizer&amp;rsquo; project as shown in the below image. This file contains a brief overview of this sample and also details the steps for installing and running this sample.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1464.image_5F00_0EC0F778.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2045.image_5F00_thumb_5F00_59B46847.png" width="248" height="165" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The &amp;lsquo;SyntaxDebuggerVisualizer&amp;rsquo; project itself is just a library, and cannot be run. Lets build this project by clicking on &lt;em&gt;Build &amp;ndash;&amp;gt; Build Solution&lt;/em&gt; in Visual Studio. Next, lets navigate to the bin directory of this project and copy the files present in this directory to the &lt;em&gt;...\Documents\Visual Studio 2010\Visualizers&lt;/em&gt; directory. You may need to create the &lt;em&gt;...\Documents\Visual Studio 2010\Visualizers&lt;/em&gt; directory in case it doesn&amp;rsquo;t exist already on your computer.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3301.image_5F00_78759C9D.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5432.image_5F00_thumb_5F00_513B5368.png" width="608" height="488" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once copied, the debugger visualizer is ready for use within Visual Studio. Close and reopen Visual Studio to make sure that the debugger visualizer is recognized.&lt;/p&gt;
&lt;p&gt;Lets write a small test program to test the debugger visualizer. In the new instance of Visual Studio that you just opened, create a new Roslyn Console Application using the &lt;em&gt;File &amp;ndash;&amp;gt; New Project &lt;/em&gt;dialog.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8156.image_5F00_38FA5758.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0640.image_5F00_thumb_5F00_1153DB2E.png" width="644" height="400" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the &amp;ldquo;Main()&amp;rdquo; function of this Roslyn Console Application, paste the following code -&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;span style="color: blue;"&gt;var &lt;/span&gt;tree = Roslyn.Compilers.CSharp.&lt;span style="color: #2b91af;"&gt;SyntaxTree&lt;/span&gt;.ParseCompilationUnit(&lt;span style="color: #a31515;"&gt;@"class c1 { }"&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;span style="color: blue;"&gt;var &lt;/span&gt;token = tree.Root.DescendentTokens().First();&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="code"&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;span style="color: #2b91af;"&gt;Console&lt;/span&gt;.WriteLine(token.Kind);&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;The above code uses the Roslyn API to create a Syntax Tree, selects a Syntax Token from this tree and prints the &amp;lsquo;Kind&amp;rsquo; of this Syntax Token on the console. Lets put a breakpoint on the &amp;ldquo;&lt;span style="color: #2b91af;"&gt;Console&lt;/span&gt;.WriteLine(token.Kind);&amp;rdquo; line above and run the program under the debugger by clicking on &lt;em&gt;Debug &amp;ndash;&amp;gt; Start Debugging&lt;/em&gt; (F5).&lt;/p&gt;
&lt;p&gt;Once the execution breaks at the breakpoint, lets bring up Visual Studio&amp;rsquo;s Autos window. Notice the magnifying glass icons that appear next to the two variables in the Autos window. The presence of this magnifying glass icon indicates that the debugger visualizer was correctly installed and that it is available for use.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3386.image_5F00_2CF86724.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0647.image_5F00_thumb_5F00_25D92AAC.png" width="644" height="468" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In fact, once the debugger visualizer is installed, the above magnifying glass icon should appear in debugger windows next to any object with type -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Roslyn.Compilers.Common.CommonSyntaxTree&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.Common.CommonSyntaxNodeOrToken&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.Common.CommonSyntaxNode&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.Common.CommonSyntaxToken&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.Common.CommonSyntaxTrivia&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.CSharp.SyntaxTree&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.CSharp.SyntaxNodeOrToken&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.CSharp.SyntaxNode&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.CSharp.SyntaxToken&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.CSharp.SyntaxTrivia&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.VisualBasic.SyntaxTree&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.VisualBasic.SyntaxNodeOrToken&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.VisualBasic.SyntaxNode&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.VisualBasic.SyntaxToken&lt;/li&gt;
&lt;li&gt;Roslyn.Compilers.VisualBasic.SyntaxTrivia&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Lets click on the magnifying glass that appears next to the variable &amp;ldquo;token&amp;rdquo; in the Auto&amp;rsquo;s window above. This should bring up the following debugger visualizer window. The Syntax Token that you selected in the Autos window is highlighted in the tree and the text corresponding to the Span of this Syntax Token is also highlighted in the text box.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5658.image_5F00_065D2221.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8306.image_5F00_thumb_5F00_74145B5E.png" width="644" height="422" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The visualizer displays the Syntax Tree at the top and a property grid at the bottom and the operation of these controls is essentially the same as in the case of the Syntax Visualizer Tool Window sample that we discussed earlier in this post. The rich Visual Studio code editor in the Syntax Visualizer Tool Window is replaced with a read-only text box in the Syntax Debugger Visualizer. However, you can still navigate the tree by either clicking on / expanding items in the tree or by clicking on / selecting text in the text box.&lt;/p&gt;
&lt;p&gt;For example, lets select the closing brace &amp;ldquo;}&amp;rdquo; in the text box using the mouse &amp;ndash; this will automatically select the corresponding item in the tree as shown in the below image.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7870.image_5F00_65A31131.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7802.image_5F00_thumb_5F00_5E83D4B9.png" width="478" height="465" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Notice also that the Line, Column and Position info corresponding to the currently selected text in the text box are displayed at the top right portion of the visualizer window.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The debugger visualizer does not support visualizing the following types of objects. It will display an error message if it encounters an object that it cannot visualize correctly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Syntax Nodes / Syntax Tokens / Syntax Trivia from a Syntax Tree that was parsed using non-default Parse Options.&lt;/li&gt;
&lt;li&gt;Syntax Nodes / Syntax Tokens / Syntax Trivia generated using Roslyn Syntax Factory Methods (such as Syntax.ParseExpression(), Syntax.ParseStatement(), Syntax.CompilationUnit() etc.).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Note: There is a known bug in the implementation of the Syntax Debugger Visualizer sample. Please take a look at this &lt;/strong&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/roslyn/thread/f5adeaf0-49d0-42dc-861b-0f6ffd731825" target="_blank"&gt;&lt;strong&gt;Roslyn Forum Post&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; (that contains a list of known issues for the Roslyn CTP) for a description of this bug and how you can fix this.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Feedback&lt;/h1&gt;
&lt;p&gt;I hope you had a fun time learning about the two Syntax Visualizers. Do try them out and use them as you explore the Roslyn APIs and develop new code issues / code refactorings!&lt;/p&gt;
&lt;p&gt;We are very excited to get an early preview of the Roslyn technology in your hands and would love to hear your feedback, ideas and suggestions about the CTP and also about the visualizer tools described in this post. Please use the CTP to build rich code tools and extensions so that you can learn more about the APIs and provide feedback.&lt;/p&gt;
&lt;p&gt;Please note that this is a technology preview and there are known limitations and bugs. The primary goal of this CTP is to give you an early preview of the Roslyn APIs and gather feedback. While the shape of the public API surface is complete, only a subset of the C# and Visual Basic languages have been implemented end-to-end in the CTP. You can find a complete list of known issues and non-implemented language features on this &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/roslyn/thread/f5adeaf0-49d0-42dc-861b-0f6ffd731825" target="_blank"&gt;Roslyn Forum Post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please use the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=230758" target="_blank"&gt;Roslyn Forum&lt;/a&gt; to ask questions and provide feedback and &lt;a href="http://go.microsoft.com/fwlink/?LinkId=230759" target="_blank"&gt;Microsoft Connect&lt;/a&gt; to log bugs and suggestions.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thank You! &lt;br /&gt;Shyam Namboodiripad &lt;br /&gt;Software Development Engineer in Test (Roslyn Compilers Team)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10226699" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Visual+Basic/">Visual Basic</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Roslyn/">Roslyn</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Syntax+Visualizer/">Syntax Visualizer</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Shyam+Namboodiripad/">Shyam Namboodiripad</category></item><item><title>Introducing the Microsoft “Roslyn” CTP</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/19/introducing-the-microsoft-roslyn-ctp.aspx</link><pubDate>Wed, 19 Oct 2011 12:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10226695</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10226695</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10226695</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/19/introducing-the-microsoft-roslyn-ctp.aspx#comments</comments><description>&lt;h2&gt;Today we are releasing the first Community Technology Preview of the &lt;a href="http://msdn.com/roslyn"&gt;Roslyn Project&lt;/a&gt;!&lt;/h2&gt;
&lt;h2&gt;What is Roslyn?&lt;/h2&gt;
&lt;p&gt;In the past, our compilers have acted as black boxes &amp;ndash; you put source text in and out the other end comes an assembly. All of that rich knowledge and information that the compiler produces is thrown away and unavailable for anyone else to use.&lt;/p&gt;
&lt;p&gt;As Soma mentions in his &lt;a href="http://blogs.msdn.com/b/somasegar/archive/2011/10/19/roslyn-ctp-available-now.aspx"&gt;blog&lt;/a&gt;, a part of the Visual Studio languages team is working on a project called Roslyn with a goal to rewrite the C# and VB compilers and language services in managed code. With a clean, modern, managed codebase our team can be more productive, innovate faster, and deliver more features sooner and with better quality.&lt;/p&gt;
&lt;p&gt;More importantly, we are opening up the C# and Visual Basic compilers and exposing all that rich information and code analysis to be available for your use. We expose a public API surface and provide extension points in the C# and VB language services.&lt;/p&gt;
&lt;p&gt;This opens up new opportunities for VS extenders to write powerful refactorings and language analysis tools, as well as allow anyone to incorporate our parsers, semantic engines, code generators and scripting in their own applications.&lt;/p&gt;
&lt;h2&gt;Download the October 2011 CTP&lt;/h2&gt;
&lt;p&gt;The CTP and supporting materials can be downloaded from:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.com/roslyn"&gt;http://msdn.com/roslyn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The main goal of this early preview is to gather feedback on the API design and to introduce the C# Interactive window (also known as REPL, or Read-Eval-Print-Loop).&lt;/p&gt;
&lt;p&gt;This first CTP is intended for preview-use only and does not allow redistribution of the Roslyn components or allow use in a production environment.&lt;/p&gt;
&lt;p&gt;The CTP installs on Visual Studio 2010 SP1. It also requires the &lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=21835"&gt;Visual Studio 2010 SP1 SDK&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;After the installation succeeds, the best place to start is to open Start Menu -&amp;gt; Microsoft Codename Roslyn CTP -&amp;gt; Getting Started.&lt;/p&gt;
&lt;p&gt;To get started, the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=230702"&gt;&amp;ldquo;Roslyn Project Overview&amp;rdquo;&lt;/a&gt; document gives a look at the compiler API &amp;ndash; how to work with syntax and semantics of your program. Several walkthrough documents are also included to provide a deep dive into various aspects of the Roslyn APIs.&lt;/p&gt;
&lt;p&gt;The CTP ships with quite a few samples for Visual Studio Extensions, compiler API, code issues, refactorings and so on. Most of the samples are provided for both C# and Visual Basic. You can open the sample source code from the Getting Started page.&lt;/p&gt;
&lt;p&gt;We also install several new project templates available in the New Project dialog:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6036.ProjectTemplatesVB_5F00_01804DA6.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="ProjectTemplatesVB" border="0" alt="ProjectTemplatesVB" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3113.ProjectTemplatesVB_5F00_thumb_5F00_08335729.png" width="699" height="278" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4774.ProjectTemplatesCSharp_5F00_68184A6B.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="ProjectTemplatesCSharp" border="0" alt="ProjectTemplatesCSharp" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2630.ProjectTemplatesCSharp_5F00_thumb_5F00_75EA9066.png" width="696" height="284" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These templates will help you to get started on a new Visual Studio extension that uses Roslyn.&lt;/p&gt;
&lt;h2&gt;Reference Assemblies&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3201.References_5F00_40DE0136.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="References" border="0" alt="References" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1157.References_5F00_thumb_5F00_4EB04731.png" width="486" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Roslyn assemblies are also installed in the GAC. Switch to the Full Profile (instead of the Client Profile) to be able to also reference the Services assemblies (which contain the IDE support).&lt;/p&gt;
&lt;h2&gt;C# Interactive window&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6355.InteractiveWindow_5F00_5C828D2C.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="InteractiveWindow" border="0" alt="InteractiveWindow" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0574.InteractiveWindow_5F00_thumb_5F00_3C67806F.png" width="394" height="206" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can invoke the C# Interactive window from View -&amp;gt; Other Windows -&amp;gt; C# Interactive Window. The Interactive window is powered by the new C# language service. The architecture of Roslyn is flexible enough to allow many of the IDE features such as IntelliSense and refactorings to work the same in a normal editor and in the Interactive window.&lt;/p&gt;
&lt;p&gt;At this time, the Interactive window is only available for C#. We&amp;rsquo;re working hard on providing the VB Interactive at a future time.&lt;/p&gt;
&lt;h2&gt;C# Script File (.csx) Editing Support&lt;/h2&gt;
&lt;p&gt;The CTP introduces a concept of a C# Script File. You can create a .csx file through File -&amp;gt; New File (or also use any other editor such as notepad):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5873.NewCSharpScriptFile_5F00_1C4C73B2.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="NewCSharpScriptFile" border="0" alt="NewCSharpScriptFile" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3730.NewCSharpScriptFile_5F00_thumb_5F00_7C3166F4.png" width="700" height="479" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5857.CSXScriptEditor_5F00_4724D7C4.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="CSXScriptEditor" border="0" alt="CSXScriptEditor" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3704.CSXScriptEditor_5F00_thumb_5F00_2709CB07.png" width="459" height="147" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can run scripts using the new rcsi.exe, which installs into %ProgramFiles(x86)%\Microsoft Codename Roslyn CTP\Binaries\rcsi.exe. You can add rcsi.exe to the path and then type rcsi &amp;lt;scriptfilename&amp;gt;.csx.&lt;/p&gt;
&lt;p&gt;You can also copy chunks of code from a script file and send them to the C# Interactive Window (using the right-click context menu or a keyboard shortcut).&lt;/p&gt;
&lt;p&gt;The editor for the script files is also powered by the new language services. Hence it is important to keep in mind that .csx scripts will only support the part of the language already implemented in the Roslyn compilers. For more details, see the "Introduction to Scripting" walkthrough.&lt;/p&gt;
&lt;h2&gt;Quick sample of the Roslyn API&lt;/h2&gt;
&lt;p&gt;Here&amp;rsquo;s a sample of compiling and executing a small program using the Roslyn API.&lt;/p&gt;
&lt;pre style="font-family: consolas; background: white; color: black;"&gt;&lt;span style="color: blue;"&gt;using&lt;/span&gt; Roslyn.Compilers;
&lt;span style="color: blue;"&gt;using&lt;/span&gt; Roslyn.Compilers.CSharp;

...

&lt;span style="color: blue;"&gt;var&lt;/span&gt; text = &lt;span style="color: #a31515;"&gt;@"class Calc { public static object Eval() { return 42; } }"&lt;/span&gt;;
 
&lt;span style="color: blue;"&gt;var&lt;/span&gt; tree = &lt;span style="color: #2b91af;"&gt;SyntaxTree&lt;/span&gt;.ParseCompilationUnit(text);
&lt;span style="color: blue;"&gt;var&lt;/span&gt; compilation = &lt;span style="color: #2b91af;"&gt;Compilation&lt;/span&gt;.Create(
    &lt;span style="color: #a31515;"&gt;"calc.dll"&lt;/span&gt;,
    options: &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;CompilationOptions&lt;/span&gt;(assemblyKind: &lt;span style="color: #2b91af;"&gt;AssemblyKind&lt;/span&gt;.DynamicallyLinkedLibrary),
    syntaxTrees: &lt;span style="color: blue;"&gt;new&lt;/span&gt;[] { tree },
    references: &lt;span style="color: blue;"&gt;new&lt;/span&gt;[] { &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;AssemblyFileReference&lt;/span&gt;(&lt;span style="color: blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color: blue;"&gt;object&lt;/span&gt;).Assembly.Location) });
 
&lt;span style="color: #2b91af;"&gt;Assembly&lt;/span&gt; compiledAssembly;
&lt;span style="color: blue;"&gt;using&lt;/span&gt; (&lt;span style="color: blue;"&gt;var&lt;/span&gt; stream = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;MemoryStream&lt;/span&gt;())
{
    &lt;span style="color: #2b91af;"&gt;EmitResult&lt;/span&gt; compileResult = compilation.Emit(stream);
    compiledAssembly = &lt;span style="color: #2b91af;"&gt;Assembly&lt;/span&gt;.Load(stream.GetBuffer());
}
 
&lt;span style="color: #2b91af;"&gt;Type&lt;/span&gt; calc = compiledAssembly.GetType(&lt;span style="color: #a31515;"&gt;"Calc"&lt;/span&gt;);
&lt;span style="color: #2b91af;"&gt;MethodInfo&lt;/span&gt; eval = calc.GetMethod(&lt;span style="color: #a31515;"&gt;"Eval"&lt;/span&gt;);
&lt;span style="color: blue;"&gt;string&lt;/span&gt; answer = eval.Invoke(&lt;span style="color: blue;"&gt;null&lt;/span&gt;, &lt;span style="color: blue;"&gt;null&lt;/span&gt;).ToString();
 
&lt;span style="color: #2b91af;"&gt;Assert&lt;/span&gt;.AreEqual(&lt;span style="color: #a31515;"&gt;"42"&lt;/span&gt;, answer);&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; At this stage, only a subset of the language features has been implemented in the current CTP. We&amp;rsquo;re moving forward at a fast pace, but features such as Linq query expressions, attributes, events, dynamic, async are not yet implemented. To see a full list of non-implemented language features, see the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=230758"&gt;Roslyn forums&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Although not all the language features are supported, the shape of the public API is mostly complete, so we encourage you to write extensions and tools against the Syntax, Symbols, and Flow and Region Analysis APIs.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;re very excited to get an early preview of this technology in your hands and we welcome your feedback, ideas and suggestions. Use the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=230758"&gt;forums&lt;/a&gt; to ask questions and provide feedback, &lt;a href="http://go.microsoft.com/fwlink/?LinkId=230759"&gt;Microsoft Connect&lt;/a&gt; to log bugs and suggestions, and use the &lt;a href="http://twitter.com/#!/search/realtime/%23RoslynCTP"&gt;#RoslynCTP&lt;/a&gt; hashtag on Twitter.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kirill Osenkov&lt;/p&gt;
&lt;p&gt;QA (Roslyn Services Team)&lt;/p&gt;
&lt;p&gt;Blog: &lt;a href="http://blogs.msdn.com/b/kirillosenkov"&gt;http://blogs.msdn.com/b/kirillosenkov&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Twitter: &lt;a href="http://twitter.com/#!/KirillOsenkov"&gt;@KirillOsenkov&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=10226695" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcement/">announcement</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/extensibility/">extensibility</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/walkthrough/">walkthrough</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Visual+Basic/">Visual Basic</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Roslyn/">Roslyn</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Kirill+Osenkov/">Kirill Osenkov</category></item><item><title>Visual Studio 11 Developer Preview: Search Everywhere</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/11/visual-studio-11-developer-preview-search-everywhere.aspx</link><pubDate>Tue, 11 Oct 2011 17:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10223332</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>15</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10223332</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10223332</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/11/visual-studio-11-developer-preview-search-everywhere.aspx#comments</comments><description>&lt;p&gt;During usability studies on previous versions of Visual Studio, we found many users were spending quite a lot of time browsing long lists of data from files in Solution Explorer to controls in the Toolbox, errors or warnings in the Error list, menus, bugs, etc. More often than not you know what you want but finding it in the list can be tedious. Visual Studio 11 Developer Preview aims at increasing productivity by reducing the amount of time it takes to traverse through these lists by adding search to a number of common windows.&lt;/p&gt;
&lt;p&gt;&lt;a title="Video: VS11 Developer Preview Search Everywhere" href="http://www.youtube.com/watch?v=aSgcgjnFsJA"&gt;Video: VS11 Developer Preview Search Everywhere&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="&amp;amp;hl=en" /&gt;&lt;embed height="355" type="application/x-shockwave-flash" width="425" src="http://www.youtube.com/v/aSgcgjnFsJA&amp;amp;hl=en" /&gt;&lt;/object&gt;&lt;/div&gt;
&lt;h1&gt;&lt;b&gt;Search in Solution Explorer&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5040.image_5F00_7627A7EA.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1348.image_5F00_thumb_5F00_560C9B2D.png" width="244" height="69" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Location: Between Solution Explorer toolbar and Solution &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Keyboard Shortcut: Ctrl + ;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Navigating through huge projects or solutions to find the file, class, or member you want is extremely easy with search in Solution Explorer. Pressing &lt;b&gt;Ctrl+;&lt;/b&gt; will place focus in the Solution Explorer search box and allow you to filter down the tree view. You don&amp;rsquo;t need to remember the entire name of a file or even how it starts, because this search is a &amp;lsquo;contains&amp;rsquo; search. So as long as you know any part of the substring, type it in (no need to press &amp;lsquo;enter&amp;rsquo; &amp;ndash; Search starts the moment you start typing to give you instant results) and all results that &amp;lsquo;contain&amp;rsquo; the keyword will show.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4075.image_5F00_63DEE128.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8360.image_5F00_thumb_5F00_0AACF769.png" width="256" height="285" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pascal Case search is also enabled in Solution Explorer. Pascal Casing is when the first letter of every word in the name of a folder or file is capitalized. By typing in just the capitalized letters you can search for the class or member. For example, search &amp;ldquo;BJG&amp;rdquo; for the class name BlackJackGame. &lt;i&gt;NOTE: The Developer Preview doesn&amp;rsquo;t support Pascal Casing on projects, files, or folders yet &amp;ndash; only language nodes are searchable through Pascal Casing. We are looking to add full support later this release&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5621.image_5F00_1C898B36.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4643.image_5F00_thumb_5F00_156A4EBE.png" width="261" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Search in Error list&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2500.image_5F00_5129E771.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8666.image_5F00_thumb_5F00_310EDAB4.png" width="212" height="55" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Location: Top right corner of Error List window&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Finding the right error in the Error List can be challenging at times, so for VS11 we&amp;rsquo;ve added a search box to the Error List to help you find the&lt;i&gt; right&lt;/i&gt; error, warning, or message. The search will look through all columns, not just the error description, thus allowing you to easily scope the results through a file or project name.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0743.image_5F00_10879B02.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4137.image_5F00_thumb_5F00_7476DC16.png" width="643" height="134" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As a complement to search, the Error List now has a filtering button in the top-left which allows you to scope the results in the list to the errors, warnings, and messages in the &lt;b&gt;Open Documents, Current Project, Current Document. &lt;/b&gt;When you switch files, the filter is applied to that file allowing you to zero in on just the files you are interested in.&lt;b&gt; &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Location: Top left corner of Error List window&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4150.image_5F00_02492212.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6786.image_5F00_thumb_5F00_29173852.png" width="647" height="135" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0434.image_5F00_4FE54E92.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4628.image_5F00_thumb_5F00_48C6121A.png" width="646" height="87" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7271.image_5F00_41A6D5A2.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7183.image_5F00_thumb_5F00_3A87992A.png" width="648" height="141" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Search in Other Windows&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;We&amp;rsquo;ve talked about two of our favorite new search additions, but you&amp;rsquo;ll find that search has been added to a number of places throughout VS, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add Reference Dialog&lt;/li&gt;
&lt;li&gt;Team Explorer &amp;ndash; includes search filters for narrowing down the bug list.&lt;/li&gt;
&lt;li&gt;Quick Find&lt;/li&gt;
&lt;li&gt;Intellitrace Summary Page&lt;/li&gt;
&lt;li&gt;Parallel Watch Window&lt;/li&gt;
&lt;li&gt;C++ Graphics Event List&lt;/li&gt;
&lt;li&gt;And More&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;&lt;b&gt;Quick Launch&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8764.image_5F00_33685CB2.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5125.image_5F00_thumb_5F00_5A3672F2.png" width="207" height="52" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Location: Top right corner of IDE&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Keyboard Shortcut: Ctrl + ` [back quote]&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Probably the most useful new search box is the one in the upper right corner of VS: Quick Launch. The keyboard shortcut to place focus in Quick Launch is &lt;b&gt;Ctrl + ` [back quote]&lt;/b&gt;. &lt;i&gt;(Back Quote shares the key with ~ on US keyboards, and is to the left of the &amp;lsquo;1&amp;rsquo; button). NOTE: You can change the keyboard shortcut via Tools-&amp;gt;Options-&amp;gt;Environment-&amp;gt;Keyboard and searching for &amp;ldquo;Window.QuickLaunch&amp;rdquo;.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;Quick Launch will search over commands, options, and open documents within VS. To create a new project, just type &amp;ldquo;new project&amp;rdquo; and press ENTER. Too add a class, just type &amp;ldquo;Add Class&amp;rdquo; and press ENTER. Quick Launch makes it very easy to execute actions inside VS. Additionally, the keyboard shortcut for the commands will be listed next to the result, allowing you to quickly memorize keyboard shortcuts.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7752.image_5F00_6808B8ED.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7774.image_5F00_thumb_5F00_0ED6CF2E.png" width="374" height="220" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5621.image_5F00_07B792B6.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7367.image_5F00_thumb_5F00_52AB0385.png" width="376" height="136" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Quick Launch will also maintain a most recently used (MRU) list of your frequently executed commands allowing common results to show up first in your search results. While Quick Launch ships with these out-of-the-box categories, we support the ability of 3&lt;sup&gt;rd&lt;/sup&gt; parties to add search categories as well.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5127.image_5F00_0E6A9C39.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0312.image_5F00_thumb_5F00_0DFE6944.png" width="517" height="304" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For detailed coverage on Quick Launch functionality check out Zain Naboulsi&amp;rsquo;s blog &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/27/visual-studio-11-developer-preview-quick-launch.aspx"&gt;&lt;b&gt;here&lt;/b&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Feedback&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;We&amp;rsquo;d love to hear from you! All customer feedback is reviewed and constantly used to improve the product, so please let us know what you think about these new features in Visual Studio 11 Developer Preview.&lt;/p&gt;
&lt;p&gt;If you encounter a bug or find something working different than you expect, please file a bug by logging onto &lt;a href="https://connect.microsoft.com/VisualStudio"&gt;&lt;b&gt;Microsoft Connect&lt;/b&gt;&lt;/a&gt;. If you have a suggestion, please add it to &lt;a href="http://visualstudio.uservoice.com/forums/121579-visual-studio"&gt;&lt;b&gt;User Voice&lt;/b&gt;&lt;/a&gt; and also vote on other suggestions so we know what is important to you.&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RadhikaTadinada&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Program Manager (Visual Studio Platform)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10223332" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/quick+launch+search+vs11+shell+demo/">quick launch search vs11 shell demo</category></item><item><title>Improving developer productivity with Visual Studio 11 Developer Preview</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/07/improving-developer-productivity-with-visual-studio-11-developer-preview.aspx</link><pubDate>Fri, 07 Oct 2011 00:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10221365</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>13</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10221365</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10221365</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/07/improving-developer-productivity-with-visual-studio-11-developer-preview.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;One of the things we&amp;rsquo;ve been doing in Visual Studio 11 Developer Preview (VS11) is focusing on ways to increase developer productivity and improve the performance of VS. Through careful observation of developers using Visual Studio and through talking to developers, we learned that one of the ways we could improve developer productivity would be by reducing the number of things that developers have to pay attention to and manage. Fewer tool windows, fewer toolbars, fewer irrelevant documents in the IDE would provide developers with more time to concentrate on their own code.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;We&amp;rsquo;ve taken this on board and have made a few changes to the way things work in Visual Studio that we think will result in some big productivity gains. Let&amp;rsquo;s start by taking a look at how we reduce the number of documents that a developer has to manage.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-size: small;" size="4"&gt;&lt;span style="color: #17365d;" color="#17365d"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Reducing Document Overload&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Developers often end up with additional documents open in the IDE as a side effect of performing some other activity such as stepping through code in the debugger, triaging search results, or foraging through files in a solution. For example, imagine I am trying to track down a bug that shows up whenever I make a call to some method. I place a breakpoint on that method then step into every method that it calls, and the methods that they call, until I finally reach the buggy code. It&amp;rsquo;s not uncommon in these situations to step through a number of different methods until finally reaching the buggy code. The following call stack shows a contrived example. I placed a breakpoint in Main and stepped through a number of intermediate methods until eventually landing on the buggy method.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Each step into an intermediate method resulted in another file being opened up in the IDE. As it turns out, these files aren&amp;rsquo;t really important to helping me debug the problem but they sit there, taking up space, and forcing me to work around them. Worse still, if I get interrupted (and who doesn&amp;rsquo;t?), when I return to my task I need to read through the files to remind myself that these files aren&amp;rsquo;t really important. All wasted effort and time.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Enter the &amp;lsquo;Preview Tab&amp;rsquo;. In VS11, the preview tab is a special tab that we use to display the content of files that aren&amp;rsquo;t currently open in the IDE. Each time the user takes an action that would cause a new file to be opened, we open that file up in the preview tab instead. There is only one preview tab, so we refresh the content of the preview tab on each new file that gets opened. So in the above scenario, when I stepped through the files containing IntermediateMethod1, IntermediateMethod2 and IntermediateMethod3, these files were opened in the preview tab, instead of opening up in their own dedicated files. And when we step into the BuggyMethod, that too is opened in the same preview tab.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;" size="3" face="Calibri"&gt;If you&amp;rsquo;re already incredibly excited at the thought of previewing files and want to try it out all for yourself, download the Microsoft Visual Studio 11 Developer Preview from here: &lt;/span&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=27543"&gt;&lt;span style="color: #0000ff; font-family: Calibri; font-size: small;" size="3" face="Calibri" color="#0000ff"&gt;http://www.microsoft.com/download/en/details.aspx?id=27543&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;). This build has the preview tab turned on by default. You&amp;rsquo;ll also be able to use the preview tab if you have the Windows 8 Developer Preview installed, but you&amp;rsquo;ll need to make a couple of changes to the registry to use the preview tab with C++ and VB files.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;If you have the Windows 8 Developer Preview installed, there are a couple of things you&amp;rsquo;ll need to do if you want to experiment with previewing C++ and VB files from the Solution Explorer. Add the following registry keys to enable previewing VB and C++ files from the Solution Explorer:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;// Microsoft Visual Basic Editor&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\VSWinExpress\11.0_Config\Editors\{2C015C70-C72C-11D0-88C3-00A0C9110049}]&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;"CommonPhysicalViewAttributes"=dword:00000002&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;// C++ Source Code editor&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\VSWinExpress\11.0_Config\Editors\{D0E1A5C6-B359-4e41-9B60-3365922C2A22}]&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;"CommonPhysicalViewAttributes"=dword:00000002&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;The end result is that instead of five files being opened in the IDE, we only have one file (the file containing the Main definition) and one file in the preview tab. For example:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/1803.previewtab1.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/1803.previewtab1.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;The tab on the right hand side (containing the file BuggyClass.cs) is the preview tab. We place it over on the right hand side, away from the other regular tabs to indicate that it is a different kind of tab.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;When a file is displayed in the preview tab, you can read the content in the file, scroll through it and copy content from the file to paste elsewhere. What if you decide that you want to keep the file around to do some work on it though? How do you prevent the file disappearing as the result of some other action that causes the preview tab to refresh with new content?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;There are a couple of ways to open the content in the preview tab into a regular tab.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Just start editing the content. As soon as you make any kind of edit to the file in the preview tab we&amp;rsquo;ll open that file in a regular tab automatically. No action is required on your part, just start editing the file like you normally would. We don&amp;rsquo;t want to have to force you to explicitly indicate that you want to keep the file around. We want to allow you to get on with your work so we&amp;rsquo;ll open it for you as soon as you start editing the file.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Click on the &amp;lsquo;Open&amp;rsquo; button. The preview tab has a button in between the file name and the close button. It&amp;rsquo;s highlighted in red below. Click on this button to open the file in a regular, persistent tab. A new regular tab will be created showing the content of the file and the preview tab will close.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/7127.previewtab2.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/7127.previewtab2.png" width="301" height="105" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;We don&amp;rsquo;t just use the preview tab while debugging. There are other scenarios that can result in files being opened as a side effect. In each of these scenarios we make use of the preview tab.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="151"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Scenario&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="488"&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;How the preview tab is used&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="151"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Goto Definition&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="488"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Each time the user performs a goto definition, we&amp;rsquo;ll show the definition in the preview tab unless the file containing the definition is already open in the IDE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="151"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Find results&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="488"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;After performing a Find in Files command, selecting any of the results in the find results tool window will show that result in the preview tab, unless it is already open in the IDE. Double clicking will continue to open the result in a regular tab, just as it has always done.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="151"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Solution Explorer&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="488"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Selecting a file in the Solution Explorer will open that file in the preview tab unless it is already open in the IDE. Double clicking will continue to open the the file in a regular tab, just as it has always done.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="151"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Search and relationship pivots in Solution Explorer (call hierarchy, base/derived types, find all references) &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="488"&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;The Solution Explorer has new functionality in it that supports extensive code navigation scenarios. In each of these scenarios, if the user clicks on a browsable node in the Solution Explorer we&amp;rsquo;ll show the file containing that node in the preview tab (unless it&amp;rsquo;s already open).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;This opens up the some interesting new experiences. For example, I can use the arrow keys to arrow up and down a list of results in the find results tool window to preview each result. So I can preview the full context of the search result instead of the single line of text that the find results tool window shows me. Since I don&amp;rsquo;t have to worry about tidying up opened files after previewing the list of results, I can quickly scan through the list of results to find the result I was looking for. Once I find that result, I can just hit the &amp;lsquo;Enter&amp;rsquo; key or double click the result to open it as a normal tab (or click on the Open button on the preview tab as described above).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;The same is true for the Solution Explorer. Now that we have integrated many more browsing experiences into the Solution Explorer (through the search capabilities and the ability to explore different relationships such as called by, derived from etc) it&amp;rsquo;s important to enable those experiences in such a way that the user doesn&amp;rsquo;t have to pay the tax of cleaning up behind them after they have explored through their code. So if you select a file or indeed any other object contained within a file from the Solution Explorer, we&amp;rsquo;ll show that file inside the preview tab (unless it is already open). That way you can navigate &amp;lsquo;without remorse&amp;rsquo;. If you don&amp;rsquo;t want to preview a file (say you just want to select a file so that you can change its name or you want to drag and drop the file somewhere, you can hold down the &amp;lsquo;Alt&amp;rsquo; key when single clicking the file to prevent the preview from showing up).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;We think that the preview tab will open up a new way of working with files. We&amp;rsquo;ve tried to implement it such that it doesn&amp;rsquo;t get in your way so that we don&amp;rsquo;t force you to change your habits. Our goal is that over time it will play a larger and larger role in the way that you search and work with files.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;We&amp;rsquo;d really love to hear your feedback so please send comments our way.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Thanks!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;Steven Clarke&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;" size="3"&gt;&lt;span style="font-family: Calibri;" face="Calibri"&gt;User Experience Researcher (Visual Studio)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10221365" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Productivity+Documents+Tabs+Preview/">Productivity Documents Tabs Preview</category></item><item><title>Visual Studio 11 Developer Preview Survey</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/04/visual-studio-11-developer-preview-survey.aspx</link><pubDate>Tue, 04 Oct 2011 04:23:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10219542</guid><dc:creator>Lisa.Feigenbaum</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10219542</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10219542</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/04/visual-studio-11-developer-preview-survey.aspx#comments</comments><description>&lt;p&gt;Have you had a chance to play around with the Visual Studio 11 Developer Preview? If so, we&amp;rsquo;d like to hear your early impressions, particularly around performance, reliability, and quality. Let us know what you think by taking the Visual Studio 11 Developer Preview &lt;a href="http://www.zoomerang.com/Survey/WEB22D992G3BAR/"&gt;survey&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;Doug Turnure &amp;ndash; Visual Studio Program Manager&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10219542" width="1" height="1"&gt;</description></item><item><title>Private Extension Galleries for the Enterprise</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/10/03/private-extension-galleries-for-the-enterprise.aspx</link><pubDate>Mon, 03 Oct 2011 08:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10216933</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10216933</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10216933</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/10/03/private-extension-galleries-for-the-enterprise.aspx#comments</comments><description>&lt;p&gt;In Visual Studio 2010, we introduced a feature called the Extension Manager &amp;ndash; a new dialog that connects to the Microsoft &lt;a href="http://visualstudiogallery.msdn.microsoft.com/"&gt;Visual Studio Gallery&lt;/a&gt; to help a customer easily select and install extensions to Visual Studio from right inside 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-01-29-92-metablogapi/8713.image_5F00_06442018.png"&gt;&lt;img style="display: inline; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8787.image_5F00_thumb_5F00_0CF7299B.png" width="756" height="524" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since then, enterprise customers have frequently asked us to provide a way for Visual Studio to connect to a customer-managed website that contains a private collection of Visual Studio extensions. Today I&amp;rsquo;m excited to announce a new feature available in the Developer Preview version of VS that does just that, and offers you the same smooth, simple download, install, and update experience that you&amp;rsquo;ve seen when connected to the public Visual Studio Gallery.&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;&lt;/h1&gt;
&lt;h1&gt;&lt;/h1&gt;
&lt;h1&gt;Configuring a private gallery&lt;/h1&gt;
&lt;p&gt;In the Extension Manager panel of the Tools/Options page, you can now add a URL to the Extension Repositories list that points to the server where your private gallery lives. Visual Studio expects to find an atom feed at this endpoint that describes the extensions available on your gallery.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7711.image_5F00_1ED3BD68.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7723.image_5F00_thumb_5F00_5A93561B.png" width="722" height="420" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Using your gallery&lt;/h1&gt;
&lt;p&gt;The next time you open the Extension Manager Online panel, you&amp;rsquo;ll see your gallery listed after the two public ones (Visual Studio Gallery and Samples Gallery).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4174.image_5F00_3E829730.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3326.image_5F00_thumb_5F00_6550AD70.png" width="872" height="604" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;&lt;/h1&gt;
&lt;p&gt;Install looks exactly like it does for the public galleries:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6153.image_5F00_3A0C1669.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5076.image_5F00_thumb_5F00_32ECD9F1.png" width="446" height="361" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Creating the gallery&lt;/h1&gt;
&lt;p&gt;On a web server, or on your local or remote file system, create a root directory for your gallery, and add sub-directories for each category in your collection. (In the illustration below, there are two categories: Project X and Project W.)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6646.image_5F00_2BCD9D79.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6560.image_5F00_thumb_5F00_399FE374.png" width="569" height="214" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Place each VSIX file in the folder that corresponds to its category. Then it&amp;rsquo;s time to create the atom feed.&lt;/p&gt;
&lt;p&gt;For this preview version, you&amp;rsquo;ll create the feed by hand. We&amp;rsquo;ll make some tools available to automate that process soon. Here is a sample feed, with the element values you&amp;rsquo;ll need to edit highlighted:&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt; &lt;br /&gt;&amp;lt;feed xmlns="&lt;a href="http://www.w3.org/2005/Atom&amp;quot;"&gt;http://www.w3.org/2005/Atom"&lt;/a&gt;&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;title type="text"&amp;gt;&amp;lt;/title&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;id&amp;gt;uuid:874a62b3-c36c-4443-aeb9-498e4c6e589d;id=1&amp;lt;/id&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;updated&amp;gt;2011-09-02T01:58:50Z&amp;lt;/updated&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;entry&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;id&amp;gt;&lt;span style="background-color: #ffff00;"&gt;MessageInspector.Acme Corp..6b64a54c-93b9-4f0c-a962-71ba1c23c1d8&lt;/span&gt;&amp;lt;/id&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title type="text"&amp;gt;&lt;span style="background-color: #ffff00;"&gt;MessageInspector&lt;/span&gt;&amp;lt;/title&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;summary type="text"&amp;gt;&lt;span style="background-color: #ffff00;"&gt;Visualizes message exchanges for Project W&lt;/span&gt;&amp;lt;/summary&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;published&amp;gt;2011-09-01T18:51:00-07:00&amp;lt;/published&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;updated&amp;gt;2011-09-01T18:57:18-07:00&amp;lt;/updated&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;&lt;span style="background-color: #ffff00;"&gt;Acme Corp.&lt;/span&gt;&amp;lt;/name&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/author&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;category term="&lt;span style="background-color: #00ff00;"&gt;ProjectW Tools&lt;/span&gt;" /&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content type="application/octet-stream" src="&lt;span style="background-color: #00ff00;"&gt;ProjectW Tools/MessageInspector.vsix&lt;/span&gt;" /&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Vsix xmlns:xsi="&lt;a href="http://www.w3.org/2001/XMLSchema-instance&amp;quot;"&gt;http://www.w3.org/2001/XMLSchema-instance"&lt;/a&gt; xmlns:xsd="&lt;a href="http://www.w3.org/2001/XMLSchema&amp;quot;"&gt;http://www.w3.org/2001/XMLSchema"&lt;/a&gt; xmlns="&lt;a href="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010&amp;quot;"&gt;http://schemas.microsoft.com/developer/vsx-syndication-schema/2010"&lt;/a&gt;&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Id&amp;gt;&lt;span style="background-color: #ffff00;"&gt;MessageInspector.Acme Corp..6b64a54c-93b9-4f0c-a962-71ba1c23c1d8&lt;/span&gt;&amp;lt;/Id&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Version&amp;gt;&lt;span style="background-color: #ffff00;"&gt;1.0&lt;/span&gt;&amp;lt;/Version&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;References /&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Vsix&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;/entry&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;entry&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;id&amp;gt;&lt;span style="background-color: #ffff00;"&gt;DataWarehousingTools.Acme Corp..496be56f-595e-4a50-b02f-5d3da630b7b6&lt;/span&gt;&amp;lt;/id&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title type="text"&amp;gt;&lt;span style="background-color: #ffff00;"&gt;DataWarehousingTools&lt;/span&gt;&amp;lt;/title&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;summary type="text"&amp;gt;&lt;span style="background-color: #ffff00;"&gt;Data warehousing tools for Project X. (Internal use only.)&lt;/span&gt;&amp;lt;/summary&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;published&amp;gt;2011-09-01T18:51:28-07:00&amp;lt;/published&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;updated&amp;gt;2011-09-01T18:57:27-07:00&amp;lt;/updated&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;&lt;span style="background-color: #ffff00;"&gt;Acme Corp.&lt;/span&gt;&amp;lt;/name&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/author&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;category term="&lt;span style="background-color: #00ff00;"&gt;ProjectX Tools&lt;/span&gt;" /&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content type="application/octet-stream" src="&lt;span style="background-color: #00ff00;"&gt;ProjectX Tools/DataWarehousingTools.vsix&lt;/span&gt;" /&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Vsix xmlns:xsi="&lt;a href="http://www.w3.org/2001/XMLSchema-instance&amp;quot;"&gt;http://www.w3.org/2001/XMLSchema-instance"&lt;/a&gt; xmlns:xsd="&lt;a href="http://www.w3.org/2001/XMLSchema&amp;quot;"&gt;http://www.w3.org/2001/XMLSchema"&lt;/a&gt; xmlns="&lt;a href="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010&amp;quot;"&gt;http://schemas.microsoft.com/developer/vsx-syndication-schema/2010"&lt;/a&gt;&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Id&amp;gt;&lt;span style="background-color: #ffff00;"&gt;DataWarehousingTools.Acme Corp..496be56f-595e-4a50-b02f-5d3da630b7b6&lt;/span&gt;&amp;lt;/Id&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Version&amp;gt;&lt;span style="background-color: #ffff00;"&gt;1.0&lt;/span&gt;&amp;lt;/Version&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;References /&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Vsix&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;/entry&amp;gt; &lt;br /&gt;&amp;lt;/feed&amp;gt;&lt;/p&gt;
&lt;p&gt;Values highlighted in &lt;span style="background-color: #ffff00;"&gt;yellow&lt;/span&gt; are taken right from the VSIX Manifest. Those highlighted in &lt;span style="background-color: #00ff00;"&gt;green&lt;/span&gt; describe how they appear in your gallery:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The term= attribute contains the category name as it will appear in Extension Manager.&lt;/li&gt;
&lt;li&gt;The src= attribute contains the path to the VSIX file from the gallery root.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Updating&lt;/h1&gt;
&lt;p&gt;To publish an update, all you need to do is replace the old VSIX file with the new one, and put the Version value from the new VSIX manifest in the corresponding &amp;lt;Version&amp;gt; element in the feed.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;Id&amp;gt;&lt;span style="background-color: #ffffff;"&gt;DataWarehousingTools.Acme Corp..496be56f-595e-4a50-b02f-5d3da630b7b6&lt;/span&gt;&amp;lt;/Id&amp;gt; &lt;br /&gt;&amp;lt;Version&amp;gt;&lt;span style="background-color: #ffff00;"&gt;1.1&lt;/span&gt;&amp;lt;/Version&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then when your users open Extension Manager they&amp;rsquo;ll see the new version in the Update panel.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8306.image_5F00_1D8F2489.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2043.image_5F00_thumb_5F00_445D3AC9.png" width="774" height="537" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll be blogging about tools to automate the feed generation as soon as we can make them available. In the meantime, try out the feature in the Visual Studio 11 Developer Preview and let us know what you think!&lt;/p&gt;
&lt;p&gt;Gary Horen &lt;br /&gt;Program Manager &lt;br /&gt;Visual Studio Platform&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10216933" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcements/">announcements</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/features/">features</category></item><item><title>Microsoft Windows Simulator Touch Emulation</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/09/30/microsoft-windows-simulator-touch-emulation.aspx</link><pubDate>Fri, 30 Sep 2011 08:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10218609</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10218609</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10218609</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/09/30/microsoft-windows-simulator-touch-emulation.aspx#comments</comments><description>&lt;p&gt;The Windows Simulator is a tool provided in Visual Studio 11 Developer Preview that enables debugging Metro style applications in scenarios requiring hardware support such as rotation and touch. For a quick introduction to the Windows Simulator, see &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/29/first-look-at-windows-simulator.aspx"&gt;this blog entry&lt;/a&gt;. This article will introduce you to Touch Emulation in the Windows Simulator.&lt;/p&gt;
&lt;p&gt;Touch Emulation in the Simulator enables developers to test and debug how an application reacts to different touch gestures. The Simulator does all the hard work of converting mouse events into touch events received by the running application. This is especially useful for developers who are creating Metro style applications that are touch-enabled but do not have a touch monitor to test those applications.&lt;/p&gt;
&lt;p&gt;To demonstrate Touch Emulation inside the Windows Simulator, we will use the &lt;a href="http://code.msdn.microsoft.com/windowsapps/Touch-Events-Sample-bbb477a8"&gt;Touch Events Sample&lt;/a&gt; provided by the Windows Developer Preview Metro style apps samples. After downloading and unpacking the sample, open the solution TouchEvents.sln in Visual Studio 11 Developer Preview, then Debug the sample targeting the Windows Simulator:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7888.image_5F00_08D6D2EE.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-01-29-92-metablogapi/0535.image_5F00_thumb_5F00_619C89B8.png" width="271" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The sample will run inside the Windows Simulator and will look something 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-01-29-92-metablogapi/4152.image_5F00_086A9FF9.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-01-29-92-metablogapi/1031.image_5F00_thumb_5F00_730CEA90.png" width="738" height="453" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This sample code recognizes touch events in the right rectangle and displays the information about those events in the left rectangle. Using the Windows Simulator Touch Controls found on the Simulator palette, we can switch between Mouse mode and Touch mode:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2502.Post2_5F00_00DF308C.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Post2" border="0" alt="Post2" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5734.Post2_5F00_thumb_5F00_0EB17687.jpg" width="377" height="115" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When in Touch mode, the Windows Simulator shows a special mouse pointer indicating that it is in Touch Emulation mode. The Simulator will convert mouse clicks into touch events, and the application receives touch events exactly as it would if they were generated by a physical touch device.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6305.image_5F00_6E9669C9.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-01-29-92-metablogapi/7875.image_5F00_thumb_5F00_3989DA99.png" width="462" height="197" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Windows Simulator can also simulate two finger gestures, such as the Pinch/Zoom gesture and the Rotate gesture. When using the two finger gestures, the Windows Simulator will display two contact points.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5722.image_5F00_196ECDDC.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-01-29-92-metablogapi/6403.image_5F00_thumb_5F00_274113D7.png" width="463" height="197" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In Pinch/Zoom mode, use the mouse wheel to set the two contact points closer or farther apart from each other. If you click the left mouse button and rotate the wheel simultaneously, the Windows Simulator will send touch events to the target application as if the user was performing a Pinch/Zoom gesture on a physical touch device. Similarly, in Rotate mode you can use the wheel to rotate the two contact points relative to each other.&lt;/p&gt;
&lt;p&gt;The Windows Simulator allows emulating the following touch gestures:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tap (single contact)&lt;/li&gt;
&lt;li&gt;Hold (single contact)&lt;/li&gt;
&lt;li&gt;Double Tap (single contact)&lt;/li&gt;
&lt;li&gt;Pan/Swipe (single contact)&lt;/li&gt;
&lt;li&gt;Flick/Inertia (single contact)&lt;/li&gt;
&lt;li&gt;Pinch/Zoom (2 contact points)&lt;/li&gt;
&lt;li&gt;Rotate (2 contact points)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We encourage you to use the Touch Emulation features in the Windows Simulator to develop your Windows 8 applications. These features allow you to test and debug your applications to ensure they work correctly for touch - without having a physical touch device.&lt;/p&gt;
&lt;p&gt;To learn more about Touch input in Metro style applications, see the following articles:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465389(v=VS.85).aspx"&gt;Responding to Touch Input&lt;/a&gt; &lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465387(v=VS.85).aspx"&gt;Touch Input Quickstart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Mynor Ivan Muralles &lt;br /&gt;Software Design Engineer, Visual Studio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10218609" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcements/">announcements</category></item><item><title>First look at Windows Simulator</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/09/29/first-look-at-windows-simulator.aspx</link><pubDate>Thu, 29 Sep 2011 08:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10218216</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10218216</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10218216</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/09/29/first-look-at-windows-simulator.aspx#comments</comments><description>&lt;p&gt;Many friends of mine have been asking me what my team is working on these days. I finally have an opportunity to share with all of you the really cool stuff we&amp;rsquo;ve been working on for the past many months.&lt;/p&gt;
&lt;p&gt;My team built the Windows Simulator enabling users to debug Metro Style apps for Windows 8 in a Windows environment.&lt;/p&gt;
&lt;p&gt;There are three primary ways to debug a Metro Style app.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Local Machine&lt;/li&gt;
&lt;li&gt;Remote Machine&lt;/li&gt;
&lt;li&gt;Simulator&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;&lt;b&gt;Primary Usage Scenarios for Windows Simulator&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;There are certain features and traits in Metro style applications that helps them stand out compared to classic windows applications. For a better understanding of Metro Style applications, I strongly recommend viewing the BUILD session by Jensen Harris on &lt;a href="http://channel9.msdn.com/Events/BUILD/BUILD2011/BPS-1004"&gt;8 traits of great Metro style apps&lt;/a&gt; before you start writing any Metro style applications.&lt;/p&gt;
&lt;p&gt;The Windows Simulator is really handy when you need to verify how Metro applications measure against these traits. I will introduce them here briefly and later we will have a detailed blog post on each of them.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Touch Emulation&lt;/li&gt;
&lt;li&gt;Rotation&lt;/li&gt;
&lt;li&gt;Different target screen resolutions&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh464906(v=VS.85).aspx"&gt;Contracts&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;&lt;b&gt;Under the hood&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;Under the hood the Windows Simulator is a Remote Desktop Session into your local machine.&lt;/p&gt;
&lt;p&gt;Developers need to be careful while modifying the state of the operating system in the Simulator because any changes in the Simulator will be reflected on the local machine itself. Multiple instances of Visual Studio and Expression Blend share the same instance of the Windows Simulator.&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Using Simulator to debug Metro style applications in Visual Studio&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;To debug an Metro style application using Windows Simulator, Open the application project in Visual Studio and choose Simulator from the debugging options in the Visual Studio toolbar.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3343.image_5F00_085FEDEA.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1362.image_5F00_thumb_5F00_0EA6C478.png" width="467" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or you can enable Simulator from the Debugging tab of Project Property Pages.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4331.properties_5F00_0A882C91.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="properties" border="0" alt="properties" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1614.properties_5F00_thumb_5F00_2A370659.jpg" width="709" height="222" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After selecting Simulator to debug the application, simply press F5 or start debugging from the tool bar to launch a Metro style application in the Windows Simulator.&lt;/p&gt;
&lt;p&gt;Here is a screenshot of a JavaScript Grid Application running in the Simulator.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3348.image_5F00_34F45DAE.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7450.image_5F00_thumb_5F00_5B5640F9.png" width="713" height="447" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To stop debugging choose "Stop Debugging" from the Debug menu of Visual Studio.&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Using the Simulator from Expression Blend&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;Open the project in Expression Blend and then switch to the Platform panel and choose the Simulator as the Deploy target.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2262.image_5F00_68BC53FF.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8535.image_5F00_thumb_5F00_7A98E7CC.png" width="325" height="306" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then press F5 to launch application in Windows Simulator.&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Touch Emulation&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;This feature is very useful to test Touch responsiveness for the application on developer machines that do not have touch devices. The Simulator supports single finger touch, tap and hold, pinch and zoom, and rotation. The touch controls are available in the Simulator Palette.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7558.image_5F00_4835144D.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7571.image_5F00_thumb_5F00_5E978D07.png" width="29" height="140" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To switch out of touch emulation mode and back into mouse mode, select the mouse pointer. To learn more about Touch Emulation, see &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/09/30/microsoft-windows-simulator-touch-emulation.aspx"&gt;this blog entry&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Rotation&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;Metro style applications should support Landscape and Portrait modes. Visual Studio templates are pre-configured for default behavior for landscape and portrait modes.&lt;/p&gt;
&lt;p&gt;Without using an actual tablet device it is not easy to test the application in Portrait and Landscape mode. The Simulator is your friend here.&lt;/p&gt;
&lt;p&gt;It is very easy to test the Landscape and Portrait modes using the rotation controls on the Simulator Palette.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4331.image_5F00_5778508F.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5811.image_5F00_thumb_5F00_6BFDA00D.png" width="31" height="73" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Multiple screen Resolutions&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;Windows 8 can run on PCs of different screen sizes and Resolutions. Metro Style applications should adjust to accommodate various screen sizes and resolutions. Using The Simulator it is very easy to test applications for different screen resolutions. You can use the "Change Resolution" button on the Palette to choose a resolution. The availability of resolutions in the Palette depends upon the supported resolutions of your video card.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5824.image_5F00_64DE6395.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0131.image_5F00_thumb_5F00_5DBF271D.png" width="213" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;&lt;b&gt;Contracts&lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;Almost all the &lt;a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh464906(v=VS.85).aspx"&gt;contracts&lt;/a&gt; in Metro applications disappear once they lose focus or hit a breakpoint in debugger. It is not possible to debug contracts on your Local Machine without the Simulator. The Simulator is running a different desktop session, so when a breakpoint is hit in the debugger it does not result in a loss of focus in the simulator session.&lt;/p&gt;
&lt;p&gt;I hope that you will find Simulator handy in time of need :), please post comments if you have any questions or feedback.&lt;/p&gt;
&lt;p&gt;To learn more about developing Metro applications for Windows 8 I highly recommend following //BUILD presentations.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://channel9.msdn.com/Events/BUILD/BUILD2011/BPS-1004"&gt;8 traits of great Metro style apps&lt;/a&gt; &lt;br /&gt;&lt;a href="http://channel9.msdn.com/Events/BUILD/BUILD2011/BPS-1005"&gt;Platform for Metro style apps&lt;/a&gt; &lt;br /&gt;&lt;a href="http://channel9.msdn.com/Events/BUILD/BUILD2011/BPS-1006"&gt;Tools for building Metro style apps&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Navneet Gupta &lt;br /&gt;Software Design Engineer, Visual Studio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10218216" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcements/">announcements</category></item><item><title>Visual Studio 11 Developer Preview: Quick Launch</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/09/27/visual-studio-11-developer-preview-quick-launch.aspx</link><pubDate>Tue, 27 Sep 2011 20:16:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10217416</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10217416</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10217416</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/09/27/visual-studio-11-developer-preview-quick-launch.aspx#comments</comments><description>&lt;p&gt;In the past, finding things deep in the IDE has been a challenge. Visual Studio 11 Developer Preview introduces search abilities at almost every level of the product. Perhaps the biggest change is the introduction of Quick Launch which specifically addresses how to dig inside Visual Studio to find features you need. Let&amp;rsquo;s take a look.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Shortcut:&lt;/b&gt; CTRL + ` [back quote]&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Versions:&lt;/b&gt; Visual Studio 11 Developer Preview&lt;/p&gt;
&lt;h1&gt;Quick Launch: Basic Use&lt;/h1&gt;
&lt;p&gt;You can find Quick Launch in the upper right corner of 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-01-29-92-metablogapi/5751.image_5F00_733F1177.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0576.image_5F00_thumb_5F00_27DF6DB3.png" width="217" height="64" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The most basic scenario for using Quick Launch is finding an item that you have forgotten (or don&amp;rsquo;t know) the location of. Let&amp;rsquo;s say you are interested in something deep in the menu system like viewing your white space. You know what it&amp;rsquo;s called but can&amp;rsquo;t remember where it is at. Just press CTRL + ` [back quote] and enter the word &lt;b&gt;white&lt;/b&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1157.image_5F00_478E477B.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0574.image_5F00_thumb_5F00_1281B84B.png" width="468" height="158" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All searches are &lt;i&gt;contains&lt;/i&gt; operations so the results will show anything that has the word white anywhere in it. The results are grouped into categories and you simply either select the item from the list using your keyboard, mouse or, if there is a keyboard shortcut listed, take advantage of the shortcut. In this case, you could press CTRL+R, CTRL+W to show the white space and then go on with your work.&lt;/p&gt;
&lt;h1&gt;Categories&lt;/h1&gt;
&lt;p&gt;There are four categories that your results will fall into when using Quick Launch. Let&amp;rsquo;s take a look at each of these categories.&lt;/p&gt;
&lt;h2&gt;Most Recently Used&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6443.image_5F00_0038F189.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7024.image_5F00_thumb_5F00_58FEA853.png" width="476" height="104" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pretty self-explanatory; this category is at the top of the dialog and will show up to the last 5 most recent items &lt;i&gt;that match the current search criteria&lt;/i&gt;. Pay attention to the last part of that sentence. Only if it (a) was used by you before from this dialog and (b) matches the current search criteria will an item show up in the MRU list.&lt;/p&gt;
&lt;p&gt;You can search just your Most Recently Used items by preceding any search with &lt;b&gt;@MRU&lt;/b&gt; (case doesn&amp;rsquo;t matter):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2046.image_5F00_66D0EE4E.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8816.image_5F00_thumb_5F00_3F96A519.png" width="480" height="107" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Commands&lt;/h3&gt;
&lt;p&gt;The commands area is a little misleading. It doesn&amp;rsquo;t actually refer to commands that you might, say, type in the Commands window but instead refers to menu items. So if I type in &lt;b&gt;build&lt;/b&gt; for a search the commands that are shown are menu paths:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1134.image_5F00_2D4DDE57.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1641.image_5F00_thumb_5F00_0D32D19A.png" width="485" height="160" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can filter results to show only commands by preceding any search with &lt;b&gt;@CMD&lt;/b&gt; (case doesn&amp;rsquo;t matter):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1663.image_5F00_0CC69EA5.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5857.image_5F00_thumb_5F00_05A7622D.png" width="488" height="135" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;p&gt;The Options category does what you might expect--it shows items that can be found by going to Tools | Options on the Menu Bar:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6036.image_5F00_2C75786D.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8883.image_5F00_thumb_5F00_1064B982.png" width="493" height="187" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As with the other categories, you can filter your search to just options by preceding any search with &lt;b&gt;@OPT&lt;/b&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5344.image_5F00_502EA007.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7433.image_5F00_thumb_5F00_76FCB647.png" width="498" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The only real limitation to keep in mind is this type of search doesn&amp;rsquo;t go beyond two levels deep and the description. For example, if I type the word &lt;b&gt;document&lt;/b&gt; here is the result in the options category:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2627.image_5F00_36C69CCD.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1641.image_5F00_thumb_5F00_4498E2C8.png" width="380" height="58" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Which corresponds to Tools | Options | Environment | Documents:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4101.image_5F00_662F551D.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-01-29-92-metablogapi/1070.image_5F00_thumb_5F00_1E6DCC36.png" width="632" height="261" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Notice the search went two levels deep (Environment | Documents) but didn&amp;rsquo;t list out the items to the right that contain our search term in it.&lt;/p&gt;
&lt;h3&gt;Open Documents&lt;/h3&gt;
&lt;p&gt;This category is somewhat interesting. It searches file names and paths of &lt;i&gt;open&lt;/i&gt; documents for the search criteria &lt;i&gt;but not the text inside the files themselves&lt;/i&gt;. There are plenty of tools that can be used to search inside files and the context for Quick Launch is at a higher level. This feature is useful for finding a file when you have several files open:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2627.image_5F00_636F56A6.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6431.image_5F00_thumb_5F00_754BEA73.png" width="500" height="213" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As with the other categories it, too, can be filtered to search just show open files by putting &lt;b&gt;@DOC&lt;/b&gt; at the front of your search:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6443.image_5F00_630323B1.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1256.image_5F00_thumb_5F00_74DFB77E.png" width="503" height="164" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Turning Categories Off&lt;/h3&gt;
&lt;p&gt;You can selectively turn off categories you don&amp;rsquo;t want to see by going to Quick Launch in Options:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0488.image_5F00_34A99E04.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3125.image_5F00_thumb_5F00_5B77B444.png" width="506" height="92" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note: For the old school folks this can be found at Tools | Options | Environment | Quick Launch&lt;/p&gt;
&lt;p&gt;Then deselect the special search providers you don&amp;rsquo;t want:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6763.image_5F00_6D544811.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8400.image_5F00_thumb_5F00_14225E52.png" width="242" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The next time you run a search it will not show the categories you have turned off in your result set.&lt;/p&gt;
&lt;h2&gt;&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;Large Result Sets&lt;/h2&gt;
&lt;p&gt;As you may have noticed when playing with this feature it doesn&amp;rsquo;t show all the items in the initial results but does have a number indicating how many items it found:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0574.image_5F00_0D0321DA.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5857.image_5F00_thumb_5F00_7ABA5B17.png" width="506" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Clearly not all 126 items in the Options are being shown but notice the message at the bottom of the list. If the results are too large to show we can just press CTRL+` [back quote] to show them all. Additionally, if you continue to press CTRL + ` [back quote] it will cycle through showing all items in all categories and filtering by each category:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8585.image_5F00_48568798.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1050.image_5F00_thumb_5F00_2C45C8AD.png" width="509" height="59" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;&amp;nbsp;&lt;/h2&gt;
&lt;h2&gt;Search Results from Previous Search&lt;/h2&gt;
&lt;p&gt;By default the search term you use is not persisted between search sessions. So if you search on something:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7411.image_5F00_19FD01EB.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6837.image_5F00_thumb_5F00_2BD995B8.png" width="518" height="115" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then place move the cursor outside the Quick Launch area and go back the search term has been cleared from the area:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2018.image_5F00_51742E28.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2844.image_5F00_thumb_5F00_231AA87B.png" width="244" height="47" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Personally, this is annoying to me and thankfully the VS team has a fix. Just go to the Quick Launch in the options area:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4571.image_5F00_14DC2F8B.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4503.image_5F00_thumb_5F00_3BAA45CB.png" width="524" height="95" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then select Show Search Results From Previous Search When Quick Launch Is Activated option:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7230.image_5F00_348B0953.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/3581.image_5F00_thumb_5F00_7454EFD8.png" width="382" height="91" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The next time you run a search, leave the Quick Launch area, and come back it will retain the search term last used and show you the search results as well.&lt;/p&gt;
&lt;h2&gt;&lt;br /&gt;Turning It Off&lt;/h2&gt;
&lt;p&gt;If for some reason you don&amp;rsquo;t like the Quick Launch feature, you can always turn it off by going to Quick Launch in the options:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6237.image_5F00_1B230619.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5460.image_5F00_thumb_5F00_41F11C59.png" width="531" height="96" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then unselect the Enable Quick Launch option:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8206.image_5F00_68BF3299.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2844.image_5F00_thumb_5F00_619FF621.png" width="232" height="59" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This will remove the Quick Launch area from the IDE. To bring it back just go to Tools | Options | Environment | Quick Launch and select Enable Quick Launch.&lt;/p&gt;
&lt;h1&gt;&lt;br /&gt;Finally&lt;/h1&gt;
&lt;p&gt;I absolutely love this feature! My passion is around helping people be more productive in the IDE and I think Quick Launch is probably one of the biggest steps forward for discovery of VS features that I have ever seen. I&amp;rsquo;ve been using it for several weeks and am at the point now where I can&amp;rsquo;t imagine not having it. I hope you enjoy it as much as I do.&lt;/p&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Zain Naboulsi &lt;br /&gt;Senior Developer Evangelist (&lt;a href="http://blogs.msdn.com/b/zainnab/"&gt;Blog&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=10217416" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcements/">announcements</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/features/">features</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/IDE/">IDE</category></item><item><title>Visual Studio 11 Developer Preview: Find &amp; Replace</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/09/22/find-amp-replace-in-visual-studio-11-developer-preview.aspx</link><pubDate>Thu, 22 Sep 2011 09:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10209562</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>38</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10209562</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10209562</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/09/22/find-amp-replace-in-visual-studio-11-developer-preview.aspx#comments</comments><description>&lt;p&gt;In Visual Studio 11 Developer Preview we&amp;rsquo;ve streamlined and modernized our vast array of Find experiences.&amp;nbsp; Find and Replace is now a lightweight control within documents, delivering incremental search results as you type.&amp;nbsp; The Find and Replace in Files dialog has been simplified while at the same time gaining additional functionality such as Find Next and Find Previous.&amp;nbsp; Both Find experiences now let you use .NET Regular Expressions to perform complex search and replace operations, even across multiple lines.&lt;/p&gt;
&lt;h1&gt;The new Find and Replace Control&lt;/h1&gt;
&lt;p&gt;The new Find control sits at the top of the document as a search box. Ctrl + F now brings up this control, instead of the dialog. The new control affords all the capabilities of the dialog. You can Find Next, Find Previous, set Search Options, Replace etc.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4456.image_5F00_65C0064A.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5545.image_5F00_thumb_5F00_5E3496DD.png" width="565" height="233" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Performing a simple Find&lt;/h1&gt;
&lt;p&gt;With the new Find control, you can perform a search exactly as you would with the VS 2010. Just hit Ctrl+F and type the search term. What you would notice however, is that now the search is instant and incremental. As you type, you get the matches highlighted and the first match selected by default. No need to click an additional Find Next button. Hit Enter to navigate among the matches in the document.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2806.image_5F00_0502AD1E.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8357.image_5F00_thumb_5F00_44CC93A3.png" width="573" height="130" /&gt;&lt;/a&gt; &lt;br /&gt;Find Next&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2084.image_5F00_1987FC9C.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1411.image_5F00_thumb_5F00_7D773DB0.png" width="573" height="274" /&gt;&lt;/a&gt; &lt;br /&gt;Find Previous&lt;/p&gt;
&lt;h1&gt;Performing an Advanced Find&lt;/h1&gt;
&lt;p&gt;As I mentioned earlier, the new Find control affords all the capabilities of the Find Dialog. This means that you can search using advanced options (Match Case, Match whole word, Use Regular Expression) just the same as in the Find dialog. For this, simply click on the drop down next to the magnifying glass, in the search box. You can also hit Alt+Down when inside the search box.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5224.image_5F00_6B2E76EE.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7271.image_5F00_thumb_5F00_2AF85D74.png" width="573" height="174" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Notice that setting Search Options acts like a filter instead of starting a new search. So if you searched for &amp;ldquo;Button&amp;rdquo;, without Match case, this would highlight all matches &amp;ndash; button as well as Button. Checking Match case would filter this result set to only matches for Button (with the uppercase &amp;ldquo;B&amp;rdquo;)&lt;/p&gt;
&lt;h1&gt;MRU (Search History)&lt;/h1&gt;
&lt;p&gt;Find control maintains a history of the previously performed searches of up to five terms. This is displayed as a MRU (Most Recently Used) list. The list can be accessed by bringing up the dropdown from within the Find search box (or hitting the Alt+Down arrow key)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1325.image_5F00_6AC243F9.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1401.image_5F00_thumb_5F00_2A8C2A7F.png" width="582" height="179" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Performing a Replace&lt;/h1&gt;
&lt;p&gt;You can perform a Replace operation right within the new control. Just hit Ctrl+H / click on the drop down arrow to the left of the search box. This brings up the expanded version of the Find &amp;amp; Replace control. The replace box is below the Find box. Type your replace term and Hit Enter, or Atl+R or the Replace Next or Replace All buttons.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1423.image_5F00_6A561104.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5226.image_5F00_thumb_5F00_782856FF.png" width="588" height="342" /&gt;&lt;/a&gt; &lt;br /&gt;Replace Next and Replace All&lt;/p&gt;
&lt;h1&gt;Changing the Scope&lt;/h1&gt;
&lt;p&gt;The Find control allows you to change the scope for Find &amp;amp; Replace operations. To change the scope, click on the Drop down arrow, as in the case of Replace. This brings up the expanded Find control with the scope selection dropdown.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/2577.image_5F00_50EE0DCA.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8666.image_5F00_thumb_5F00_62CAA197.png" width="600" height="366" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;&amp;ldquo;No Results&amp;rdquo; Alert&lt;/h1&gt;
&lt;p&gt;The Find control allows you to quickly find out when there are no results for the current search term with the current search criteria. When there are no results to show, the search box is highlighted with a red border indicating that there are currently no results to display.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8688.image_5F00_3B905862.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/5040.image_5F00_thumb_5F00_774FF115.png" width="611" height="264" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Using Regular Expressions (.NET Regular Expression syntax only)&lt;/h1&gt;
&lt;p&gt;One of the major changes we have made, in response to customer feedback, with the new Find experience is moving away from the POSIX style regex syntax to .Net Regex syntax. You can do all your searches using the familiar .Net style regular expressions. The VS2010 style regular expression syntax has been discontinued. So, to search for a &amp;ldquo;Start Game&amp;rdquo;, I would type&lt;/p&gt;
&lt;p&gt;In Visual Studio 11 Developer Preview: Start\s+Game&lt;/p&gt;
&lt;p&gt;In VS 2010 (This will not work in VS 11 Developer Preview): Start:b+Game&lt;/p&gt;
&lt;p&gt;A complete reference for .NET Regular expressions can be found here &lt;a href="http://msdn.microsoft.com/en-us/library/az24scfc.aspx"&gt;.NET Regular Expression Cheat Sheet.&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Find In Files Dialog&lt;/h1&gt;
&lt;p&gt;You can still do everything that you were used to doing with VS2010 Find Dialog with the new experience. To bring up the Find In Files dialog, simply hit Ctrl+Shift+F (or Ctrl+Shift+H for replace). This brings up the familiar dialog. We have simplified this dialog to a large extent. There are just 2 tabs &amp;ndash; Find In Files and Replace In Files.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1401.image_5F00_092C84E3.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/8360.image_5F00_thumb_5F00_48F66B68.png" width="623" height="298" /&gt;&lt;/a&gt; &lt;br /&gt;Find In Files&lt;/p&gt;
&lt;p&gt;Now there are only two tabs &amp;ndash; Find In Files and Replace in Files. We have added Find Next and Find Previous. Note that you can also bring up the Find In files dialog from within the Find control, in the Search Options dropdown.&lt;/p&gt;
&lt;h1&gt;Find Symbol has been discontinued&lt;/h1&gt;
&lt;p&gt;With the new Find experience we have relooked at the Find dialog and redesigned it for simplicity. Based on the usage data we have received from our Customer Experience Improvement program, the Find Symbol features was rarely ever used by our customers. With the new Find, the support for Find Symbol has been removed from the UI. However, you can still search for symbols using the Find All References from within the Editor.&lt;/p&gt;
&lt;h1&gt;Find &amp;amp; Replace Cheat Sheet&lt;/h1&gt;
&lt;p&gt;You can of course use the same short-cuts and accelerator keys that you are used to with the Find dialog, with the Find control. Here is a list of shortcuts and accelerator keys you can use to work with Find &amp;amp; Replace in Visual Studio 11 Developer Preview.&lt;/p&gt;
&lt;h4&gt;Shortcuts:&lt;/h4&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;Command&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;VS 11 Developer Preview Action&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Command&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+F&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;New Quick Find&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.Find&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;F3&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Find Next&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.FindNext&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Shift+F3&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Find Previous&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.FindPrevious&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+F3&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Find Next Selected term&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.FindNextSelected&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+Shift+F3&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Find Previous Selected term&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.FindPreviousSelected&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+I&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;New Quick Find / Forward incremental search&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.IncrementalSearch&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+Shift+I&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;New Quick Find / Reverse incremental search&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.ReverseIncrementalSearch&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+Shift+F&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Find in Files&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.FindInFiles&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+Shift+H&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Replace in Files&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.ReplaceinFiles&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Ctrl+H&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Quick Replace&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.Replace&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Enter&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Find Next&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.FindNext&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="149"&gt;
&lt;p&gt;&lt;b&gt;Shift+Enter&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="176"&gt;
&lt;p&gt;Find Previous&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Edit.FindPrevious&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h4&gt;&lt;/h4&gt;
&lt;h4&gt;Accelerator Keys:&lt;/h4&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Shortcut&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;&lt;b&gt;VS 11 Developer Preview Action&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+F&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Find Next, Find All (buttons)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+R&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Replace, Find Next&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+A&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Replace All (button)&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+I&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Skip File (button&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+C&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Toggle Match Case&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+W&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Toggle Whole Word&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+E&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Toggle Regular Expressions&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+N&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Focus in Find What Box&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="96"&gt;
&lt;p&gt;&lt;b&gt;Alt+P&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="207"&gt;
&lt;p&gt;Focus in Replace With Box&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;We want to hear from you!&lt;/h1&gt;
&lt;p&gt;Because Find is such a critical and integral part of the Developer experience, we need your feedback on how well the new experiences are (or are not!) working for you. We are listening to your feedback.&lt;/p&gt;
&lt;p&gt;If you have any additional questions, feel free to leave comments below.&amp;nbsp; If you&amp;rsquo;re experience problems with Find &amp;amp; Replace, please &lt;a href="https://connect.microsoft.com/VisualStudio/"&gt;file a Connect Bug&lt;/a&gt;, and we&amp;rsquo;ll investigate&lt;/p&gt;
&lt;p&gt;You can write to us here: &lt;a href="mailto:VSFindFeedback2@microsoft.com"&gt;VSFindFeedback2@microsoft.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can also send your feedback from within the Find control:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6786.image_5F00_36ADA4A6.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-01-29-92-metablogapi/2480.image_5F00_thumb_5F00_618608B8.png" width="372" height="311" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Murali Krishna Hosabettu Kamalesha&lt;br /&gt;Program Manager - Visual Studio Code Experience&lt;/p&gt;
&lt;h1&gt;Known Issues&lt;/h1&gt;
&lt;p&gt;As you might imagine, with the new release, we have completely revamped the Find experience for our customers. With this huge change, there are some known issues and unfortunately we didn&amp;rsquo;t have time to fix by the time of this release of Visual Studio 11 Developer Preview. However, these issues are already fixed in internal builds and you would be able to get these when you install a subsequent release J.&lt;/p&gt;
&lt;h2&gt;Unable to Find All with the Current Document scope&lt;/h2&gt;
&lt;p&gt;In the current version, you will not be able to perform a Find All when the scope is current document. However, when you search for a term using the new Find Control, all of the matches in the current document are highlighted. This should hopefully allow you to work around this issue. And like I mentioned, this issue has been fixed for a subsequent release.&lt;/p&gt;
&lt;h2&gt;Find in Files does not clear the Find results&lt;/h2&gt;
&lt;p&gt;In the current version, when you perform a Find in Files, the results are appended to the Find Results window. The results of the previous search are not cleared. To work around this issue, you can still clear out the Find Results window manually. We understand this is inconvenient and this has been fixed, but you will have to wait for a subsequent release. J&lt;/p&gt;
&lt;h2&gt;Search Criteria is missing from the Find Results window&lt;/h2&gt;
&lt;p&gt;When you perform a Find All operation, the search results are populated in the Find results window. In the current version, the results are still populated, but a line mentioning the search criteria is missing. For subsequent releases, this issue is also fixed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10209562" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcements/">announcements</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/editor/">editor</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/features/">features</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Find/">Find</category></item><item><title>Visual Studio BUILD sessions and Tips &amp; Tricks Cheat Sheet</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/09/19/visual-studio-build-sessions-and-tips-amp-tricks-cheat-sheet.aspx</link><pubDate>Mon, 19 Sep 2011 22:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10213745</guid><dc:creator>Weston Hutchins - MSFT</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10213745</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10213745</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/09/19/visual-studio-build-sessions-and-tips-amp-tricks-cheat-sheet.aspx#comments</comments><description>&lt;p&gt;As I settle back into my desk after an exciting week at BUILD, I wanted to send a reminder that all of the sessions should be available for streaming on &lt;a href="http://channel9.msdn.com/events/BUILD/BUILD2011"&gt;http://channel9.msdn.com/events/BUILD/BUILD2011&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since this is a Visual Studio blog, here are links to the main VS sessions at BUILD:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-820F"&gt;What&amp;rsquo;s new in Visual Studio 11&lt;/a&gt; &amp;ndash; Jason Zander&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-830T"&gt;Tips &amp;amp; Tricks: How to Use Visual Studio to the Fullest&lt;/a&gt; &amp;ndash; Weston Hutchins and Phil Price&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;a href="http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-833T"&gt;What's new in Visual Studio 11 for Application Lifecycle Management&lt;/a&gt; &amp;ndash; Cameron Skinner and Brian Keller&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For the Tips &amp;amp; Tricks talk, Phil and I created a &amp;ldquo;cheat sheet&amp;rdquo; of the features and tips we walked through in the session that you can download below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Weston Hutchins &lt;br /&gt;Program Manager &amp;ndash; VS Platform&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10213745" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-21-37-45/Tips-and-Tricks-Cheat-Sheet.docx" length="51159" type="application/octet-stream" /></item><item><title>Addressing Visual Studio performance</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/09/16/addressing-visual-studio-performance.aspx</link><pubDate>Fri, 16 Sep 2011 21:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10212673</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>12</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10212673</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10212673</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/09/16/addressing-visual-studio-performance.aspx#comments</comments><description>&lt;p&gt;Visual Studio&amp;rsquo;s performance continues to be a hot topic for a lot of customers. We hear you and are investing to improve the performance of the product in those areas that are important to you. There are two key parts to our approach:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Collecting feedback from you to prioritize our work&lt;/li&gt;
&lt;li&gt;Using instrumentation in Visual Studio v-next to collect data in cases where the product performs poorly&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;Collecting Customer Feedback &lt;br /&gt;&lt;/b&gt;We are working to make your feedback less ad hoc and give you a single place for feedback on Visual Studio Performance by implementing a &lt;a href="http://visualstudio.uservoice.com/forums/131389-visual-studio-performance"&gt;UserVoice site&lt;/a&gt; specifically focused on performance. Please vote on the performance issues on the &lt;a href="http://visualstudio.uservoice.com/forums/131389-visual-studio-performance"&gt;UserVoice site&lt;/a&gt;. This feedback will be incorporated into our plans as we prioritize our work.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Instrumentation &lt;br /&gt;&lt;/b&gt;Visual Studio PerfWatson is now a part of Visual Studio v-next. It enables us to collect data from when you experience a performance problem. &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2011/08/24/how-we-use-your-perfwatson-data-to-identify-unresponsive-areas.aspx"&gt;This&lt;/a&gt; blog post describes how we are using the data to identify and fix performance problems. You can help by using PerfWatson with Visual Studio v-next. By combining your feedback with this data we a working to address those issues affecting you the most.&lt;/p&gt;
&lt;p&gt;Thank you for your support, &lt;br /&gt; &lt;br /&gt;Larry Sullivan &lt;br /&gt;Director of Engineering&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10212673" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Performance/">Performance</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/PerfWatson/">PerfWatson</category></item><item><title>Visual Studio 11 Developer Preview Announced</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/09/14/visual-studio-11-developer-preview-announced.aspx</link><pubDate>Wed, 14 Sep 2011 16:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10210983</guid><dc:creator>Sean Laberee</dc:creator><slash:comments>15</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10210983</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10210983</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/09/14/visual-studio-11-developer-preview-announced.aspx#comments</comments><description>&lt;p&gt;Today in his keynote at BUILD, &lt;a href="http://blogs.msdn.com/b/jasonz/"&gt;Jason Zander announced the availability&lt;/a&gt; of the .NET Framework 4.5 Developer Preview, Microsoft&amp;reg; Visual Studio&amp;reg; 11 Developer Preview and Microsoft&amp;reg; Team Server Preview.&amp;nbsp; If you are an MSDN subscriber, you can download the preview immediately via &lt;a href="http://go.microsoft.com/fwlink/?LinkId=227374"&gt;this link&lt;/a&gt;. For everyone else, &lt;a href="http://go.microsoft.com/fwlink/?LinkId=225709"&gt;Visual Studio 11&lt;/a&gt; and &lt;a href="http://go.microsoft.com/fwlink/?LinkId=225714"&gt;Team Foundation Server 11&lt;/a&gt; will be generally available starting at 10:00 AM PDT on Friday.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What&amp;rsquo;s New in the Visual Studio 11 IDE?&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;A key goal with the Visual Studio 11 release was to improve the developer experience by focusing on the tasks that developers do the most frequently. In our research, we found that many users weren&amp;rsquo;t discovering features that could make them most productive. To solve this, we streamlined our UI and enhanced high usage tool windows such as the Solution Explorer so that its easier than ever to discover and use the features that make you most productive.&amp;nbsp; Users also want to use search as a primary means of navigating their IDE and Solutions and so we&amp;rsquo;ve integrated search and made it more prominent in many places in the product.&lt;/p&gt;
&lt;p&gt;One of the first changes that you&amp;rsquo;ll notice as you get started with Visual Studio 11 are the &lt;b&gt;Simplified Toolbars.&amp;nbsp; &lt;/b&gt;In the image below, you can see that we&amp;rsquo;ve eliminated the clutter and ensured that you only ever need one row of toolbars to get your job done. This was accomplished by taking a hard look at each of the commands that was on the main toolbars and focusing only on the commands that are more frequently used on the toolbars. We also know that the most frequently used commands vary by user which is why we&amp;rsquo;ve made it easy to add commands back via the down arrow on the toolbar.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/3531.Toolbar.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/3531.Toolbar.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Many of you may already be familiar with the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef"&gt;Productivity Power Tools&lt;/a&gt; which are a set of popular extensions to Visual Studio 2010.&amp;nbsp; One of the key themes in the Power Tools was to provide users with better search capabilities. Based on user feedback, we have taken the best of these features and fully-integrated them into Visual Studio 11.&amp;nbsp; The improved &lt;b&gt;Solution Explorer &lt;/b&gt;(shown below) allows you to search and browse the relationships of types and members within VB, C# and C++ projects.&amp;nbsp; The new &lt;b&gt;Find Control&lt;/b&gt; integrates the power of incremental search with a streamlined UI that ensures that your code remains front and center. &lt;b&gt;Quick Launch&lt;/b&gt; is an integrated version of the Quick Access power tool that allows you to easily launch project templates, commands and options for a searchable UI that is always present on the main menu. We&amp;rsquo;ve also added search capabilities to the &lt;b&gt;Toolbox&lt;/b&gt; and &lt;b&gt;Add Reference Dialog&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/5226.SolExp.png"&gt;&lt;img style="border: 0px currentColor;" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92/5226.SolExp.png" width="339" height="420" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In past releases, evaluating a CTP or Beta took a bit of work as it required upgrading your projects to the new version. With this Developer Preview, we have introduced &lt;b&gt;Project Compatibility&lt;/b&gt; which eliminates the need to upgrade most project types so that you can seamlessly work on the same solution using Visual Studio 11 or Visual Studio 2010 SP1.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Related Blogs&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Visual Studio 11 contains many more IDE enhancements than can be called out in a single blog post.&amp;nbsp; Over the coming weeks, stay tuned to this blog for more articles that talk about these features in depth and introduce some new ones.&amp;nbsp; I&amp;rsquo;d also like to highlight that each of the languages in Visual Studio have made significant improvements to their developer experience and the best place to learn about them is on their team blogs:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;VB Team Blog: &lt;/b&gt;&lt;a href="http://blogs.msdn.com/b/vbteam/"&gt;http://blogs.msdn.com/b/vbteam/&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;C# Team Blog: &lt;/b&gt;&lt;a href="http://blogs.msdn.com/b/csharpfaq/"&gt;http://blogs.msdn.com/b/csharpfaq/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;strong&gt;C++ Team Blog:&lt;/strong&gt; &lt;a href="http://blogs.msdn.com/b/vcblog/"&gt;http://blogs.msdn.com/b/vcblog/&lt;/a&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;strong&gt;F# Team Blog:&lt;/strong&gt; &lt;a href="http://blogs.msdn.com/b/fsharpteam/"&gt;http://blogs.msdn.com/b/fsharpteam/&lt;/a&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;We Want Your Feedback!&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Your feedback is an important part of our software development cycle. We review every comment that we receive and are constantly using this feedback to improve the product.&amp;nbsp; If you encounter a bug or find something that doesn&amp;rsquo;t work as you would expect, please log on to Microsoft Connect and file a bug: &lt;a href="https://connect.microsoft.com/VisualStudio"&gt;https://connect.microsoft.com/VisualStudio&lt;/a&gt;.&amp;nbsp; If you have a suggestion for a great new feature addition, take a look at our User Voice site where you can vote on other user suggestions and add your own: &lt;a href="http://visualstudio.uservoice.com/forums/121579-visual-studio"&gt;http://visualstudio.uservoice.com/forums/121579-visual-studio&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Sean Laberee&lt;/p&gt;
&lt;p&gt;Lead Program Manager&lt;/p&gt;
&lt;p&gt;Visual Studio Pro Experience Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10210983" width="1" height="1"&gt;</description></item><item><title>How we use your PerfWatson data to identify Unresponsive areas</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/08/24/how-we-use-your-perfwatson-data-to-identify-unresponsive-areas.aspx</link><pubDate>Wed, 24 Aug 2011 12:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10199942</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10199942</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10199942</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/08/24/how-we-use-your-perfwatson-data-to-identify-unresponsive-areas.aspx#comments</comments><description>&lt;p&gt;At the end of April, we released a telemetry system to monitor and report the performance issues that our customers face during their everyday use of the product. To start off, I would like to thank everyone who installed &lt;a href="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441?SRC=Home"&gt;Visual Studio PerfWatson&lt;/a&gt;! These reports have provided valuable insight into where you are encountering issues, and have helped us prioritize our performance investments for the next version of Visual Studio (“vNext”). &lt;/p&gt;  &lt;h1&gt;&lt;/h1&gt;  &lt;h2&gt;How are we using PerfWatson Data? &lt;/h2&gt;  &lt;p&gt;As many of you have seen, PerfWatson monitors delays on the UI thread, and submits error reports on these delays with the user’s consent. These reports include information on the duration of each delay and a mini heap dump of the root cause for the delay.&lt;/p&gt;  &lt;p&gt;When we receive these error reports, we aggregate the data collected, extract the stacks from the mini dump, and analyze the results to identify the largest and most frequently seen delays. We also aggregate the data collected with the delays we have seen using PerfWatson internally. Periodically throughout each milestone, bugs are generated for each team in the division to track the specific subsets of frames (or methods) that are responsible for these performance issues. &lt;/p&gt;  &lt;p&gt;Bugs are prioritized based on a combination of the total number of delays we have seen with that frame and the average length of the delay. This ensures that both very long delays and frequently encountered delays receive our attention. Because we have live data associated with each bug, we can track progress across the entire product, within specific teams, and also across internal “dogfood” builds, enabling teams to easily verify the progress they are making. &lt;/p&gt;  &lt;p&gt;&lt;font color="#333333"&gt;Below is an example of a bug we have fixed for vNext. The PerfWatson data shows that this bug was reported 16588 times in total for the released build of Visual Studio 2010 SP1. This data is an aggregation of all results we have collected both internally and from our customers.&lt;/font&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0743.image_5F00_5DDC7E4E.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/6204.image_5F00_thumb_5F00_08B4E261.png" width="750" height="239" /&gt;&lt;/a&gt;&lt;i&gt;Total PerfWatson hits per build. X axes are subsequent build numbers.&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;As the chart below shows, after fixing the bug, the number of delays seen for this issue has gone down significantly or have completely disappeared with every new build of the product created with the code fix.&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/7282.image_5F00_5D704B59.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/4643.image_5F00_thumb_5F00_6F4CDF26.png" width="751" height="244" /&gt;&lt;/a&gt;&lt;i&gt;Total PerfWatson hits per build. X axes are subsequent build numbers.&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;If you are interested in learning more about this process, or seeing some of the tools in action, check out this &lt;a href="http://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Visual-Studio-Toolbox-Reporting-Performance-Issues-with-PerfWatson"&gt;Channel9 video&lt;/a&gt;, where Cameron McColl from our product team discusses these mechanics in more detail.&lt;/p&gt;  &lt;p&gt;So with all the data we have collected so far, what trends have we seen? Below are three areas that have stood out: &lt;/p&gt;  &lt;h1&gt;&lt;b&gt;&lt;/b&gt;&lt;/h1&gt;  &lt;h2&gt;&lt;b&gt;Solution Open &lt;/b&gt;&lt;/h2&gt;  &lt;p&gt;While we had received feedback that loading a solution can be slow, PerfWatson has given us a much clearer picture into where, specifically, delays are most likely to occur. A number of steps take place when a solution is opening, each contributing a certain amount of cost to the overall experience. However, when looking at the data, we’ve found that several tasks were more expensive than we expected. For example: reopening files that were open in the last session, or retrieving the solution settings, such as breakpoints and window layout, from SUO file (Solution User Options) can take more than a few milliseconds extending the overall cost of loading the solution.&lt;/p&gt;  &lt;p&gt;One way we have found to help improve this experience is to reduce the overall document clutter. There are several ways that a number of files get opened besides clicking on them in Solution Explorer – Go To Definition, Debugging, Find etc. This experience has now been simplified with the introduction of a “preview tab” for opening files that are not yet needed by the user. This new IDE feature was demoed during the TechEd conference held mid-May (see &lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV326"&gt;Channel 9 coverage&lt;/a&gt; at 00:27:20 minute marker). &lt;/p&gt;  &lt;p&gt;In addition to simplifying certain scenarios like opening files, the Visual Studio team is investigating several ways to optimize the solution open scenario for vNext. One method, for example, we are investigating is moving operations away from solution load time to when there is less competition for system resources. The PerfWatson data is helping us understand which areas would benefit from applying these improvements along with making sure there are no regressions.&lt;/p&gt;  &lt;h2&gt;&lt;b&gt;Idle Loop Processing&lt;/b&gt;&lt;/h2&gt;  &lt;p&gt;Visual Studio has a mechanism for components to queue up non-blocking work for a time when CPU cycles are less constrained (aka, the system is “idle”).&amp;#160; These idle operations take place on the UI thread when the message queue is empty. For information on Idle Loop Processing please refer to the MSDN documentation &lt;a href="http://msdn.microsoft.com/en-us/library/3dy7kd92(v=VS.100).aspx"&gt;here&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;This mechanism worked well when the product was smaller, processors were single core, and only a few operations utilized this mechanism.&amp;#160; However, as the product has grown, this mechanism has hit its scalability limits as more tasks have started to schedule recurring computations and expensive IO operations during the “idle loop”.&amp;#160; &lt;/p&gt;  &lt;p&gt;PerfWatson has enabled us to quickly identify which of these scheduled tasks can become potentially expensive. The following are a few examples that we are tracking as bugs:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Refreshing the Task and Error Lists. &lt;/li&gt;    &lt;li&gt;Initializing the Toolbox. &lt;/li&gt;    &lt;li&gt;Updating the outlining for VC++ code windows. &lt;/li&gt;    &lt;li&gt;Updating command bars and menus. &lt;/li&gt;    &lt;li&gt;Saving backup copies of all open files for auto recovery. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;For each task, we look at a variety of ways to improve the performance. For tasks which iterate on large data sets, we look at ways to break assumptions that the operation needs to be completed as a single operation. This allows the task to be partitioned into much finer increments, quickly yielding back to the UI thread. For example, our Auto-recover mechanism has been updated to do this. Rather than saving all changed documents at once, we instead save one at a time, yielding back to the UI thread after each save. For others, we’ve rewritten the tasks to execute asynchronously off of the UI thread, allowing us to take better advantage of multi-core hardware and remove expensive IO operations from the UI thread. &lt;/p&gt;  &lt;p&gt;Idle issues are not easy to reproduce; however with the use of PerfWatson data collected both internally and from you, our customers, we have been able to identify and open bugs for over 30 idle specific issues. &lt;/p&gt;  &lt;h2&gt;Build&lt;/h2&gt;  &lt;p&gt;PerfWatson data indicates that one of the more frequent areas that cause the IDE to be unresponsive is solution build. For vNext, we have made significant investments to improve the overall build responsiveness by moving the build off the UI thread for VB and C# builds (C++ already does this). This feature was demoed at the TechEd conference (&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV326"&gt;Channel 9 coverage&lt;/a&gt; at 00:45:00 minute marker).&amp;#160; &lt;/p&gt;  &lt;p&gt;As part of doing this work, we found that not only could we make the UI more responsive during build but, for C#, we were even able to parallelize the build, improving both build throughput and memory utilization. (VB was best optimized by moving it off the UI thread).&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;We hope this blog post has given you some insight into how we’re using the PerfWatson data to make improvements to the product. Thanks again to everybody who has already downloaded and installed the extension. For those of you who have not yet done so, the extension can be downloaded from &lt;a href="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441?SRC=Home"&gt;here&lt;/a&gt;. As always, we welcome your comments and feedback!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Thanks!&lt;/p&gt;  &lt;p&gt;Shibani Basava    &lt;br /&gt;Software Development Engineer in Test, VS Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10199942" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Performance/">Performance</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/PerfWatson/">PerfWatson</category></item><item><title>High school students at the Academy of Interactive Entertainment build a WP application from scratch in a week</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/08/17/high-school-students-at-the-academy-of-interactive-entertainment-build-a-wp-application-from-scratch-in-a-week.aspx</link><pubDate>Wed, 17 Aug 2011 07:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10196535</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10196535</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10196535</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/08/17/high-school-students-at-the-academy-of-interactive-entertainment-build-a-wp-application-from-scratch-in-a-week.aspx#comments</comments><description>&lt;p&gt;By Alice Lee&lt;/p&gt;
&lt;p&gt;&lt;iframe style="height: 288px; width: 512px;" src="http://channel9.msdn.com/posts/AIE-Summer-Cyber-Camp/player?w=512&amp;amp;h=288" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;/p&gt;
&lt;p&gt;Developing a full-fledged Windows Phone app in one week &amp;ndash; that&amp;rsquo;s pretty ambitious, right?&lt;/p&gt;
&lt;p&gt;Last week, at the Academy of Interactive Entertainment (AIE)&amp;rsquo;s weekly Summer Cyber Camp, a team of talented high and middle school students set out to do just that. I followed them for one week, documenting the process of creating their 3D game for Windows Phone 7 (WP7), called Color Break. Some of the students began with minimal programming experience while others had been using C# for a few years. At the end of the week, however, they were all capable of writing code, creating graphics, and incorporating more advanced concepts such as physics into the game. By Friday, they&amp;rsquo;d finished and ported the application to the phone - just five days later (check out the app in action in the video)! It just goes to show that whether you&amp;rsquo;re an absolute beginner or a seasoned expert, developing for the WP can be a simple, fun, and extremely educational process. One student, who had never even coded in C# before, began developing a first person shooter. As a college student myself, I was impressed.&lt;/p&gt;
&lt;p&gt;So, how do you get started? Well it&amp;rsquo;s simple &amp;ndash; check out &lt;a href="http://create.msdn.com"&gt;http://create.msdn.com&lt;/a&gt; to access the plethora of resources, downloads, and tutorials. If you&amp;rsquo;re a student, there are also a ton of free, easy-to-use WP-related development tools available, including: &lt;br /&gt;- Dreamspark (&lt;a href="http://dreamspark.microsoft.com"&gt;http://dreamspark.microsoft.com&lt;/a&gt;), to get access to Visual Studio 2010 Professional, the IDE that the students are using in this video.&lt;/p&gt;
&lt;p&gt;- The Windows Phone Student Developer page (&lt;a href="http://www.microsoft.com/student/en/us/techstudent/handson/phone-development.aspx"&gt;http://www.microsoft.com/student/en/us/techstudent/handson/phone-development.aspx&lt;/a&gt;) for resources as well as a student developer account to get started.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10196535" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Windows+Phone/">Windows Phone</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/csharp/">csharp</category></item><item><title>Feedback Opportunity: Command Complexity in Visual Studio</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/05/27/feedback-opportunity-command-complexity-in-visual-studio.aspx</link><pubDate>Fri, 27 May 2011 00:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10168882</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>28</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10168882</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10168882</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/05/27/feedback-opportunity-command-complexity-in-visual-studio.aspx#comments</comments><description>&lt;p&gt;By Sam Zaiss&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: We're happy to set &lt;em&gt;anyone up &lt;/em&gt;with the new reduced toolbar set, whether you are in the US or not. Unfortunately the rule about the Microsoft gratuity is strict, but if you're willing, we'd still love to get your feedback. Please send mail to &lt;a href="mailto:VSToolbarFeedback@microsoft.com"&gt;VSToolbarFeedback@microsoft.com&lt;/a&gt;&amp;nbsp;if you're interested.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 2&lt;/strong&gt;: Thanks everyone for your interest! The formal survey is now full, and the gratuities have all been claimed. However, we're still happy to share the reduced toolbars with any interested customer. Please contact &lt;a href="mailto:VSToolbarFeedback@microsoft.com"&gt;VSToolbarFeedback@microsoft.com&lt;/a&gt; if you're interested in checking it out; we can still accept your feedback via email!!&lt;/p&gt;
&lt;p&gt;One thing that we hear about is how daunting Visual Studio can be for newcomers, and customers have &lt;a href="http://mikefourie.wordpress.com/2010/09/16/improving-the-visual-studio-2010-ui-menu-system-part-1/"&gt;told&lt;/a&gt; &lt;a href="http://mint.litemedia.se/2009/05/31/clean-up-your-visual-studio-context-menus/"&gt;us&lt;/a&gt; that the abundance of commands in VS definitely plays a role in that perception. As we work on the next release of Visual Studio, my core focus has been to find ways we can get our command complexity under control without taking away any of the functionality that our customers depend on.&lt;/p&gt;
&lt;p&gt;Improving the state of the VS toolbars is one area that we&amp;rsquo;re taking on for vNext. Today, it&amp;rsquo;s entirely possible to end up with 2-3 completely full rows of toolbars: &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/1200.VSToolbars_5F00_002AF8E6.png"&gt;&lt;img height="73" width="644" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-29-92-metablogapi/0726.VSToolbars_5F00_thumb_5F00_09AB696F.png" alt="VSToolbars" border="0" title="VSToolbars" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Not only does this take away space from your code, but toolbars that show/hide for specific files can also cause your document tabs to vertically shift when switching from one file to another. We know we can do better! Keeping the toolbars confined to a single row is a goal for our next release.&lt;/p&gt;
&lt;p&gt;We have a good start on this work, but now &lt;strong&gt;we need your feedback&lt;/strong&gt;! If you&amp;rsquo;re currently using Visual Studio 2010 (with or without SP1) for 20+ hours a week, we&amp;rsquo;d like to set you up with a single row of toolbars, and get your feedback on the reduction choices we&amp;rsquo;ve made. Here&amp;rsquo;s what would be involved:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We&amp;rsquo;d send you a settings file that, when imported, will reduce your toolbars down to one row. It won&amp;rsquo;t remove any functionality from VS, nor will it do anything besides rearrange your toolbars. The change can be easily undone at any time. &lt;/li&gt;
&lt;li&gt;Work as you normally would for a week. If you run into any issues with the reduced toolbars, make a note of them. &lt;/li&gt;
&lt;li&gt;At the end of the week, fill out a survey to let us know what you think. As a thank you, the first 150 people to participate will receive a Microsoft Gratuity*, which entitles you to one &lt;strong&gt;free&lt;/strong&gt; piece of Microsoft software or XBox 360 game! &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;* Due to regulations around Microsoft Gratuities, we can unfortunately only accept participants who have a US Social Security Number or Tax ID number. &lt;strong&gt;[Update]&lt;/strong&gt; However, we are more than happy to set any interested customer up with the settings file and accept their feedback. Please feel free to send mail and we'll get you set up!&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re interested in participating, please send mail to &lt;a href="mailto:VSToolbarFeedback@microsoft.com"&gt;VSToolbarFeedback@microsoft.com&lt;/a&gt; and we&amp;rsquo;ll get you set up!&lt;/p&gt;
&lt;p&gt;Thanks! &lt;br /&gt;Sam Zaiss &lt;br /&gt;UX Researcher, Visual Studio IDE Platform &amp;amp; Editor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10168882" width="1" height="1"&gt;</description></item><item><title>TechEd 2011: Visual Studio vNext Sneak Preview</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/05/26/teched-2011-visual-studio-vnext-sneak-preview.aspx</link><pubDate>Thu, 26 May 2011 02:46:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10168484</guid><dc:creator>Weston Hutchins - MSFT</dc:creator><slash:comments>14</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10168484</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10168484</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/05/26/teched-2011-visual-studio-vnext-sneak-preview.aspx#comments</comments><description>&lt;p&gt;In case you missed it, last week at TechEd 2011 in Atlanta, GA, I gave conference attendees a first look at some of the new IDE features and performance improvements we’re working on for the next version of Visual Studio.&amp;#160; &lt;a href="http://channel9.msdn.com/" target="_blank"&gt;Channel9&lt;/a&gt; has posted the session (along with all the other TechEd sessions) so everyone else can now watch the presentations and demos.&amp;#160; Take a look, and let us know what you think!&lt;/p&gt;  &lt;p&gt;Microsoft Visual Studio IDE Futures - &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;There were also a number of other Visual Studio and language sessions that might interest you:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV324" target="_blank"&gt;C# and Visual Basic Future: Async Made Easy&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV305" target="_blank"&gt;Microsoft Visual Studio Tips and Tricks&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV317" target="_blank"&gt;Using Microsoft Visual Basic to build Windows Phone Applications&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV328" target="_blank"&gt;How We Do Language Design at Microsoft (C#, Visual Basic, F#)&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV323" target="_blank"&gt;A Taste of F#: Today and Future&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV316" target="_blank"&gt;ALM for C++ in Microsoft Visual Studio 2010&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV303" target="_blank"&gt;Modern Native C++ Development for Maximum Productivity&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DEV402" target="_blank"&gt;Microsoft Visual Studio 2010 Extensibility&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Weston Hutchins   &lt;br /&gt;Program Manager – VS IDE Platform&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10168484" width="1" height="1"&gt;</description></item><item><title>New Channel 9 Series: Visual Studio Toolbox</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/05/11/new-channel-9-series-visual-studio-toolbox.aspx</link><pubDate>Wed, 11 May 2011 20:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10163526</guid><dc:creator>Weston Hutchins - MSFT</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10163526</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10163526</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/05/11/new-channel-9-series-visual-studio-toolbox.aspx#comments</comments><description>&lt;p&gt;The debut episode of the &lt;a href="http://channel9.msdn.com/Shows/Visual-Studio-Toolbox" target="_blank"&gt;Visual Studio Toolbox&lt;/a&gt;, a new Channel 9 series focused on Visual Studio tips and tricks, is now live!&amp;#160; In the first episode, &lt;a href="http://channel9.msdn.com/Niners/rogreen" target="_blank"&gt;Robert Green&lt;/a&gt; walks through the features of the Solution Navigator tool window included in the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef?SRC=Home" target="_blank"&gt;Productivity Power Tools&lt;/a&gt;, showing you how to efficiently navigate your code.&amp;#160; Check it out and let him know what you’d like to see in future episodes!&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Visual-Studio-Toolbox-Productivity-Power-Tools-Part-1" target="_blank"&gt;Visual Studio Toolbox: Productivity Power Tools Part 1&lt;/a&gt;&amp;#160; (17 min)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10163526" width="1" height="1"&gt;</description></item><item><title>Using PerfWatson to report performance issues to Microsoft</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/05/02/perfwatson.aspx</link><pubDate>Mon, 02 May 2011 21:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10160165</guid><dc:creator>Visual Studio Blog</dc:creator><slash:comments>35</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/rsscomments.aspx?WeblogPostID=10160165</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/visualstudio/commentapi.aspx?WeblogPostID=10160165</wfw:comment><comments>http://blogs.msdn.com/b/visualstudio/archive/2011/05/02/perfwatson.aspx#comments</comments><description>&lt;p&gt;By Selma Ikiz&lt;/p&gt;
&lt;p&gt;Would you like Visual Studio 2010 to be even faster? Would you like any performance issue you see to be&amp;nbsp; reported automatically without any hassle? Well now you can, with the new &lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline;"&gt;&lt;a href="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441?SRC=Home"&gt;Visual Studio PerfWatson&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt; extension! Install this extension and help us deliver a faster Visual Studio experience.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;re constantly working to improve the performance of Visual Studio and take feedback about it very seriously. Our investigations into these issues have found that there are a variety of scenarios where a long running task can cause the UI thread to hang or become unresponsive. Visual Studio PerfWatson is a low overhead telemetry system that helps us capture these instances of UI unresponsiveness and report them back to Microsoft automatically and anonymously. We then use this data to drive performance improvements that make Visual Studio faster.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how it works: when the tool detects that the Visual Studio UI has become unresponsive, it records information about the length of the delay and the root cause, and submits a report to Microsoft. The Visual Studio team can then aggregate the data from these reports to prioritize the issues that are causing the largest or most frequent delays across our user base. By installing the PerfWatson extension, you are helping Microsoft identify and fix the performance issues that you most frequently encounter on your PC.&lt;/p&gt;
&lt;p&gt;To enable PerfWatson perform correctly, please make sure that Windows Error Reporting (WER) is enabled on your machine. PerfWatson employs WER service to send the collected data to Microsoft. For details on WER and how to enable it, please refer to &lt;a href="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441?SRC=Home"&gt;PerfWatson blog&lt;/a&gt;.&lt;/p&gt;
&lt;h5&gt;Download and Installation&lt;/h5&gt;
&lt;p&gt;Following are the pre-requisites for installing Visual Studio PerfWatson:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Windows Vista/2008/2008 R2/7 (Note: PerfWatson is not supported for Windows XP)&lt;/li&gt;
&lt;li&gt;Visual Studio 2010 SP1 (Professional, Premium, or Ultimate)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The extension can be downloaded from the Visual Studio Extension Manager or at the &lt;a href="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441?SRC=Home"&gt;VS Gallery&lt;/a&gt;.&lt;/p&gt;
&lt;h5&gt;Limitations&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;The tool doesn&amp;rsquo;t work on Windows XP&lt;/li&gt;
&lt;li&gt;The tool needs WER be enabled. For details on how to enable WER, please see &lt;a href="http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441?SRC=Home"&gt;this blog post&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Please &lt;b&gt;&lt;i&gt;&lt;a href="http://connect.microsoft.com/VisualStudio"&gt;let us know what you think&lt;/a&gt;&lt;/i&gt;&lt;/b&gt;! Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10160165" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/announcements/">announcements</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/VS2010/">VS2010</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/Performance/">Performance</category><category domain="http://blogs.msdn.com/b/visualstudio/archive/tags/PerfWatson/">PerfWatson</category></item></channel></rss>
