无法在Visual Studio 2017中加载CLR [英] Unable to load CLR in Visual Studio 2017

查看:886
本文介绍了无法在Visual Studio 2017中加载CLR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"无法加载CLR。如果为调试指定了CLR版本,请检查它是否有效并安装在计算机上。如果问题仍然存在,请通过"控制面板"中的"程序和功能"修复Microsoft .NET Framework安装。"

"Unable to load the CLR. if a CLR version was specified for debugging, check that it was valid and installed on the machine. If the problem persists, please repair your Microsoft .NET Framework installation via 'Programs and Features' in Control Panel."

尝试调试解决方案时出现此错误。我已经尝试了我所知道的一切来修复它。我修复了.NET框架,我卸载并重新安装了所有.NET框架和visual studio。我改变了几个选项,并确保我的解决方案是使用正确的.NET框架
。任何帮助将不胜感激。 

I'm getting this error when trying to debug my solution. I have tried everything I know to fix it. I repaired .NET frameworks, I uninstalled and re-installed all .NET frameworks and visual studio. I changed several options and I made sure my solution was using the right .NET framework. Any help would be appreciated. 

推荐答案

您好,


我猜您选择的是未安装计算机的目标框架。

如果是[.NET Framework 4.7],请检查是否[4.7](SDK或Targeting Pack,不是RunTime)通过程序和功能(在控制面板中)安装。



问候,
Hi,

I guess you choose a Target Framework which is not installed your computer.
If it is [.NET Framework 4.7], please check if [4.7] (SDK or Targeting Pack, not RunTime) is installed via Program and Features (in Control Panel).

Regards,


这篇关于无法在Visual Studio 2017中加载CLR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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