Xaml Warnings

XamRight logo

XAML Warnings

XamRight catches XAML bugs that otherwise only get caught at runtime.  Unlike C#, XAML does not have as much Intellisense or compiler checking during the build, even with XAML Compilation turned on.

XamRight analyzes XAML pages as soon as they are opened, and will incrementally scan them as you edit, giving you live feedback on your code.  Perform a full scan of your Xamarin solution by selecting the Build > Analyze Solution with XamRight.

XamRight checks for many classes of errors, including XAML syntax errors, binding and markup extension usage errors, and layout related errors.

When checking Binding markup strings, the XamRight analyzer is often able to resolve the BindingContext of the layout to validate the correct usage of properties on the underlying the view model object.

If the “Display inefficient layout warnings” option is turned on (see settings for details), XamRight displays warnings that may not necessarily cause a crash or UI error but may result in slower runtime of your app due to extraneous XAML elements.

Some warnings may not be helpful to you, so XamRight provides an option for suppressing individual warnings in XAML so you can keep your XamRight analysis runs clean.