Solution for .NET error: The type ‘HttpResponseMessage’ exists in both ‘System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ and ‘System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’

Got this error when building a .NET framework (version 4.6.1) solution containing multiple projects:

My solution:
Install System.Net.Http version 4.0.0 as nuget package to the “failing project”.

Added this to the “failing” project app.config file:

Updated the “failing” projects .csproj file like this:
Removed this line or similar for System.Net.Http:

Added “hintpath” with projects relative path to the nuget packages.
In my example its 3 level up and then down (..\..\..) you might need to adjust to your projects folderstructure.

Voila.

Most Complete MSTest Unit Testing Framework Cheat Sheet

 

Source: Most Complete MSTest Unit Testing Framework Cheat Sheet

responsively-app – A modified browser built using Electron that helps in responsive web development.

Website: responsively.app
A modified browser built using Electron that helps in responsive web development.

Features
Mirrored User-interactions across all devices. Customizable preview layout to suit all your needs. One handy elements inspector for all devices in preview. 30+ built-in device profiles with option to add custom devices. One-click screenshot all your devices. Hot reloading supported for developers. Please visit the website to know more about the application – responsively.app
github.com/manojVivek/responsively-app/blob/master/README.md