如何建立在Visual Studio 2010中的64位Visual Basic.NET?Studio、Visual、NET、Basic

2023-09-08 00:57:46 作者:伊人莫相忘

我希望这是一个简单的问题,我刚才忽略了一些地方...

Hopefully this is a simple question and I have just overlooked something somewhere...

我在Windows 7 64位写VB.NET的东西,在VS2010。这似乎建立在默认情况下为32位的目标,我怎么告诉它做一个64位可执行文件?

I am writing VB.NET stuff in VS2010 on Windows 7 64-bit. It seems to build by default for a 32-bit target, how to I tell it to make a 64-bit executable?

我去项目属性 - >编译器 - >高级,但没有在任何地方看到选项

I went to the project properties -> Compiler -> Advanced, but don't see the option anywhere.

呵呵,这是VS2010防爆preSS,是明确的。

Oh, and this is VS2010 Express, to be clear.

推荐答案

这涉及使用配置管理器,它不是项目属性的一部分。

This involves using the Configuration Manager, it's not a part of the project properties.

转到生成菜单,然后单击配置管理器。在活动解决方案平台,单击新建,然后用64为平台增加一个。利用这个平台来编译为64。

Go to the Build Menu, then click Configuration Manager. Under Active solution platform, click New, then add one with x64 as the platform. Use this platform to compile for x64.