[英]VS2012 project x86 target not running on 32 bit Windows XP
I wrote a WPF application using VS2012 on windows 8 computer (x86) and I want it to run on Windows XP x86. 我在Windows 8计算机(x86)上使用VS2012编写了WPF应用程序,并且希望它在Windows XP x86上运行。 When I try to run the program I get error "... is not a valid windows 32 application."
当我尝试运行该程序时,出现错误“ ...不是有效的Windows 32应用程序”。 I've tried change Platform target to x86 and Any CPU,But have the same error.
我试过将Platform target更改为x86和Any CPU,但是有相同的错误。 How can I fix it?
我该如何解决?
Make sure you target .NET 4.0 (not 4.5). 确保以.NET 4.0(而非4.5)为目标。 Also make sure both .NET 4.0 Runtime and Reliability Update 2 have been installed on your XP machine (it must be an XP SP3 machine).
还要确保在XP机器(它必须是XP SP3机器)上已经安装了.NET 4.0 Runtime和Reliability Update 2 。
For C/C++ projects you need to: 对于C / C ++项目,您需要:
You'll need at least VS2012 SP1 installed for that option to be available. 您至少需要安装VS2012 SP1,该选项才可用。 Applications may need msvcrt110.dll .
应用程序可能需要msvcrt110.dll 。
For more details see: http://software.intel.com/en-us/articles/linking-applications-using-visual-studio-2012-to-run-on-windows-xp 有关更多详细信息,请参见: http : //software.intel.com/zh-cn/articles/linking-applications-using-visual-studio-2012-to-run-on-windows-xp
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.