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

心已入冬 提交于 2019-12-12 07:10:35

问题


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.




回答3:


for me the solution was to install dotnet core 1.1.2.. I had to install the mac version.

https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.2-download.md



来源:https://stackoverflow.com/questions/47349608/how-to-fix-microsoft-netcore-app-version-1-1-2-was-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!