运行64位计算机上的32位C#应用程序机上、应用程序

2023-09-02 10:51:59 作者:回首闻君叹

如何强制我的应用程序作为32位在64位计算机上运行?

How do I force my application to run as 32 bit on a 64 bit machine?

在code是用C#。

推荐答案

右键单击您的项目,并选择属性。

Right click your project, and select properties.

在属性中,选择生成选项卡。在目标平台,选择86。

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