.net – NUnit 3.2.1 + TeamCity: Could not load file or assembly ‘nunit.framework’ – Stack Overflow

21 down vote I had the same problem with TeamCity 10.0.1 (build 42078) and NUnit 3.4.1. And it turned out to be completely my fault. I’m posting it here as someone else can stumble into the same problem and this can save them some time. It turned out that the problem was in the “Run tests from: ” setting in my build configuration. I had **\*.Test.dll. That was accidentally picking up dlls for \obj\**\ directories (where there is no nunit.framework.dll present). Once I changed the setting to **\bin\%Bui

Source: .net – NUnit 3.2.1 + TeamCity: Could not load file or assembly ‘nunit.framework’ – Stack Overflow

Cashew: A simple and elegant yet powerful HTTP client cache for .NET

A simple and elegant yet powerful HTTP client cache for .NET

Cashew

Cashew is a .NET library for caching responses easily with an HttpClient through an API that is simple and elegant yet powerful. There’s support out of the box for the awesome CacheManager via the Cashew.Adapters.CacheManager package. Its aim is to focus on the HTTP part of caching and not worrying about how stuff is stored, meaning no half-arsed cache implementations!

Cashew targets .NET 4.5 and .NET Standard 1.1 (.NET Core, Mono, Xamarin.iOS, Xamarin.Android, UWP and more) meaning it can be used on all sorts of devices.

Source: joakimskoog/Cashew: A simple and elegant yet powerful HTTP client cache for .NET

ReportUnit – xml testresult to html dashboard tool

ReportUnit is a report generator for the test-runner family. It uses stock reports from NUnit, MSTest and Gallio and converts them into attractive HTML reports with dashboards.

Works with nUnit 3.x as well.

Nuget: https://www.nuget.org/packages/ReportUnit/

Github: https://github.com/reportunit/reportunit

Visual Studio Toolkit – Visual Studio 2015/2017 Extension

Great small extension for the following functionality:

  • Select 2 files in Solution Explorer, right click and new menu option at the top “Compare files”.
  • Right click solution or a project, new menu option at the top “Edit Solution/Project file”
  • Locate File in Solution Explorer / Source Control explorer (right click menu on tab in code edit window)

Source: Visual Studio Toolkit – Visual Studio Marketplace

How to recover lost Chrome bookmarks after sync

In the %userprofile%+AppData\Local\Google\Chrome\User Data\Default
folder in Windows, there is a file called Bookmarks -> replace it with the Bookmarks.bak or use windows file history function.

(Backup bookmarks.bak before as well)

More info here:
How can I restore bookmarks after sync – Google Product Forums

https://superuser.com/questions/480670/undo-google-sync-in-chrome

LiteDB – A .NET NoSQL Document Store in a single data file – CodeProject

A simple, fast and free embedded .NET NoSQL Document Store in a single data file. Inspired on MongoDB, supports collections, POCO classes, Bson Documents, indexes, stream data, ACID transactions and LINQ expressions.

Introduction

This article is an overview about my database project LiteDB – a small, fast and free embedded .NET NoSQL Document Store for .NET in a single datafile – and now it’s on new version 2.0

Source: LiteDB – A .NET NoSQL Document Store in a single data file – CodeProject

Visual Studio Window Title Changer Extension

https://marketplace.visualstudio.com/items?itemName=IstvanPasztor.VisualStudioWindowTitleChanger

Changes the Visual Studio Window Title by evaluating a user defined expression. Extremely helpful when working with multiple branches of the same project.

Script I use to see current branch in TFS (path) or GIT (git branch) in title:

if( sln_open ) {
if (exec git_branch 2 "git rev-parse --abbrev-ref HEAD" sln_dir) {
//GIT
sln_filename + (exec git_branch 2 "git rev-parse --abbrev-ref HEAD" sln_dir ? " - git["+git_branch+"]" + " - Visual Studio 2015")
} 
else 
{ 
//TFS or Standard project
sln_filename + " - (" + sln_dir +")" + " - " + "Visual Studio 2015"
} 
}
else {
//No solution open
"Visual Studio 2015"
}