vb.net .NET 框架,Windows XP
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13347434/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
.NET framework, Windows XP
提问by Mark Jeffords
We have built an app with Visual Studio 2012 and it runs beautifully on any Windows 7 or Vista machine, 32 or 64 bit. However, when I try to run the app on an Win XP machine, I get this:
我们使用 Visual Studio 2012 构建了一个应用程序,它可以在任何 32 位或 64 位 Windows 7 或 Vista 机器上完美运行。但是,当我尝试在 Win XP 机器上运行该应用程序时,我得到以下信息:
**
**
Prerequisite check for system component Microsoft .NET Framework 4.5 (x86 and x64) failed with the following error message:
"Installation of the Microsoft .NET Framework 4.5 is not supported on this operating system. Contact your application vendor."
系统组件 Microsoft .NET Framework 4.5(x86 和 x64)的先决条件检查失败并显示以下错误消息:
“此操作系统不支持安装 Microsoft .NET Framework 4.5。请联系您的应用程序供应商。”
**
**
And then of course, when I try to install .NET 4.5 on the Win XP machine, I find out it's not supported.
当然,当我尝试在 Win XP 机器上安装 .NET 4.5 时,我发现它不受支持。
At this point, I'm just wanting to know what can be done to get this app to run on Win XP. It's a calculator application written in visual basic.
在这一点上,我只想知道可以做些什么来让这个应用程序在 Win XP 上运行。这是一个用visual basic编写的计算器应用程序。
Thanks Guys!
谢谢你们!
采纳答案by Nasreddine
.Net framework 4.5 is not supported in Windows XP. If you're not using any .Net 4.5 features you can rebuild your app using .Net Framework 4 (In the Project properties).
Windows XP 不支持 .Net framework 4.5。如果您不使用任何 .Net 4.5 功能,您可以使用 .Net Framework 4(在项目属性中)重建您的应用程序。


回答by Sam I am says Reinstate Monica
I always hate these kind of answers, but a quick google search indicates that you can't get .net 4.5 to run on Windows XP.
我总是讨厌这些答案,但快速的谷歌搜索表明您无法在 Windows XP 上运行 .net 4.5。
IF you really really need your application to run, you can always use earlier versions of the framework
如果你真的需要你的应用程序运行,你总是可以使用该框架的早期版本
you can do this by
你可以这样做
Right click on your project and go to
右键单击您的项目并转到
- properties
- application
- target framework
- 特性
- 应用
- 目标框架
and change that to something elxe
并将其更改为 elxe

