温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

《CLR Via C#》 如何查看计算机是否安装了.NET Framework及其版本

发布时间:2020-06-19 14:56:47 来源:网络 阅读:910 作者:lsieun 栏目:编程语言

一、 如何查看计算机有没有安装.NET Framework呢?

You can tell if the .NET Framework has been installed by looking for the MSCorEE.dll file in the %SystemRoot%\System32 directory. The existence of this file tells you that the .NET Framework is installed.

《CLR Via C#》 如何查看计算机是否安装了.NET Framework及其版本


二、如何查看计算机上都安装了哪些版本的.NET Framework?

However, several versions of the .NET Framework can be installed on a single machine simultaneously【多个.NET Framework版本可以并存】. If you want to determine exactly which versions of the .NET Framework are installed, examine the subdirectories under the following directories.【在以下位置可以查看.NET Framework版本信息】

%SystemRoot%\Microsoft.NET\Framework 

%SystemRoot%\Microsoft.NET\Framework64

《CLR Via C#》 如何查看计算机是否安装了.NET Framework及其版本


《CLR Via C#》 如何查看计算机是否安装了.NET Framework及其版本

The .NET Framework SDK includes a command-line utility called CLRVer.exe that shows all of the CLR versions installed on a machine【查看.NET Framework版本的另一种方式:CLRVer.exe】. This utility can also show which version of the CLR is being used by processes currently running on the machine by using the –all switch or passing the ID of the process you are interested in.

C:\ProgramFiles (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64下找到了CLRVer.exe文件。

《CLR Via C#》 如何查看计算机是否安装了.NET Framework及其版本



向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI