我可以使用Windows XP或7最新的.NET框架?可以使用、框架、最新、XP

2023-09-05 00:05:47 作者:白衣酒客?

我开发必须运行在Windows XP上,7,8(台式机模式)的应用程序。我可以使用哪些版本的.NET的?

I'm developing an application that must run on Windows XP,7,8 (desktop mode). Which version of .net can I use?

如果这个版本不是XP或Windows 7的默认组成部分,它是一个好主意,包括它在我的应用程序安装?

If this version is not a default part of XP or Windows 7, is it a good idea to include it in my application installer?

推荐答案

您可以使用.NET的Windows XP上的最新版本(在写作的时候)。

.NET 4.5不支持XP。 系统要求.NET 4.5 。

.NET 4.5 is not supported on XP. System requirements for .NET 4.5.

.NET 4.0支持XP。

.NET 4.0 is supported on XP.

您应该期望有安装时,你虽然安装应用程序的框架。该 dotNetInstaller 有利于本(尽管还有其它的方法也是如此)。

You should expect to have to install the framework when you install your application though. The dotNetInstaller is good for this (although there are other ways too).

有可能是在需要的Windows比XP / Vista / 7系统等更高版本的.NET Framework中的某些类或方法,但你必须检查这些案件逐案。

There may well be certain classes or methods in the .NET framework that require a higher version of Windows than XP/Vista/7 etc. But you will have to check these case-by-case.