What does the Visual Studio “Any CPU” target mean?

后端 未结 8 1149
栀梦
栀梦 2020-11-22 05:05

I have some confusion related to the .NET platform build options in Visual Studio 2008.

What is the \"Any CPU\" compilation target, and what sort of files does it ge

8条回答
  •  感动是毒
    2020-11-22 05:41

    I recommend reading this post.

    When using AnyCPU, the semantics are the following:

    • If the process runs on a 32-bit Windows system, it runs as a 32-bit process. CIL is compiled to x86 machine code.
    • If the process runs on a 64-bit Windows system, it runs as a 32-bit process. CIL is compiled to x86 machine code.
    • If the process runs on an ARM Windows system, it runs as a 32-bit process. CIL is compiled to ARM machine code.

提交回复
热议问题