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

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

    Any CPU means that it will work on any platform. This is because managed code is similar to Java. Think of it as being compiled to a byte code that is interpreted by the .NET Framework at run-time.

    C++ does not have this option because it is compiled to machine code that is platform specific.

提交回复
热议问题