CsWinRT
CsWinRT copied to clipboard
cswinrt.exe fails on certain -exclude filters
Describe the bug The bug is an "invalid comparator" in the sorting of include/excludes, done at the start of cswinrt.exe
To Reproduce Build cswinrt vcxproj for Debug, and call it on an .rsp file like this: cswinrt.txt
Note, this "rsp" file has two fake namespaces Windows.UI.JJJJ and Windows.UI.MMMM. Debugging into the cswinrt tool will show that JJJJ is a known "exclude" but it will lose track of MMMM, and instead of a blank "include"; blank meaning the namespace is ""
Expected behavior CsWinRT tool generates projection
Version Info 1.3.3
Potential bug in our comparator when left hand side and right hand side are equal. It should return false I think in that scenario, but for excludes it can return true.