Analyze xaml files


(Fran├žois-Karim Laben) #1

Hi,

I have a project with xaml view. I want to check that some properties are set in widgets with a xpath query. Is sonar-scaner-msbuild able to check theses xaml files? I would like to check it with a specific rule.

Thank you,
Best regards


(G Ann Campbell) #2

Hi,

This is slightly apples-and-oranges. You use the scanner to run analysis. Analysis may or may not include .xaml files. SonarXML, which is shipped by default, inclues an XPath rule template which should allow you to set up the checks you want.

Ann