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

后端 未结 8 1101
栀梦
栀梦 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:46

    An AnyCPU assembly will JIT to 64-bit code when loaded into a 64-bit process and 32 bit when loaded into a 32-bit process.

    By limiting the CPU you would be saying: There is something being used by the assembly (something likely unmanaged) that requires 32 bits or 64 bits.

提交回复
热议问题