查看.Net Framework的版本(PC和WinCE)

一、在电脑上查看.Net Framework的版本

(1)第一步: 打开“我的电脑“,在地址栏输入 %systemroot%\Microsoft.NET\Framework

第二步:从列出来的文件夹中,我们可以看到v1.0.3705   v2.0.50727   v3.0 v3.5

而这些目录显示的最高版本号即本机Microsoft .NET Framework 版本号,也就是3.5的。

如果你最高版本的目录只有v2.0.50727   那就是本地只有安装.net framework2.0 

如图:

 (2)在浏览器中,输入 javascript:alert(navigator.userAgent);

看.NET CLR 后面带的版本号最高到哪个数字,显示的最高就是

.NET CLR 3.5.xxxx 那就可以确定是安装了.NET Framework 3.5 sp1了

如图:

二、在WinCE上查看.Net Compact Framework的版本

打开“我的设备”,进入“Windows”文件夹,双击“cgacutil.exe”,可以查看.Net Compact Framework,

如图:

如果“cgacutil.exe”不存在,则需要在“查看”——“选项”菜单中,将“隐藏受保护的操作系统文件(推荐)”这个菜单的复选框去掉。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Paperback: 1625 pages Publisher: Apress; 7th ed. 2015 edition (January 1, 2016) Language: English ISBN-10: 1484213335 ISBN-13: 978-1484213339 This new 7th edition of Pro C# 6.0 and the .NET 4.6 Platform has been completely revised and rewritten to reflect the latest changes to the C# language specification and new advances in the .NET Framework. You'll find new chapters covering all the important new features that make .NET 4.6 the most comprehensive release yet, including: A Refined ADO.NET Entity Framework Programming Model Numerous IDE and MVVM Enhancements for WPF Desktop Development Numerous updates to the ASP.NET Web APIs This comes on top of award winning coverage of core C# features, both old and new, that have made the previous editions of this book so popular. Readers will gain a solid foundation of object-oriented development techniques, attributes and reflection, generics and collections as well as numerous advanced topics not found in other texts (such as CIL opcodes and emitting dynamic assemblies). The mission of this book is to provide you with a comprehensive foundation in the C# programming language and the core aspects of the .NET platform plus overviews of technologies built on top of C# and .NET (ADO.NET and Entity Framework, Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), ASP.NET (WebForms, MVC, WebAPI).). Once you digest the information presented in these chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore the .NET universe on your own terms. What you’ll learn Be the first to understand the .NET 4.6 platform and C# 6. Discover the ins and outs of the leading .NET technology. Learn from an award-winning author who has been teaching the .NET world since version 1.0. Find complete coverage of XAML, .NET 4.6 and Visual Studio 2015 together with discussion of the new Windows Runtime. Who this book is for This book is perfect for anyone who is interested in the new .NET Framework 4.6 and the C# language. Whether you are moving to .NET for the first time or are already writing applications using previous .NET versions, this book will provide you with a comprehensive grounding in the new technology and serve as a complete reference throughout your coding career.
### 回答1: 查看.NET Framework版本的方法有多种,以下是其中几种常用的方法: 1. 通过控制面板查看:打开控制面板,选择“程序和功能”,在列表中找到.NET Framework,可以看到已安装的.NET Framework版本号。 2. 通过注册表查看:打开注册表编辑器,找到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP,可以看到已安装的.NET Framework版本号。 3. 通过命令行查看:打开命令提示符,输入命令“reg query HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP”,可以看到已安装的.NET Framework版本号。 以上是几种常用的查看.NET Framework版本的方法,可以根据自己的需求选择适合的方法。 ### 回答2: Java版本 .NET Framework 和 Java 是两个非常流行的开发框架。虽然它们都是用于开发跨平台应用程序的,但它们之间有很多显著的区别,其中一个最重要的区别就是它们的版本控制。 .NET Framework 是由微软开发的,主要用于开发 Windows 应用程序。它的版本号从 1.0 到 4.8,每个版本都提供了新的功能和改进。不同版本.NET Framework 之间有一些不兼容性,因此,在开发和部署应用程序时,必须使用最适合你的应用程序的版本。 Java 是由 Oracle 公司开发的,也是一个跨平台的框架。Java 版本控制具有相同的方式,从 Java SE 1.0 到 Java SE 15 等版本都提供了新的功能和改进。不同版本的 Java 之间也有一些不兼容性,因此,在开发和部署 Java 应用程序时,必须使用最适合应用程序的版本。 在查看 .NET Framework 和 Java 的版本时,可以使用操作系统提供的工具或在 Visual Studio 或 Eclipse 等开发环境中查看。可以在控制面板 > 程序和功能中找到 Windows 中安装的 .NET Framework 版本。在 Java 中,可以在命令行中输入 “java -version” 命令查看安装的版本。 总之,选择正确的 .NET Framework 和 Java 版本对于开发和部署应用程序非常重要。通过使用最适合你的应用程序的版本,可以确保应用程序正常运行,并且可以利用新的功能和改进。 ### 回答3: 查看.NET Framework版本是开发和调试.NET应用程序时十分重要的步骤。它可以让开发者确定应该使用哪个.NET版本来构建他们的应用程序,以及确保应用程序在正确的版本下运行,从而避免了出现反向兼容性和其他相关的错误。 在Windows操作系统下,查看.NET Framework版本有多种方法。 最简单的方法是通过控制面板找到“程序和功能”选项,然后在已安装的程序列表中查找.NET Framework版本。 这种方法可用于查找Windows自带的.NET Framework版本,例如.NET Framework 3.5和.NET Framework 4.0等。 另一种方法是使用Windows PowerShell命令。 在命令提示符下,输入命令“Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full'”,这将显示已安装的所有.NET Framework版本。 对于.NET Framework 3.5及其早期版本,应该使用不同的注册表键。 此外,在此方法中还可以使用其他查询参数,以获取有关不同.NET Framework版本的详细信息。 此外,对于.NET Core和.NET 5等版本,还可以使用“dotnet --info”命令或通过Visual Studio中的项目属性来查看。 无论是哪种方法,对于开发者而言,能够轻松地查看.NET Framework版本是至关重要的,这将有助于他们编写且兼容性良好的应用程序。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值