在64位计算机上以32位运行C#应用程序 [英] Running a C# application as 32-bit on a 64-bit machine
本文介绍了在64位计算机上以32位运行C#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何强制我的应用程序在64位计算机上以32位运行?
How do I force my application to run as 32-bit on a 64-bit machine?
代码用C#编写。
推荐答案
右键单击您的项目,然后选择属性。
Right click your project, and select properties.
在属性中,选择构建选项卡。在平台目标下,选择x86。
In properties, select the build tab. Under platform target, select x86.
命中 Ctrl + Shift + S 至保存所有文件,右键单击解决方案,然后选择清除以清除旧的二进制文件。之后的所有构建都应该是32位
Hit Ctrl+Shift+S to save all files, right click the solution and select "Clean" to get rid of old binaries. Any builds after that should be 32 bit
这篇关于在64位计算机上以32位运行C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文