wpf/Documentation/solution-and-project-config...

1.7 KiB

Solution and Project Configuration

Solutions configurations are mapped to Project configurations in the following manner.

Solution Managed Projects Native Projects
Debug|AnyCPU Debug|AnyCPU Debug|Win32
Debug|x86 Debug|AnyCPU Debug|Win32
Debug|x64 Debug|x64 Debug|x64
Release|AnyCPU Release|AnyCPU Release|Win32
Release|x86 Release|AnyCPU Release|Win32
Release|x64 Release|x64 Release|x64
  • AnyCPU solution configuration is intended for developer-builds only.
  • Official build would always specify x86 or x64 solution configurations explicitly.
  • Native projects should map AnyCPU solution-configuration to x86 project configuration
  • Managed projects should map x86 solution-configuration to AnyCPU project configuration
  • Use Solution->Properties->Configuration view to ensure that the mapping between solution-configuration and project configuration is consistent for every possible configuration.
  • Note that packaging projects under nupkg folder have only one (AnyCPU) configuration