How to fix 'Microsoft.NETCore.App', versio

2019-02-02 13:15发布

问题:

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?

回答1:

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



回答2:

The error tells you that you need to download Microsoft.NETCore.App, version 1.1.2 you can install it through this link.