vscode-extension
vscode-extension copied to clipboard
Shared PolicySettings from appsettings.json
trafficstars
Is is possible to have a set of PolicySettings values that are common across all Environments. If the same setting is declare in a given environment section, it is overridden?
eg:
{
"Defaults" : [{
"PolicySettings" : {
"Setting1" : "Foo",
"Setting2" : "Bar",
... etc
}
]},
"Environments" : [{
"Name" : "Test",
"PolicySettings" : {
"Setting1" : "Alpha",
"Setting3" : "Beta",
.... etc
}
}]
}
So "Setting1" and "Setting2" have a default of "Foo" and "Bar" respectively.
For the environment "Test",
- "Setting1" is "Alpha",
- "Setting2" is "Bar"
- "Setting3" is "Beta"