Search code examples
c#.net-coremstest

How to fix 'Microsoft.NETCore.App', version '1.1.2' was not found?


I am seeing this error when I try to run unit tests:

Testhost process exited with error: It was not possible to find any compatible framework version The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found. - Check application dependencies and target a framework version installed at: \ - Alternatively, install the framework version '1.1.2'.

How to fix it?


Solution

  • Installing DotNetCore.1.0.5_1.1.2-WindowsHosting solved the problem for me and my collegues.