I have multiple profiles in my launchSettings.json file that each set the same environment variable to the same value.
Example of current setup:
"profiles": {
"IIS Express": {
...
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"COMMON_VARIABLE_ONE": "1",
"COMMON_VARIABLE_TWO": "2"
}
},
"ExampleProfile": {
...
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"COMMON_VARIABLE_ONE": "1",
"COMMON_VARIABLE_TWO": "2"
}
}
Is there a way that these can be set such that I don't need to repeat setting the variable for each profile?