“首选32位”是什么意思? Visual Studio(C#,VB)的编译器标志意味着什么? [英] What does the "Prefer 32-bit" compiler flag mean for Visual Studio (C#, VB)?

查看:329
本文介绍了“首选32位”是什么意思? Visual Studio(C#,VB)的编译器标志意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅安装了Visual Studio 11开发人员预览版。在编译具有指定AnyCPU目标的托管(C#,VB)应用程序时,我在项目属性中看到一个名为首选32位的新选项。对于顶级库,这似乎不是类库的选项。

Just got the Visual Studio 11 developer preview installed. I see a new option in the project properties called "Prefer 32-bit" when compiling a managed (C#, VB) application with the AnyCPU target specified. This doesn't appear to be an option for class libraries, just top-level apps.

此标志表示什么?

推荐答案

它可能表示app是AnyCpu,但是当32位可用时,应按此方式运行。这很有意义-64位应用程序使用更多的内存,有时您只是不需要内存空间;)

It likely indicates the app is AnyCpu but when 32 bit is available it shouold run as such. This makes sense - 64 bit apps use more memory, and sometimes you just dont need the memory space ;)

这篇关于“首选32位”是什么意思? Visual Studio(C#,VB)的编译器标志意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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