将控制台应用程序编译为 32 位 [英] Compile Console App as 32 bit

查看:29
本文介绍了将控制台应用程序编译为 32 位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要编译为 32 位的 Windows 控制台应用程序.它是用 C# 编写的,我拥有 Visual Studio 2012 的所有更新.我在这里尝试了几件事,但我从来没有给过 32 位的选项.如何将其编译为 32 位?

I have a Windows Console Application that I need to compile as 32 bit. It's written in C# and I have all the Visual Studio 2012 updates. I've tried following several things on here, but I'm never given an option for 32 bit. How can I compile it as 32 bit?

推荐答案

使用 Visual Studio,您可以针对什么平台.

With Visual Studio you are able to target what platform.

默认情况下,它将在任何 CPU"(读取 32 位或 64 位)上运行,但您可以根据需要指定.在 Project>Properties>Build 下查找并查找Platform Target"属性.

By default it will run on "Any CPU" (read 32 or 64 bit), but you can specify if you desire. Look under Project>Properties>Build and look for the "Platform Target" property.

这篇关于将控制台应用程序编译为 32 位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆