Terje Sandstrom

Terje Sandstrom

Github and Azure DevOps specialist, Visual Studio Development Technologies MVP and NUnit core team member

Primary menu

  • Visual Studio
  • Extensions
  • NUnit
  • Git
  • How to Recipes
    • How to get some output from dotnet test
    • NUnit testing using the new project format
    • How to do .Net core setup for tests
    • How to get NUnit3TestAdapter pre-release packages
    • How to find/clear your Nuget caches
    • How to enable/disable user dumps
    • Fixing missing project.json error in old csproj format
  • Issues
    • MSB4011
  • Code
  • Azure DevOps
    • Azure DevOps
  • About

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

Posted on February 4, 2019 by terje — Leave a reply

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 Continue Reading →

Posted in Azure DevOps, Git, Visual Studio | Leave a reply

A story on working with NUnit backward compatibility, and dependencies

Posted on January 26, 2019 by terje — Leave a reply

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 Continue Reading →

Posted in Dependencies, Extensions, NuGet, NUnit | Leave a reply

How to convert NUnit Assert.AreEqual to fluent Assert.That syntax easily

Posted on November 3, 2018 by terje — Leave a reply

Once upon a time it was declared that an Assert statement should have constraints given as AreEqual and AreNotEqual. Further it was declared that it should be written in the Continue Reading →

Posted in Code, Code Analysis, NUnit, Roslyn | Leave a reply

How to extend the NUnit constraints

Posted on November 1, 2018 by terje — Leave a reply

NUnit has a very rich and readable constraint set.  Normally you don’t need to do anything. But, there are some cases where it would be nice to be able to tweak Continue Reading →

Posted in C#, NUnit, Unit Testing | Leave a reply

Visual Studio and Azure DevOps Git: Extend the git command line with server commands–Part 2

Posted on September 23, 2018 by terje — Leave a reply

The former post in this series showed how you could add aliases to the git command line, and showed how some simple aliases can simplify your command line work. This Continue Reading →

Posted in Azure Devops, Branching, Git, Pull Requests, VSTS | Leave a reply

Visual Studio and VSTS Git: Extend the git command line to speed up your workflow–Part 1

Posted on August 25, 2018 by terje — Leave a reply

The most basic Git commands are built into the Visual Studio Team Explorer.   The Team Explorer will cover your basic needs, but once you get beyond that, you will need Continue Reading →

Posted in Git, Visual Studio | Leave a reply

VSIX based Test Adapters to be deprecated in Visual Studio for C# and Visual Basic to speed up testing

Posted on July 8, 2018 by terje — Leave a reply

Test Adapters come in two flavors, VSIX based and Nuget based. The VSIX based are installed as extensions to Visual Studio and therefore will apply to all solutions you load, Continue Reading →

Posted in NUnit, Unit Testing, Visual Studio | Leave a reply

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

Posted on June 12, 2018 by terje — Leave a reply

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 Continue Reading →

Posted in Azure DevOps, Build, Code, Git, NuGet, NUnit, Testing, Visual Studio, VSTS | Leave a reply

Recommended extensions for Visual Studio 2017

Posted on March 22, 2018 by terje — 1 Comment ↓

It is time to reestablish my list of recommended VSIX extensions to Visual Studio, for 2017 and higher.   The list of tools you install now with VSIX is less than Continue Reading →

Posted in Extensions, Visual Studio | Tagged Markdown, NDepends, NUnit, Resharper, Runsettings | 1 Comment ↓

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

Posted on February 5, 2018 by terje — Leave a reply

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) Continue Reading →

Posted in Azure DevOps, Branching, Build, Pull Requests, Testing, Unit Testing, VSTS | Leave a reply

Post navigation

← Older posts
Newer posts →

Subscribe to news

Loading

Notes

  • Nuget locations

    Caches On Windows:
    %LocalAppData%\NuGet\Cache
    %UserProfile%\.nuget\packages
    To clear: nuget locals all --clear
    Feed url: https://api.nuget.org/v3/index.json

    Docs

  • Test logging

    VSTest
    NUnitAdapter, use runsettings

    VSTest logs

  • Powershell policy

    From admin prompt:
    Start powershell:
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

  • Dot net sdks

    https://www.microsoft.com/net/download/visual-studio-sdks

  • Avoid adding framework to outputpath in new csproj format

    Add this tag to the initial propertygroup
    AppendTargetFrameworkToOutputPath
    Set value to false

Categories

  • Azure (1)
  • Azure DevOps (17)
  • Azure Devops (2)
  • Bash (1)
  • Branching (2)
  • Build (4)
  • C# (4)
  • Code (5)
  • Code Coverage (1)
  • Code Quality (9)
    • Code Analysis (6)
  • Dependencies (1)
  • dotnet (1)
  • Extensions (9)
  • Git (11)
  • Github (2)
  • IFix (4)
  • Linux (1)
  • none (24)
  • NuGet (7)
  • NUnit (12)
  • Pull Requests (2)
  • Python (1)
  • Resharper (2)
  • Roslyn (1)
  • Testing (6)
  • Uncategorized (15)
  • Unit Testing (9)
  • Visual Studio (35)
  • VSTS (6)
  • Workitems (1)

Recent Posts

  • Debugging the NUnit3TestAdapter – take 2
  • Starting up with C# and .Net Core
  • How to list git repositores under a common folder root
  • How to setup Azure CLI for use with Bash shell in Windows
  • Github Actions, including how to build .Net Framework projects

Links

  • Visual Studio Developer Community
  • NUnit Test Adapter on github
  • Visual Studio Timeline
  • Visual Studio downloads
  • Visual Studio release notes
  • TFS 2017 release notes
  • TFS Feature overview
  • Uservoice: Visual Studio
  • User Voice: Team Services
  • Old Blog
  • Visual Studio Team Services (VSTS)
  • Team Foundation Server (TFS)
  • Visual Studio Devops
  • Visual Studio Learn Git
  • Converting TFSVC to Git
  • New Nuget
  • VSTS Build Custom conditions
  • Azure DevOps Test issue reporting sites
  • MS Developer Blogs
  • C++ FAQ

Archives

  • December 2021
  • June 2020
  • December 2019
  • November 2019
  • June 2019
  • March 2019
  • February 2019
  • January 2019
  • November 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • August 2017
  • April 2017
  • August 2016
  • June 2016
  • April 2016
  • January 2016
  • November 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • February 2014
  • January 2014
  • December 2013
  • October 2013
  • September 2013
  • August 2013
  • April 2013
  • November 2012
  • August 2012
  • June 2012
  • May 2012
  • March 2012
  • November 2011
  • October 2011
  • August 2011
  • May 2011
  • April 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • August 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • October 2009
  • August 2009
  • July 2009
  • April 2009
  • March 2009
  • February 2009
  • December 2008
  • November 2008
  • October 2008

Social

  • View Terje.Sandstrom’s profile on Facebook
  • View OsirisTerje’s profile on Twitter
  • View terjesandstrom’s profile on LinkedIn
  • View OsirisTerje’s profile on GitHub

Recent Comments

  • MartinLeeSpoon on Recommended extensions for Visual Studio 2017
  • Martin Severin Steffensen on How to change test naming in Visual Studio using NUnit
  • Julien Couvreur on How to fix Visual studio loading errors, using IFix
  • Rob Prouse on How to fix Visual studio loading errors, using IFix
  • Josh on How to exclude code from Code Coverage in Visual Studio unit testing using runsettings

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

RSS

  • RSS - Posts
Copyright © 2022 Terje Sandstrom All Rights Reserved.
Theme: Catch Evolution by Catch Themes