如何修复"Microsoft.NETCore.App"版本"1.1.2"? [英] How to fix 'Microsoft.NETCore.App', version '1.1.2' was not found?

查看:318
本文介绍了如何修复"Microsoft.NETCore.App"版本"1.1.2"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行单元测试时,我看到此错误:

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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆