构建配置:混合平台 VS 任何 CPU [英] Build Configuration: Mixed Platform VS Any CPU

查看:13
本文介绍了构建配置:混合平台 VS 任何 CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不同的构建配置设置有什么区别,例如Visual Studio 中的任何 CPU、混合平台、WIN32 等.

What's the difference between different Build Configuration settings e.g. Any CPU, Mixed Platform, WIN32 etc in Visual Studio.

推荐答案

以下链接有助于解释 Visual Studio 及其构建文件中的构建配置设置:

Here's a link that helps explain the build configuration setting found in Visual Studio and its build files:

http://web.archive.org/web/20151215192101/http://visualstudiohacks.com/articles/visual-studio-net-platform-target-explained/

基本上,该设置说明程序集能够在哪个平台上运行.选择AnyCPU时,将标记为Orform的DLL以便在任何地方运行;选择x86时,标记为能够在32位系统上运行的结果,并且不会在64位应用程序或进程中运行(但将在64位窗口中运行;)等等.

Basically the setting states what platform the assembly is able to run on. When AnyCPU is selected, the resultant DLL is marked as able to run anywhere; when x86 is selected, the resultant DLL is marked as only being able to run on 32-bit systems and will not run in 64-bit applications or processes (but will run in 64-bit Windows;) and so on and so forth.

这只是在已编译的 DLL 上设置标志 - 它根本不会改变编译过程的其他方面.

This just sets flags on the compiled DLL - it does not change other aspects of compilation process at all.

这篇关于构建配置:混合平台 VS 任何 CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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