<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visualstudio on ZeroSharp</title><link>https://www.zerosharp.com/blog/categories/visualstudio/</link><description>Recent content in Visualstudio on ZeroSharp</description><generator>Hugo</generator><language>en-gb</language><copyright>Copyright © 2012–{year} Robert Anderson</copyright><lastBuildDate>Mon, 10 Sep 2018 15:45:00 +0100</lastBuildDate><atom:link href="https://www.zerosharp.com/blog/categories/visualstudio/index.xml" rel="self" type="application/rss+xml"/><item><title>My essential Visual Studio tools and extensions</title><link>https://www.zerosharp.com/my-essential-visual-studio-tools-and-extensions/</link><pubDate>Mon, 10 Sep 2018 15:45:00 +0100</pubDate><guid>https://www.zerosharp.com/my-essential-visual-studio-tools-and-extensions/</guid><description>&lt;p&gt;This is part two of a series of posts about the software and tools I find invaluable. See &lt;a href="https://www.zerosharp.com/essential-applications"&gt;part 1&lt;/a&gt; and &lt;a href="https://www.zerosharp.com/my-essential-web-applications"&gt;part 3&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="coderush"&gt;CodeRush&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve been using DevExpress &lt;a href="https://www.devexpress.com/products/coderush/"&gt;CodeRush&lt;/a&gt; since 2005. Check out &lt;a href="https://youtu.be/v5-MVSoqCnU"&gt;this video tutorial&lt;/a&gt; for a lightening tour of a lot of the features, and look at the DevExpress youtube channel for &lt;a href="https://www.youtube.com/playlist?list=PL8h4jt35t1wgawacCN9wmxq1EN36CNUGk"&gt;a load of other tutorials&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="ncrunch"&gt;NCrunch&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.ncrunch.net/"&gt;NCrunch&lt;/a&gt; provides continuous testing for Visual Studio. When I make any change to my code which breaks a unit test, the NCrunch risk status goes red a few seconds later, even without recompiling. I get immediate feedback for any breaking change, so long as I have a test for it. Not only does it encourages me and my team to write good tests, but it allows us to make new changes and
refactor with confidence.&lt;/p&gt;</description></item><item><title>Always run Visual Studio as an Administrator</title><link>https://www.zerosharp.com/always-run-visual-studio-as-an-administrator/</link><pubDate>Mon, 09 Sep 2013 07:49:00 +0100</pubDate><guid>https://www.zerosharp.com/always-run-visual-studio-as-an-administrator/</guid><description>&lt;p&gt;I always run Visual Studio as an administrator. There are various reasons why this is necessary including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;using IIS with a web application&lt;/li&gt;
&lt;li&gt;running web UI tests&lt;/li&gt;
&lt;li&gt;profiling&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In fact there&amp;rsquo;s a list &lt;a href="http://msdn.microsoft.com/en-us/library/vstudio/jj662724.aspx"&gt;on MSDN&lt;/a&gt; of all the actions you require administrator permissions.&lt;/p&gt;
&lt;p&gt;Here is a way to make sure Visual Studio always opens with elevated privileges, even if you double click on a &lt;em&gt;.sln&lt;/em&gt; file. (I&amp;rsquo;m running Windows 8.)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right-click &lt;em&gt;devenv.exe&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;em&gt;Troubleshoot program&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Check &lt;em&gt;The program requires additional permissions&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;em&gt;Next&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;em&gt;Test the program&amp;hellip;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Wait for the program to launch&lt;/li&gt;
&lt;li&gt;Click &lt;em&gt;Next&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;em&gt;Yes, save these settings for this program&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;em&gt;Close&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have multiple versions of Visual Studio installed, you should repeat the operation for all of the following.&lt;/p&gt;</description></item><item><title>Fix Visual Studio update links when running as Administrator</title><link>https://www.zerosharp.com/fix-visual-studio-update-links-when-running-as-administrator/</link><pubDate>Mon, 02 Sep 2013 09:58:00 +0100</pubDate><guid>https://www.zerosharp.com/fix-visual-studio-update-links-when-running-as-administrator/</guid><description>&lt;p&gt;This post is about fixing an annoyance whereby Visual Studio refuses to update extensions when running as an administrator.&lt;/p&gt;
&lt;p&gt;I always had a problem when an update to an extension or tool tried to open the browser. For instance, I would see this notification in the system tray.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.zerosharp.com/images/blog/visual-studio-updates-001.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;And then when I went to &lt;em&gt;Tools/Extensions and Updates&amp;hellip;&lt;/em&gt; in Visual Studio, I&amp;rsquo;d get to something like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.zerosharp.com/images/blog/visual-studio-updates-002.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;But the &lt;em&gt;Update&lt;/em&gt; button was not responding to any clicks. The only workaround I found was to restart Visual Studio under my normal user account and then the button would work.&lt;/p&gt;</description></item><item><title>NuGet 1.8 Installation Problem</title><link>https://www.zerosharp.com/nuget-1-dot-8-installation-problem/</link><pubDate>Fri, 25 May 2012 00:26:00 +0100</pubDate><guid>https://www.zerosharp.com/nuget-1-dot-8-installation-problem/</guid><description>&lt;p&gt;The NuGet team just released NuGet 1.8. Unfortunately there is an issue when upgrading it via the NuGet package manager. The following message appears and the installation fails.&lt;/p&gt;
&lt;pre&gt;
VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' 
is signed, but the update version has an invalid signature. Therefore, Extension Manager 
cannot install the update. 

 at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, 
 IInstallableExtension updateExtension) 
 at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)
&lt;/pre&gt; 
&lt;p&gt;As explained in the &lt;a href="http://docs.nuget.org/docs/release-notes/nuget-1.8"&gt;NuGet release notes&lt;/a&gt;, one solution is to uninstall NuGet from the VS Extension Gallery before reinstalling. Note: If Visual Studio won&amp;rsquo;t allow you to uninstall the extension (the Uninstall button is disabled), then you likely need to restart Visual Studio using &amp;ldquo;Run as Administrator.&amp;rdquo;&lt;/p&gt;</description></item></channel></rss>