<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/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>Rick van den Bosch - Blog : Visual Studio</title><link>http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx</link><description>Tags: Visual Studio</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Error: The Path 'path' is already mapped in workspace 'workspace'</title><link>http://bloggingabout.net/blogs/rick/archive/2013/04/02/error-the-path-path-is-already-mapped-in-workspace-workspace.aspx</link><pubDate>Tue, 02 Apr 2013 07:35:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578409</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=578409</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2013/04/02/error-the-path-path-is-already-mapped-in-workspace-workspace.aspx#comments</comments><description>&lt;p&gt;Just a quick little post today: I got the error &amp;quot;The Path &amp;#39;path&amp;#39; is already mapped in workspace &amp;#39;workspace&amp;#39;&amp;quot; when I connected to a new Team Foundation Server and tried to map my workspace today. I had connected to a Team Foundation Services project a while back to get some shared code, but I already removed the workspace and the server binding. Even though&amp;nbsp;Visual Studio didn&amp;#39;t see any other bindings, mapping my workspace to the same folder the previous TFS binding was mapped to served me this error.&lt;/p&gt;
&lt;p&gt;The quick solution: manually edit (or remove if you don&amp;#39;t have any other bindings) the file VersionControl.config, which can be found under %AppData%\Local\Microsoft\Team Foundation\4.0\Cache&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578409" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/.Net/default.aspx">.Net</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/TFS/default.aspx">TFS</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category></item><item><title>Visual Studio 2012 crashes when opening an ASP.NET MVC project with a cshtml open</title><link>http://bloggingabout.net/blogs/rick/archive/2013/03/15/visual-studio-2012-crashes-when-opening-an-asp-net-mvc-project-with-a-cshtml-open.aspx</link><pubDate>Fri, 15 Mar 2013 10:54:59 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578379</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=578379</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2013/03/15/visual-studio-2012-crashes-when-opening-an-asp-net-mvc-project-with-a-cshtml-open.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/4380.vscrash_5F00_5D32128B.png"&gt;&lt;img title="vscrash" style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;margin:0px 0px 0px 15px;display:inline;border-top-width:0px;" border="0" alt="vscrash" align="right" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/7217.vscrash_5F00_thumb_5F00_35F7C956.png" width="213" height="244" /&gt;&lt;/a&gt; A rather long title for this post, but that’s exactly what happened: when I opened an ASP.NET MVC 4 project with a cshtml view open, Visual Studio would crash with the error messages seen on the right. This would only occur if the &lt;em&gt;first&lt;/em&gt; project I opened had a cshtml file open. When I opened another (type of) project first and then opened a project with a cshtml file open, the problem did not occur. Debugging Visual Studio with a new instance of Visual Studio (&lt;a href="http://www.imdb.com/title/tt1375666" target="_blank"&gt;Inception&lt;/a&gt; anyone?) made things a bit clearer. (Part of) the exception information:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Source&lt;/strong&gt;     &lt;br /&gt;WebEssentials2012&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Message&lt;/strong&gt;     &lt;br /&gt;Could not load type &amp;#39;Microsoft.Less.Core.LessMixinDeclaration&amp;#39; from assembly &amp;#39;Microsoft.VisualStudio.Web.Extensions, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;#39;.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;After searching around a bit, I found this blog post by Mads Kristensen: &lt;a title="http://madskristensen.net/post/Web-Tools-20122-and-Web-Essentials.aspx" href="http://madskristensen.net/post/Web-Tools-20122-and-Web-Essentials.aspx" target="_blank"&gt;Web Tools 2012.2 and Web Essentials&lt;/a&gt;. This post talks about Web Tools 2012.2 and Web Essentials 2.5, and how an error can occur if you install Web Tools 2012.2 and don’t upgrade to Web Essentials 2.5. However, I do have Web Essentials 2.5.1 installed so this issue shouldn’t be the same as mine.&lt;/p&gt;  &lt;p&gt;Although my situation didn’t match the one on Mads’s blog, I decided to install Web Tools 2012.2 just to see what the result would be. As it turned out, installing the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=282650" target="_blank"&gt;Web Tools 2012.2&lt;/a&gt; did solve the problem. Here’s why I think this solved it:&lt;/p&gt;  &lt;p&gt;I had an older version of WebEssentials installed, which included specific functionality. This functionality was moved to Web Tools, and out of the new version of Web Essentials. When I updated to the new version of Web Essentials (without having Web Tools installed!), the functionality was no longer available in Web Essentials giving me the ‘Could not load type’ exception.    &lt;br /&gt;I’m not sure why the exception did not occur when I opened a different project first or if this is the exact reason of the exception occurring. I’ll contact Mads to share my findings, he might be able to reproduce this.&lt;/p&gt;  &lt;p&gt;Hope this helps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578379" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2012/default.aspx">VS2012</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/MVC4/default.aspx">MVC4</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/debug/default.aspx">debug</category></item><item><title>Debugging JavaScript with Visual Studio in an ASP.NET MVC 4 application</title><link>http://bloggingabout.net/blogs/rick/archive/2012/12/19/debugging-javascript-with-visual-studio-in-an-asp-net-mvc-4-application.aspx</link><pubDate>Wed, 19 Dec 2012 05:27:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578220</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>1</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=578220</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2012/12/19/debugging-javascript-with-visual-studio-in-an-asp-net-mvc-4-application.aspx#comments</comments><description>&lt;p&gt;When debugging JavaScript in an ASP.NET MVC (4) application, it is not always enough to uncheck the &amp;#39;Disable script debugging&amp;#39; checkboxes under &amp;#39;Tools&amp;#39; - &amp;#39;Internet Options&amp;#39; - &amp;#39;Advanced&amp;#39; - &amp;#39;Browsing&amp;#39;. JavaScript inside a Razor view (a cshtml file) cannot be debugged from Visual Studio. To debug your JavaScript, move it to a separate .js file and link to that file from your Razor view. This way, breakpoints set in the JavaScript will be hit and you can debug from Visual Studio.&lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;"&gt;Disclaimer: I know about the F12 Developer Tools, Firebug and all the other possibilities we have to debug JavaScript. This post is about getting JavaScript debugging to work with Visual Studio and breakpoints set in Visual Studio. For those who want it that way. So there... ;)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578220" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/.Net/default.aspx">.Net</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2012/default.aspx">VS2012</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/MVC4/default.aspx">MVC4</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/javascript/default.aspx">javascript</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/debug/default.aspx">debug</category></item><item><title>TIP: “Paste XML as Classes” in Visual Studio 2012</title><link>http://bloggingabout.net/blogs/rick/archive/2012/10/24/tip-paste-xml-as-classes-in-visual-studio-2012.aspx</link><pubDate>Wed, 24 Oct 2012 05:02:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578130</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>6</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=578130</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2012/10/24/tip-paste-xml-as-classes-in-visual-studio-2012.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/7288.pastespecial_5F00_5DA7DCDB.png"&gt;&lt;img title="pastespecial" style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;margin-left:0px;display:inline;border-top-width:0px;margin-right:0px;" alt="pastespecial" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/2273.pastespecial_5F00_thumb_5F00_39164F57.png" align="right" border="0" height="240" width="239" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the past, when you had some XML document that you wanted to translate into classes we had to create / generate a schema based on the XML file. Next, we had to generate a class based on the schema with an external tool. Not all too user friendly and somewhat time consuming.&lt;/p&gt;
&lt;p&gt;In Visual Studio 2012 you copy the XML you want to create a class/classes for, place the cursor in a class file on the location you want the code to be added and select the following menu items: Edit &amp;ndash; Paste Special &amp;ndash; Paste XML as Classes. And you&amp;rsquo;re done! Just like that&amp;hellip;&lt;/p&gt;
&lt;p&gt;   &lt;br /&gt;If you want to try real quick, there&amp;rsquo;s a sample XML file (books.xml) &lt;a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms762271.aspx" target="_blank"&gt;available here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;b&gt;EDIT&lt;/b&gt;&lt;br /&gt;The feature is .NET Framework 4.5 specific. Taken from this MSDN article &amp;#39;&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/hh371548.aspx"&gt;Generating Data Type Classes from XML&lt;/a&gt;&amp;#39;:&lt;br /&gt;&lt;i&gt;&amp;quot;.NET Framework 4.5 includes a new feature to generate data type classes from XML.&lt;/i&gt;&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578130" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/.Net/default.aspx">.Net</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Tip/default.aspx">Tip</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2012/default.aspx">VS2012</category></item><item><title>Microsoft Touch Mouse, Visual Studio (2012) and scrolling</title><link>http://bloggingabout.net/blogs/rick/archive/2012/10/23/microsoft-touch-mouse-visual-studio-2012-and-scrolling.aspx</link><pubDate>Tue, 23 Oct 2012 08:23:39 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578128</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=578128</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2012/10/23/microsoft-touch-mouse-visual-studio-2012-and-scrolling.aspx#comments</comments><description>&lt;p&gt;My Microsoft Touch Mouse stopped scrolling in Visual Studio on my Windows 8 machine some time ago. Because this kills productivity, I wanted to fix the problem. After trying some things I found that the problem only occurred when I &lt;a href="http://bloggingabout.net/blogs/rick/archive/2012/10/16/howto-have-visual-studio-always-run-as-administrator-on-windows-8.aspx" target="_blank"&gt;ran Visual Studio as Administrator&lt;/a&gt;. Searching a bit further I found this bug to be &lt;a href="http://connect.microsoft.com/VisualStudio/feedback/details/762365/loss-of-mouse-scrolling-with-microsoft-touch-mouse-with-vs-2012-when-running-as-administrator" target="_blank"&gt;added to Microsoft Connect&lt;/a&gt;. I found a workaround for the problem:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Go to the location where you have Microsoft Mouse and Keyboard Center installed&lt;/li&gt;    &lt;li&gt;Open up the properties of ipoint.exe&lt;/li&gt;    &lt;li&gt;Set it to Run as Administrator&lt;/li&gt;    &lt;li&gt;Kill and restart ipoint.exe (or restart the machine)&lt;/li&gt;    &lt;li&gt;Welcome back scrolling in Visual Studio…!&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Hope this helps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578128" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Windows+8/default.aspx">Windows 8</category></item><item><title>HowTo: Have Visual Studio always run as administrator on Windows 8</title><link>http://bloggingabout.net/blogs/rick/archive/2012/10/16/howto-have-visual-studio-always-run-as-administrator-on-windows-8.aspx</link><pubDate>Tue, 16 Oct 2012 11:16:46 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578117</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>2</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=578117</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2012/10/16/howto-have-visual-studio-always-run-as-administrator-on-windows-8.aspx#comments</comments><description>&lt;p&gt;In my &lt;a href="http://bloggingabout.net/blogs/rick/archive/2012/10/04/unable-to-access-the-iis-metabase.aspx"&gt;previous post&lt;/a&gt; I wanted my Visual Studio to ‘Run as Administrator’ on my Windows 8 machine. I only managed to get this working for the pinned taskbar icon and not for items in the jumplist or for items you open by double clicking them. The solution to check the box ‘Run as Administrator’ on the compatibility tab of the file properties for devenv.exe was not a solution, because there is no more Compatibility tab in Windows 8 :).    &lt;br /&gt;But there &lt;em&gt;is&lt;/em&gt; a way to have devenv.exe always ‘Run as Administrator’. Here’s how:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Right click devenv.exe en select Troubleshoot compatibility (first picture) &lt;/li&gt;    &lt;li&gt;Select the option ‘Troubleshoot program’ after the wizard has finished detecting issues &lt;/li&gt;    &lt;li&gt;Choose the ‘The program requires additional permissions’ option (second picture). The wizard will apply the ‘Run as Administrator’ setting to devenv.exe &lt;/li&gt;    &lt;li&gt;Click ‘Test the program…’ (third picture - the wizard requires this) and close the wizard &lt;/li&gt;    &lt;li&gt;Enjoy! &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/2867.compat01_5F00_3DF0EB3E.png"&gt;&lt;img title="Picture 1" style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;display:inline;border-top-width:0px;" border="0" alt="Picture 1" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/8863.compat01_5F00_thumb_5F00_2BA8247C.png" width="199" height="244" /&gt;&lt;/a&gt;&amp;#160; &lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/3513.compat02_5F00_00638D75.png"&gt;&lt;img title="Picture 2" style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;display:inline;border-top-width:0px;" border="0" alt="Picture 2" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/3750.compat02_5F00_thumb_5F00_2731A3B5.png" width="244" height="189" /&gt;&lt;/a&gt;&amp;#160; &lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/8688.compat03_5F00_72251484.png"&gt;&lt;img title="Picture 3" style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;display:inline;border-top-width:0px;" border="0" alt="Picture 3" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/1057.compat03_5F00_thumb_5F00_2DE4AD38.png" width="244" height="189" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578117" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Windows+8/default.aspx">Windows 8</category></item><item><title>Unable to access the IIS metabase</title><link>http://bloggingabout.net/blogs/rick/archive/2012/10/04/unable-to-access-the-iis-metabase.aspx</link><pubDate>Thu, 04 Oct 2012 06:48:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578079</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>1</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=578079</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2012/10/04/unable-to-access-the-iis-metabase.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick/4743.error.png"&gt;&lt;img alt="The Web Application Project SomeWebProject is configured to use IIS.  Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine." style="border:0;float:right;" src="http://bloggingabout.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/rick/4743.error.png" border="0" /&gt;&lt;/a&gt;I opened a solution in Visual Studio 2012 on my laptop running Windows 8, when I was presented with the error &amp;quot;&lt;i&gt;The Web Application Project SomeWebProject is configured to use IIS.&amp;nbsp; Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.&lt;/i&gt;&amp;quot; The user I was logged in with was a local administrator and was able to open up and use IIS Manager, but still I was presented with this error. The solution to this is simple: start your Visual Studio with &amp;#39;Run as Administrator&amp;#39;. You can do this by right clicking the shortcut and selecting &amp;#39;Run as Administrator&amp;#39;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;TIP&lt;/b&gt;:&lt;br /&gt;To always have your Visual Studio open with &amp;#39;Run as Administrator&amp;#39;, please follow these steps:&lt;br /&gt;- right click the shortcut you are used to use&lt;br /&gt;- bring up its properties&lt;br /&gt;- click &amp;#39;Advanced...&amp;#39; on the &amp;#39;Shortcut&amp;#39; tab&lt;br /&gt;- check the box &amp;#39;Run as administrator&amp;#39; (see image below)&lt;br /&gt;- close the windows with &amp;#39;OK&amp;#39;&lt;/p&gt;
&lt;p&gt;Somehow I felt like this was default behavior on my Win7 VS2010 install, but it might be I set up the shortcut for it there too...&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick/4073.runas.png"&gt;&lt;img style="border:0;" src="http://bloggingabout.net/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/rick/4073.runas.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578079" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/.Net/default.aspx">.Net</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Error/default.aspx">Error</category></item><item><title>Error installing the Windows Azure AppFabric Tools for Visual Studio (CTP)</title><link>http://bloggingabout.net/blogs/rick/archive/2011/07/26/error-installing-the-windows-azure-appfabric-tools-for-visual-studio-ctp.aspx</link><pubDate>Tue, 26 Jul 2011 08:57:20 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:529736</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=529736</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2011/07/26/error-installing-the-windows-azure-appfabric-tools-for-visual-studio-ctp.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/5238.image_5F00_7A75F57B.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:5px 5px 5px 0px;padding-left:0px;padding-right:0px;display:inline;float:right;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Error message" border="0" alt="Windows Server AppFabric is installed and is not compatible with this release of Windows Azure AppFabric Developer Tools for Microsoft Visual Studio 2010 - June 2011 CTP. Please uninstall Windows Server AppFabric and rerun this setup if you want to install Windows Azure AppFabric Developer Tools for Microsoft Visual Studio 2010 - June 2011 CTP." align="right" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/3755.image_5F00_thumb_5F00_583DE9F5.png" width="240" height="283" /&gt;&lt;/a&gt;When installing the Windows Azure AppFabric Tools for Visual Studio (found &lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17691"&gt;here&lt;/a&gt;), you might get the error message shown on the right, stating that Windows Server AppFabric is installed and that it is not compatible with this release of Windows Azure AppFabric Developer Tools for Microsoft Visual Studio 2010 - June 2011 CTP. It asks to uninstall Windows Server AppFabric and rerun this setup if you want to install Windows Azure AppFabric Developer Tools for Microsoft Visual Studio 2010 - June 2011 CTP.&lt;/p&gt;  &lt;p&gt;When looking for the install of ‘Windows Server AppFabric’ to remove it through ‘Uninstall a program’ you won’t find this item in the list of installed programs. This might feel as a big problem heading your way…&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Solution      &lt;br /&gt;&lt;/strong&gt;This is, however, only a small problem on your way to Azure AppFabric development. Go to your list of installed programs and click ‘View installed updates’. Under Windows, you will find the update ‘Windows Server AppFabric (KB970622)’. Uninstall the update, restart your machine and try installing the Windows Azure AppFabric Tools for Visual Studio again…&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=529736" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/.Net/default.aspx">.Net</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/azure/default.aspx">azure</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/appfabric/default.aspx">appfabric</category></item><item><title>The Visual Studio 2010 Test Client for WCF services</title><link>http://bloggingabout.net/blogs/rick/archive/2011/06/01/the-visual-studio-2010-test-client-for-wcf-services.aspx</link><pubDate>Wed, 01 Jun 2011 05:21:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:486803</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>1</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=486803</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2011/06/01/the-visual-studio-2010-test-client-for-wcf-services.aspx#comments</comments><description>&lt;p&gt;When writing WCF services, most of us find ourselves writing quick test applications. To give you more time to do what a developer should be doing (adding business value to the project) the Visual Studio team added a WCF test client that can help you reach goals faster.&lt;/p&gt;
&lt;p&gt;This is not a very difficult application, but it does the trick and is more than sufficient for simple testing. The WCF Test Client can be found at this location (without the &amp;lsquo; (x86)&amp;rsquo; for x86 machines): &lt;em&gt;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Taken from the help:&lt;/em&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Windows Communication Foundation (WCF) Test Client (WcfTestClient.exe) is a GUI tool that allows users to input test parameters, submit that input to the service, and view the response that the service sends back. It provides a seamless service testing experience when combined with WCF Service Host.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;em&gt;WCF Test Client screenshots: &lt;br /&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/7144.image_5F00_07736124.png"&gt;&lt;img height="203" width="240" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/6888.image_5F00_thumb_5F00_7934E833.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;margin:5px 5px 5px 0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/6825.image_5F00_07072E2F.png"&gt;&lt;img height="203" width="240" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/7776.image_5F00_thumb_5F00_14D9742A.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:xx-small;"&gt;&lt;strong&gt;Updated&lt;/strong&gt;: Thanks to Marco for pointing out my typo...!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=486803" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/.Net/default.aspx">.Net</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Tip/default.aspx">Tip</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/WCF/default.aspx">WCF</category></item><item><title>HowTo: open all files from the Find Results window</title><link>http://bloggingabout.net/blogs/rick/archive/2011/01/17/howto-open-all-files-from-the-find-results-window.aspx</link><pubDate>Mon, 17 Jan 2011 05:49:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484623</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=484623</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2011/01/17/howto-open-all-files-from-the-find-results-window.aspx#comments</comments><description>&lt;p&gt;Here&amp;rsquo;s a quick Visual Studio tip for you&amp;hellip;&lt;/p&gt;
&lt;p&gt;I frequently search for a specific text in my solution because I need to do something in all places where that text occurs. Today I found out how you can open all the files that are mentioned in the Find Results window.&lt;/p&gt;
&lt;p&gt;Search for the text you&amp;rsquo;re looking for. In my case this is ITest*. &lt;br /&gt;Open up the Search Results window and select all the records where the text was found. You can do this by dragging your mouse cursor over the text or clicking the text of the first search result, holding SHIFT and clicking the text of the last. &lt;br /&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/7382.Search_2D00_Results_2D00_for_2D00_ITest_5F00_605219A0.png"&gt;&lt;img height="90" width="644" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/3581.Search_2D00_Results_2D00_for_2D00_ITest_5F00_thumb_5F00_6B0F70F5.png" alt="Search Results for ITest" border="0" title="Search Results for ITest" style="background-image:none;border-bottom:0px;border-left:0px;margin:5px 5px 5px 0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click anywhere &lt;em&gt;&lt;strong&gt;on the selected text&lt;/strong&gt;&lt;/em&gt; and choose &amp;lsquo;Go to location&amp;rsquo;. If you click anywhere other than on selected text, you will lose the selection and you&amp;rsquo;ll probably get just one file opened. When all files are opened you will keep the &amp;lsquo;Go To Next Location F8&amp;rsquo; and &amp;lsquo;Go To Previous Location SHIFT + F8&amp;rsquo; functionality. That might be a nice one to loop through all the locations where your text was found. Especially when it was found more than once in one file.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:xx-small;"&gt;* The usefulness of searching for this interface is arbitrary due to functionality as &amp;lsquo;Find all references&amp;rsquo; and so on. Luckily I&amp;rsquo;m only using it for this example. So lets not focus on that but on the tip this post is about ;)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484623" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Tip/default.aspx">Tip</category></item><item><title>Patches available for scrolling context menu in Visual Studio 2010</title><link>http://bloggingabout.net/blogs/rick/archive/2011/01/07/patches-available-for-scrolling-context-menu-in-visual-studio-2010.aspx</link><pubDate>Fri, 07 Jan 2011 12:57:43 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484567</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=484567</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2011/01/07/patches-available-for-scrolling-context-menu-in-visual-studio-2010.aspx#comments</comments><description>&lt;p&gt;The past couple of days I’ve been experiencing some issues with the context menu for my Solution Explorer in Visual Studio 2010. It contained scrollbars even when there was sufficient space on the screen to show the menu without scrolling.&lt;/p&gt;  &lt;p&gt;Searching for that issue I immediately found &lt;a href="http://blogs.msdn.com/b/visualstudio/archive/2010/10/14/hotfixes-available-for-scrolling-context-menu-problem.aspx" target="_blank"&gt;this blog post&lt;/a&gt; on &lt;a href="http://blogs.msdn.com/b/visualstudio/" target="_blank"&gt;The Visual Studio Blog&lt;/a&gt;. Taken from that post:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;We’re pleased to announce that there are patches available for Visual Studio and Windows Presentation Foundation that fix this problem. You will need to install both patches to fix this issue&lt;/em&gt;&lt;/p&gt;    &lt;ol&gt;     &lt;li&gt;&lt;em&gt;Visual Studio 2010 patch: &lt;/em&gt;&lt;a href="http://code.msdn.microsoft.com/KB2345133"&gt;&lt;em&gt;http://code.msdn.microsoft.com/KB2345133&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;      &lt;li&gt;&lt;em&gt;Windows Presentation Foundation 4.0 patch: &lt;/em&gt;&lt;a href="http://code.msdn.microsoft.com/KB2413613"&gt;&lt;em&gt;http://code.msdn.microsoft.com/KB2413613&lt;/em&gt;&lt;/a&gt;        &lt;ol&gt;         &lt;li&gt;&lt;em&gt;X86: NDP40-KB2413613-x86.exe. &lt;/em&gt;&lt;/li&gt;          &lt;li&gt;&lt;em&gt;X64: NDP40-KB2413613-x64.exe.&lt;/em&gt;&lt;/li&gt;       &lt;/ol&gt;     &lt;/li&gt;   &lt;/ol&gt; &lt;/blockquote&gt;  &lt;p&gt;I installed both patches and find Visual Studio no longer shows scrollbars in my context menu when I don’t need ‘em. Next to that I am now able to scroll through the menu (when using scrollbars) by using the mousewheel. I think this didn’t work before the patches, but I can’t test my ‘before’ situation anymore…&lt;/p&gt;  &lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484567" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Link/default.aspx">Link</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Patch/default.aspx">Patch</category></item><item><title>HowTo: have Visual Studio open XAML documents in code view</title><link>http://bloggingabout.net/blogs/rick/archive/2011/01/04/howto-have-visual-studio-open-xaml-documents-in-code-view.aspx</link><pubDate>Tue, 04 Jan 2011 09:25:18 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484531</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=484531</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2011/01/04/howto-have-visual-studio-open-xaml-documents-in-code-view.aspx#comments</comments><description>&lt;p&gt;Just a small post to start the new year... and let it be a good one!&lt;/p&gt;  &lt;p&gt;When opening a XAML document in Visual Studio, it opens in split view by default. This might become annoying when you have a large XAML document, because all the content needs to be rendered before you can get some work done.&lt;/p&gt;  &lt;p&gt;Here’s how you can have Visual Studio open XAML documents in code view:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Go to &lt;em&gt;Tools&lt;/em&gt;, &lt;em&gt;Options&lt;/em&gt; &lt;/li&gt;    &lt;li&gt;Under &lt;em&gt;Text Editor &lt;/em&gt;open the&lt;em&gt; XAML&lt;/em&gt; section and select &lt;em&gt;Miscellaneous&lt;/em&gt; &lt;/li&gt;    &lt;li&gt;Under &lt;em&gt;Default View&lt;/em&gt; check the &lt;em&gt;Always open documents in full XAML view&lt;/em&gt; box (see image below) &lt;/li&gt;    &lt;li&gt;Click &lt;em&gt;OK&lt;/em&gt; to apply and you’re all done! &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Hope this helps.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/4544.fullxamlview_5F00_21CB17B8.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:5px auto;padding-left:0px;padding-right:0px;display:block;float:none;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="fullxamlview" border="0" alt="fullxamlview" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rick.metablogapi/4403.fullxamlview_5F00_thumb_5F00_0C012F5B.png" width="400" height="309" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484531" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2010/default.aspx">VS2010</category></item><item><title>Visual Studio: Zero-impact Projects &amp; Cutting/copying empty lines</title><link>http://bloggingabout.net/blogs/rick/archive/2010/05/19/Visual-Studio_3A00_-Zero_2D00_impact-Projects-_2600_-Cutting_2F00_copying-empty-lines.aspx</link><pubDate>Wed, 19 May 2010 16:07:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483290</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=483290</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2010/05/19/Visual-Studio_3A00_-Zero_2D00_impact-Projects-_2600_-Cutting_2F00_copying-empty-lines.aspx#comments</comments><description>&lt;p&gt;Yesterday I remembered&amp;nbsp;two&amp;nbsp;Visual Studio&amp;nbsp;options &lt;a href="http://blogs.msdn.com/saraford/"&gt;Sara Ford&lt;/a&gt; told about in a presentation of her I attended a while back.&amp;nbsp;Changing&amp;nbsp;them&amp;nbsp;made me happy... :)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Zero-impact projects&lt;/strong&gt;&lt;br /&gt;When I have to test something real quick, I tend to create a new project in Visual Studio and scribble some code to test whatever I want to test at that point. This causes my project directory to be&amp;nbsp;filled with projects&amp;nbsp;named &amp;#39;WindowsFormsApplication14&amp;#39; or something like that. To make this stop, go to Tools - Options - Projects and Solutions - General. Uncheck the option &amp;#39;Save new projects when created&amp;#39;. This way those newly made (and shortly used) projects aren&amp;#39;t saved untill you explicitly tell Visual Studio to do so. No more &amp;#39;WindowsFormsApplication63&amp;#39; for you! Unless you want to name it that way intentionally, of course...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cutting/copying empty lines&lt;/strong&gt;&lt;br /&gt;We probably all experienced this at one time or another: you select some code, copy it, go to an empty line where you want to past the code.......and you press CTRL + C by accident. With the default settings, you just copied an empty line and have lost the stuff you copied earlier. But with this next option, empty lines won&amp;#39;t get copied or cut anymore! Go to Tools - Options - Text Editor - All languages (or just the language you want to change this setting for) and deselect the option &amp;#39;Apply Cut or Copy commands to blank lines when there is no selection&amp;#39;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483290" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/dotnetmag/default.aspx">dotnetmag</category></item><item><title>Visual Studio 2010: Close all documents</title><link>http://bloggingabout.net/blogs/rick/archive/2010/05/04/visual-studio-2010-close-all-documents.aspx</link><pubDate>Tue, 04 May 2010 16:31:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483210</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>1</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=483210</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2010/05/04/visual-studio-2010-close-all-documents.aspx#comments</comments><description>&lt;p&gt;Sometimes it&amp;rsquo;s the little things that make you love a new product just a bit more.&lt;/p&gt;
&lt;p&gt;I tend to close stuff I don&amp;rsquo;t use anymore fairly quickly. Sometimes I even close an Explorer window or an application right after I used it, only to find I need it again in a few moments&amp;hellip; We all have our quirks, right ;)&lt;/p&gt;
&lt;p&gt;While developing I regularly close all the documents I have open in Visual Studio, especially when I am done with a specific task. And most of the time, I like to collapse all the projects and their subfolders too to keep a tidy work environment. I also have the option &amp;lsquo;Track Active Item in Solution Explorer&amp;rsquo; checked under &amp;lsquo;Tools&amp;rsquo; - &amp;lsquo;Options&amp;rsquo; - &amp;lsquo;Projects and solutions&amp;rsquo; &amp;ndash; &amp;lsquo;General&amp;rsquo;. Of course I have, I&amp;rsquo;d almost add&amp;hellip;&lt;/p&gt;
&lt;p&gt;In older versions of Visual Studio (while having the &amp;lsquo;Track Active Item in Solution Explorer&amp;rsquo; option turned on) choosing the &amp;lsquo;Close all documents&amp;rsquo; item in the &amp;lsquo;Windows&amp;rsquo; menu after having collapsed all the projects lead to one project opening up again. That was the project with the document that was active just before closing all the documents. The &amp;lsquo;Track Active Item in Solution Explorer&amp;rsquo; option seemed to squeeze in a &amp;lsquo;Look at that guy!&amp;rsquo; just before all the documents actually closed, making Visual Studio open up the project and highlighting the file again. Although I knew this happened, I somehow kept to my usual routine of collapsing all the projects and their subfolders before closing all documents, with the same result each time: me closing that one project (or those seven subfolders) twice.&lt;/p&gt;
&lt;p&gt;But&amp;hellip;&amp;hellip; no more in Visual Studio 2010! This newly built IDE seems to understand my way of work: no longer does Visual Studio (or the &amp;lsquo;Track Active Item in Solution Explorer option) open up the project of an active item when I choose &amp;lsquo;Close All Documents&amp;rsquo;. I&amp;rsquo;m not even sure if this was a specific choice or just a coincidental side-effect of the new IDE, but it makes me love Visual Studio 2010 just a bit more&amp;hellip; :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483210" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/dotnetmag/default.aspx">dotnetmag</category></item><item><title>Visual Studio 2010 and the web.config </title><link>http://bloggingabout.net/blogs/rick/archive/2010/04/18/visual-studio-2010-and-the-web-config.aspx</link><pubDate>Sun, 18 Apr 2010 08:00:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483119</guid><dc:creator>Rick van den Bosch</dc:creator><slash:comments>0</slash:comments><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/rick/commentapi.aspx?PostID=483119</wfw:comment><comments>http://bloggingabout.net/blogs/rick/archive/2010/04/18/visual-studio-2010-and-the-web-config.aspx#comments</comments><description>&lt;p&gt;While working with Visual Studio 2010, a new feature caught my eye that isn&amp;#39;t communicated (strongly) in the &amp;quot;What&amp;#39;s new&amp;quot; lists you can find online. As part of the Visual Studio 2010 supports &amp;nbsp;multiple web.config files! Now we can create a separate web.config file for each configuration we have for our application. If you add a configuration through the configuration manager, you have the possibility to add a web.config file&amp;nbsp; for the new configuration too.&lt;/p&gt;
&lt;p&gt;A web application gets two configurations by default: a Debug and a Release configuration. When opening the plus sign in front of the web.config file, two extra files appear: web.debug.config and web.release.config. &amp;nbsp;Depending on the active configuration, Visual Stusio selects the correct version. &lt;/p&gt;
&lt;p&gt;The web.config file contains the default configuration. Configuration specific config files may add or remove settings or change current ones. This is done using simple transformation tags. &lt;/p&gt;
&lt;p&gt;For more information on transformations have a look at:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/webdevtools/archive/2009/05/04/web-deployment-web-config-transformation.aspx"&gt;Web Deployment: Web.Config Transformation&lt;/a&gt;&amp;nbsp;(Visual Web Developer Team Blog)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd465326(VS.100).aspx"&gt;Web.config Transformation Syntax for Web Application Project Deployment&lt;/a&gt;&amp;nbsp;(MSDN library)&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483119" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/Development/default.aspx">Development</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://bloggingabout.net/blogs/rick/archive/tags/dotnetmag/default.aspx">dotnetmag</category></item></channel></rss>