title | description | author | ms.author | manager | ms.date | ms.custom | ms.topic |
---|---|---|---|---|---|---|---|
Creating and Editing Build Configurations |
This article describes creating build configurations in Visual Studio for Mac |
heiligerdankgesang |
dominicn |
dominicn |
03/03/2022 |
video |
how-to |
[!INCLUDE Retirement announcement for Visual Studio for Mac]
Build configurations give you precise control over a build allowing you to create configurations to cater to different testing and distribution situations. You can create build configurations for individual projects or on a solution-wide basis.
You can create new configurations and edit existing ones for both projects and solutions using the Project Options dialog.
Note
This topic applies to Visual Studio for Mac. For Visual Studio on Windows, see How to: Create and edit configurations.
To create a project build configuration, follow these steps:
-
Right-click on the project node and select Options. You can also double-click on the project node to bring up the Project Options dialog.
-
In the Project Options dialog, select Build > Configurations:
-
Select Add to create a new configuration. You can also copy any of the existing configurations.
Once you've created the configuration, you can use the Build section in the Project Options to adapt properties appropriate to your configuration:
To create a solution build configuration, follow these steps:
-
Right-click on the solution node and select Options. You can also double-click on the solution node to bring up the Solution Options dialog.
-
In the Solution Options dialog, select Build > Configurations:
-
Select Add to create a new configuration. You can also copy any of the existing configurations.
Once you've created the configuration, you can use the Build section of the Project Options dialog for each of your projects to adapt properties appropriate to your configuration:
To rename a configuration, select it from the Configuration list by navigating to Build > Configurations in the Project or Solution Options:
Select the Rename button.
Then select OK to confirm.