How to find the best gitignore for Visual Studio and Azure DevOps

This post came about as a result of a an interesting question raised by my good friend Richard Hundhausen in Accentient. It turned out into some very interesting observations, and a few ways of handling this. Background When you’re starting up a new git repository for a Visual Studio project, you need a .gitignore file 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 →

How to conditionally fail a build in a pull requests with TFS/VSTS

When your TFS/VSTS CI build is also used for a pull request, you often want to enable more checks before you let this go into the master (or any target) branch, and fail the build if these raise warnings. It can be extra tests you want to run, code quality checks,  process checks, and  you Continue Reading →

How to control the selection of test runner in TFS/VSTS, making it work with x86/x64 selected targets

When you do test runs with the Test Explorer in Visual Studio, you can select to use either a x86 or a x64 test runner.  Now, if you select to create an AnyCPU target for that component, it will not matter which one you choose, but if you select a target x86 or x64, the Continue Reading →