简体   繁体   English

Visual Studio 2013:适用于Windows XP的Build

[英]Visual Studio 2013: Build for Windows XP

I got a program made in Visual Studio 2013 (C#). 我有一个在Visual Studio 2013(C#)中制作的程序。 I want to build it to XP. 我想把它构建到XP。 If I take the exe in the Debug directory and I run it on XP, I have an error "Is not a valid win32 application". 如果我在Debug目录中获取exe并在XP上运行它,则会出现错误“不是有效的win32应用程序”。 What I have to do to build it for XP? 我要为XP构建它需要做什么?

I got the solution: You got to right-click in the solution name on the Solution Explorer and go to Properties. 我得到了解决方案:您必须右键单击解决方案资源管理器中的解决方案名称,然后转到“属性”。 In there, you can not only change the platform (x64 or x86) but the .NET Framework. 在那里,您不仅可以更改平台(x64或x86),还可以更改.NET Framework。 I downgraded to .Net Framework 4 and worked perfectly! 我降级到.Net Framework 4并且工作得很好!

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

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