msbuild-project-tools-vscode
msbuild-project-tools-vscode copied to clipboard
Adding a config setting that enables the user to specify / override additional MSBuild toolsets
Example config:
{
"msbuildProjectTools.msbuild.toolsets": {
"15.0": {
"baseDirectory": "C:\\MyToolsetBaseDirectory",
"globalPropertyOverrides": {
"MyProperty": "SomeValue"
}
},
"Current": {
"baseDirectory": "C:\\AnotherToolsetBaseDirectory"
}
}
MSBuild appends the toolset version to the base directory (e.g. 15.0
-> C:\MyToolsetBaseDirectory\15.0
or Current
-> C:\AnotherToolsetBaseDirectory\Current) to find common
.propsand
.targetsfiles. If
15.0or
Current` toolset is specified, then this will (depending on .NET Core SDK version) override the default toolset configuration.
Relates to tintoy/msbuild-project-tools-vscode#46.