Project not selected to build for this solution configuration

If you get the following error when building your project it’s probably because the project is not configured to build in the configuration manager of the setup project:

Project ‘xxx’ not selected to build for this solution configuration “Release|Mixed Platforms”

The solution is as follows:

  • Right Click on the setup project and open ‘Properties’
  • Click on the ‘Configuration Manager’ button (top right)
  • Check that the required projects are all set to be built in both ‘Debug’ and ‘Release’ options
  • Save the options and rebuild