Build Configuration: Mixed Platform VS Any CPU

后端 未结 4 2023
遥遥无期
遥遥无期 2020-12-23 14:04

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

4条回答
  •  温柔的废话
    2020-12-23 15:01

    As other platform already explained. (i.e. X86 for 32 bit, x64 is for 64bit only, and 'Any CPU' can run in Both). I'll concentrate on Mixed Platform and how this different from Any CPU.

    The Any CPU is at the project level setting, where as in real world solution we have number of projects under one solution, and their are chances that some of my project use Any CPU, but others uses the x86 or x64 build platform.

    So at solution level automatically Mixed Platform will be selected. this indicates that during Build/Rebuild solution each project build based on their selected platform.

提交回复
热议问题