简体   繁体   English

默认情况下安装的.NET版本是什么?

[英]What is the .NET version installed by default?

I want to create a very portable app and ideally everybody should be able to use it without the need to install .NET. 我想创建一个非常便携的应用程序,理想情况下,每个人都应该能够使用它而无需安装.NET。 What is the default .NET version used at most not-programmers machines? 大多数非程序员机器上使用的默认.NET版本是什么? Is it .NET2 or .NET1 on Windows XP with SP2 or SP3? 在Windows XP SP2或SP3上是.NET2还是.NET1?

It is depending on the Operating System, and the service packs, if any. 它取决于操作系统和Service Pack(如果有)。

If you're targeting multiple Windows versions, it's inevitable to include .NET in your installation. 如果您要针对多个Windows版本,则不可避免的是在安装中包含.NET。

  • .NET 2.0 comes with Windows XP SP2 .NET 2.0随Windows XP SP2一起提供
  • .NET 3.5 comes with Windows 7 Windows 7随附.NET 3.5

Why don't you bundle the .Net Framework Installer together with your application? 为什么不将.Net Framework Installer与应用程序捆绑在一起?

If the user is up-to-date with the Windows Update, it should have the .Net 3.5. 如果用户是Windows Update的最新用户,则它应具有.Net 3.5。

Windows XP comes without .Net installed. Windows XP未安装.Net。

Version  Version Number Release Date    Default in Windows
1.0      1.0.3705.0      2002-02-13     
1.1      1.1.4322.573    2003-04-24 Windows Server 2003
2.0      2.0.50727.42    2005-11-07 Windows Server 2003 R2
3.0      3.0.4506.30     2006-11-06 Windows Vista, Windows Server 2008
3.5      3.5.21022.8     2007-11-19 Windows 7, Windows Server 2008 R2
4.0      4.0.30319.1     2010-04-12

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM