Open DalekBaldwin opened 2 months ago
Addendum: It seems this occurs only when using an actual argument value argument twice, like -graphBuild:True -graphBuild:True
. When using the no-argument variant twice, -graphBuild -graphBuild
, no error occurs.
Issue Description
For ordinary MSBuild command-line arguments, redundant arguments are accepted (for instance, setting defaults in Directory.Build.rsp and overriding them at the command line). But if
-graphBuild
is specified more than once, an error occurs.Steps to Reproduce
dotnet msbuild -t:Build -graphBuild:True -graphBuild:True MyProj.csproj
Expected Behavior
Argument override is accepted.
Actual Behavior
Analysis
No response
Versions & Configurations
dotnet: 8.0.304 MSBuild: 17.10.4.21802