[ci]Fix running xaml styles in CI (#35426)

XAML style checkers aren't running right now in PR CI. This allowed some XAML style errors to cause build errors in release CI.

This PR contains the following fixes:
- Fix XAML style of files that have slipped.
- Add errors to the scripts that depend on dotnet commands if it fails.
- Add .NET 6 on CI so that applyXamlStyling.ps1 and verifyNugetPackages.ps1 run correctly again.
This commit is contained in:
Jaime Bernardo
2024-10-14 14:59:10 +01:00
committed by GitHub
parent 9994fd7715
commit d51ca9f8d4
5 changed files with 18 additions and 11 deletions

View File

@@ -72,10 +72,10 @@
x:Name="pluginsHintsList"
Grid.Row="1"
Margin="16,0,0,0"
Background="Transparent"
BorderBrush="Transparent"
ItemContainerStyle="{StaticResource PluginsListViewItemStyle}"
ItemsSource="{Binding Plugins}"
Background="Transparent"
BorderBrush="Transparent"
PreviewMouseLeftButtonUp="PluginsHintsList_PreviewMouseLeftButtonUp"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Auto"

View File

@@ -32,9 +32,9 @@
<ListView
x:Name="SuggestionsList"
x:FieldModifier="public"
BorderBrush="Transparent"
Background="Transparent"
AutomationProperties.Name="{x:Static p:Resources.Results}"
Background="Transparent"
BorderBrush="Transparent"
ItemsSource="{Binding Results.Results, Mode=OneWay}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Auto"