About terje

See http://about.me/terjes

How to fix Visual studio loading errors, using IFix

Visual Studio is normally a very stable environment, but some times it might crash on you.  This might happen if you either install some new extension, or even if you update Visual Studio.  The latter can be rather annoying of course. A “common” error message is the loading error, it says it can’t load some Continue Reading →

Visual Studio 2015 and NUnit, with a little NuGet issue

NUGET The current version 1.2 of the NuGet adapters for NUnit works with the VS 2015 Preview (and earlier CTPs).  You can find them here:  http://www.nuget.org/packages/NUnitTestAdapter/  and with framework: http://www.nuget.org/packages/NUnitTestAdapter.WithFramework/ Add one of these to your solution and it works without having the VSIX installed, both for VS2015 and for TFS build, including VSO build.  Continue Reading →

Visual Studio Build fails with MSB4086 after NuGet Update-packages command

I just got into some strange errors after I had done a NuGet update-packages of some package.  The build of the solution after the update failed with a strange error on some numeric comparison which could not be done: This one followed by an error list like this: Restarting Visual Studio makes it go away, Continue Reading →

GitIgnore–How to exclude Nuget packages at any level, and make re-include work

The .gitignore file contains rules for what files and folders to exclude from git source control.  When you use NuGet you don’t want the binaries retrieved by NuGet to be included into your git repository.  The binaries (and other files) from a NuGet package is downloaded into a folder named packages by default.   You need Continue Reading →

Converting projects to use Automatic NuGet restore, using IFix

Download tool In version 2.7 of NuGet automatic nuget restore was introduced, meaning you no longer need to distort your msbuild project files with nuget target information.   Visual Studio and TFS 2013 build have this enabled by default.  However, if your project was created before this was introduced, and/or if you have used the “Enable Continue Reading →

Fix for the ‘Could not find test executor’ issue with NUnit, XUnit and Chutzpah when using ReSharper in Visual Studio

This issue is resolved in the latest ReSharper release, version 8.2.0.2160, download here.  The issue appears when using the Test Explorer to run tests in any of the frameworks mentioned in the title.  The tests are shown in the Test Explorer, but are not executed.  It may look like this: Note:  The tests shown dimmed Continue Reading →