如何修复“Microsoft.NETCore.App",未找到“1.1.2"版本? [英] 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 进程因错误退出:无法找到任何兼容框架版本 指定框架找不到Microsoft.NETCore.App",版本1.1.2".- 检查应用程序依赖项并定位安装在以下位置的框架版本:- 或者,安装框架版本1.1.2".
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'.
如何解决?
推荐答案
安装 DotNetCore.1.0.5_1.1.2-WindowsHosting为我和我的同事解决了这个问题.
Installing DotNetCore.1.0.5_1.1.2-WindowsHosting solved the problem for me and my collegues.
这篇关于如何修复“Microsoft.NETCore.App",未找到“1.1.2"版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!