A story on working with NUnit backward compatibility, and dependencies

NUnit as a project has a tradition of keeping backwards compatibility. It ensures that even if you stay on a earlier version of Visual Studio, .net FrameWork, or whatever it is, NUnit should continue to work even with upgrades of NUnit. So also for the NUnitAdapter. It should work on any version of Visual Studio Continue Reading →

A series of short recipes for VSTS, VISUAL STUDIO and NUnit

I have had a need to have more easy access to information on how to do certain stuff, and have some easy access to simple code blocks, or templates, I can copy/paste.  A blog post is for me somewhat more extensive, and that format was not really suited for smaller notes.  So I decided to 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 →