.Net框架不匹配? [英] .Net Framework Mismatch?

查看:111
本文介绍了.Net框架不匹配?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi,


我在2012R2服务器上运行$ PSVersionTable,对于CLRVersion,它说:4.0.30319.42000

I ran $PSVersionTable on a 2012R2 Server and for CLRVersion it says: 4.0.30319.42000


当我转到注册表项时:HKLM \ SOFTWARE \ Microsoft \ NET Framework Setup \NDP \v4 \Full \ 1033,密钥" ;发布:是461310,当我查找时是".NET Framework 4.7.1" 

When I go to registry key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033, the key "Release: is 461310 which when i look up is ".NET Framework 4.7.1" 


我检查了机器上程序安装的版本没有看到4.7.1。我只看到4,4.5,4.5.1,4.5.2,4.6,4.6.1,4.6.2

I checked installed version from programs on the machine do not see 4.7.1. I only see 4, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2


我安装4.6.2 DEVPack为4.6。 2是我需要的但是当我重新获得$ PSVersionTable时它仍然显示4.0.30319.42000

I installed 4.6.2 DEVPack as 4.6.2 is what I need but when i reran $PSVersionTable its still showing 4.0.30319.42000


我在这里窃听或遗漏了什么?

Am I bugging or missing something here??

推荐答案

嗨Winfanity,

欢迎来到MSDN论坛。

根据您的描述,您的计算机似乎已经安装了.NET Framework 4.7.1。

请检查:

.NET Framework版本和依赖项
和.NET Framework的每个版本都包含公共语言运行库(CLR),基类库和其他托管库。所有.NET Framework 4.0或更高版本包含
CLR版本4 ,因为
  CLR
版本工具(Clrver.exe)
  用于确定计算机上安装了哪些版本的CLR
表示您获得该版本的原因:4.0.30319.42000
,它是CLR版本而不是已安装的.Net Framework版本。

Please check this: .NET Framework versions and dependencies and each version of the .NET Framework contains the common language runtime (CLR), the base class libraries, and other managed libraries. All the .NET Framework 4.0 or higher versions are includes the CLR version 4, since the CLR Version tool (Clrver.exe) is used to determine which versions of the CLR are installed on a computer, that the reason why you got the version: 4.0.30319.42000, it is the CLR version not the installed .Net Framework version.

我在Win 10计算机上进行了测试,请检查结果如下:

最好的问候,

Sara


这篇关于.Net框架不匹配?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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