Specifying a Target Platform

You can specify a target platform for a Microsoft Visual Studio* solution or an individual project within a solution.

  1. Select a solution or project in the Solution Explorer.
  2. Select Build > Configuration Manager.
    • Use the Active solution platform drop-down list to specify the target platform for the whole solution.
    • Use the Platform column to specify the target platform for an individual project within a solution.
  3. Select <New...> on the Active solution platform drop-down menu to add a platform to the current list of active solution platforms.
  4. Select or type a new platform in the New Solution Platform dialog box.
  5. In Copy settings from choose a platform to use as a template or choose <Empty>.
  6. If you want the platform to be set for the projects within the solution, select Create new project platforms. Click OK.
  7. Close the Configuration Manager.

Note

You can also change target platforms from the Microsoft Visual Studio* toolbar by selecting a platform from the Solution Platforms drop-down selection.

Removing Target Platforms

You can remove a target platform from the Configuration Manager:

  1. Select <Edit...> from the Active solution platform list of options.
  2. In the Edit Solutions Platforms dialog that opens, select a platform and click Remove.
  3. Click Yes in the confirmation box.
Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.