1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

Fixed problems from RESharper report

Updated validation.yml
This commit is contained in:
Michael Gordeev
2020-03-14 11:22:05 +03:00
parent bd53cd68d0
commit 3962591430
4 changed files with 6 additions and 5 deletions
+1
View File
@@ -20,5 +20,6 @@
<Setter Property="Margin" Value="2"/> <Setter Property="Margin" Value="2"/>
</Style> </Style>
<Color x:Key="SystemAccentColor">#ff8000</Color> <Color x:Key="SystemAccentColor">#ff8000</Color>
<SolidColorBrush x:Key="SystemAccentColorBrush" Color="#ff8000" />
</Application.Resources> </Application.Resources>
</Application> </Application>
@@ -9,7 +9,7 @@
Loaded="Page_Loaded"> Loaded="Page_Loaded">
<Page.TopAppBar> <Page.TopAppBar>
<CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColor}" RequestedTheme="Dark"> <CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColorBrush}" RequestedTheme="Dark">
<CommandBar.Content> <CommandBar.Content>
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
@@ -12,7 +12,7 @@
</Page.Background> </Page.Background>
<Page.TopAppBar> <Page.TopAppBar>
<CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColor}" RequestedTheme="Dark"> <CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColorBrush}" RequestedTheme="Dark">
<CommandBar.Content> <CommandBar.Content>
<TextBlock x:Uid="appName" Text="GUT.Schedule" Style="{StaticResource TitleTextBlockStyle}" Margin="10,6"/> <TextBlock x:Uid="appName" Text="GUT.Schedule" Style="{StaticResource TitleTextBlockStyle}" Margin="10,6"/>
</CommandBar.Content> </CommandBar.Content>
@@ -115,7 +115,7 @@
<TextBlock x:Uid="titleNote" Style="{StaticResource CaptionTextBlockStyle}" Text="note"/> <TextBlock x:Uid="titleNote" Style="{StaticResource CaptionTextBlockStyle}" Text="note"/>
<TextBlock Foreground="Red" Visibility="Collapsed" Text="Error" x:Name="errorPlaceholder"/> <TextBlock Foreground="Red" Visibility="Collapsed" Text="Error" x:Name="errorPlaceholder"/>
<Button x:Uid="addScheduleButton" Content="Add schedule" Background="{StaticResource SystemAccentColor}" Foreground="White" FontWeight="Bold" Margin="0,10" Click="Export"/> <Button x:Uid="addScheduleButton" Content="Add schedule" Background="{StaticResource SystemAccentColorBrush}" Foreground="White" FontWeight="Bold" Margin="0,10" Click="Export"/>
<TextBlock x:Uid="copyrights" Style="{StaticResource CaptionTextBlockStyle}" Text="©2020 Michael Gordeev, INS, ICT-907"/> <TextBlock x:Uid="copyrights" Style="{StaticResource CaptionTextBlockStyle}" Text="©2020 Michael Gordeev, INS, ICT-907"/>
<TextBlock Style="{StaticResource CaptionTextBlockStyle}" Text="v$(Build.BuildNumber) (ci-id #$(Build.BuildId))" x:Name="version"/> <TextBlock Style="{StaticResource CaptionTextBlockStyle}" Text="v$(Build.BuildNumber) (ci-id #$(Build.BuildId))" x:Name="version"/>
@@ -123,7 +123,7 @@
</Grid> </Grid>
</ScrollViewer> </ScrollViewer>
<Grid Background="{StaticResource SystemAccentColor}" x:Name="loading" Visibility="Collapsed"> <Grid Background="{StaticResource SystemAccentColorBrush}" x:Name="loading" Visibility="Collapsed">
<StackPanel VerticalAlignment="Center"> <StackPanel VerticalAlignment="Center">
<ProgressRing Width="100" Height="100" Foreground="White" IsActive="True" HorizontalAlignment="Center"/> <ProgressRing Width="100" Height="100" Foreground="White" IsActive="True" HorizontalAlignment="Center"/>
<TextBlock Style="{StaticResource TitleTextBlockStyle}" x:Name="status" Text="Processing..." HorizontalAlignment="Center" Foreground="White" Margin="0,20"/> <TextBlock Style="{StaticResource TitleTextBlockStyle}" x:Name="status" Text="Processing..." HorizontalAlignment="Center" Foreground="White" Margin="0,20"/>
+1 -1
View File
@@ -40,7 +40,7 @@ steps:
- task: VSBuild@1 - task: VSBuild@1
displayName: 'Build UWP' displayName: 'Build UWP'
inputs: inputs:
platform: '$(buildPlatform)' platform: 'x64'
solution: '**/**.UWP.csproj' solution: '**/**.UWP.csproj'
configuration: '$(buildConfiguration)' configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(outputDirectory)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload' msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(outputDirectory)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'