将Console App编译为32位 [英] Compile Console App as 32 bit

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

问题描述

我有一个Windows控制台应用程序,需要将其编译为32位。它是用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.

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

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