maui
maui copied to clipboard
[XC] Add file info to exception reports
trafficstars
Description of Change
When the XamlParser throws an exception while executed from XamlC, the file info is missing from the log, and the whole XamlC process fails, so it only reports one issue at a time.
It now logs things like
/Users/sde/Projects/Microsoft/maui/src/Controls/tests/Xaml.UnitTests/Issues/Maui21038.xaml(8,10): XamlC error : 'Label.Text' is a duplicate property name. [/Users/sde/Projects/Microsoft/maui/src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj]
Issues Fixed
Fixes #21038
@StephaneDelcroix Could you rebase? Thanks in advance.