msbuild
msbuild copied to clipboard
Support ItemDefinitionGroup in Choose/When
Fixes #5436
Context
Changes Made
There is a significant error in the original Constuctor ProjectItemDefinitionGroupElement(XmlElement xmlElement, ProjectRootElement parent, ProjectRootElement containingProject). The second parameter and third parameter types are the same. Fix the constructor bug and parse ItemDefinationGroup in when and otherwise.
Testing
Add one test SupportItemDefinationGroupInWhenOtherwise()
Notes
Hello, assuming the repo owners would like to take this change, they will ask for unit test coverage too.
Thanks @JaynieBai!