maui icon indicating copy to clipboard operation
maui copied to clipboard

[XC] Add file info to exception reports

Open StephaneDelcroix opened this issue 1 year ago • 1 comments
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 avatar Oct 17 '24 21:10 StephaneDelcroix

@StephaneDelcroix Could you rebase? Thanks in advance.

jsuarezruiz avatar Oct 23 '24 09:10 jsuarezruiz