Add Nuget package version resolver

This commit is contained in:
Matthew Parker [SSW]
2024-05-22 13:43:15 +10:00
parent 38c3f6c8ed
commit 03c55a8190
3 changed files with 78 additions and 23 deletions

View File

@@ -127,6 +127,15 @@
Check for Inconsistent Nuget Package Versions
</TextBlock>
</Button>
<Button Grid.Row="3" Grid.Column="1" MinHeight="100" Padding="10" Margin="5"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
VerticalContentAlignment="Center" HorizontalContentAlignment="Center"
IsEnabled="{Binding SolutionFilePath, Mode=OneWay, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"
Command="{Binding ResolveInconsistentNugetPackageVersionsInSolutionFileCommand}">
<TextBlock TextWrapping="Wrap">
Resolve Inconsistent Nuget Package Versions
</TextBlock>
</Button>
</Grid>
<Label Width="{Binding $parent.Bounds.Width}" Background="{Binding ResultsLabelColor}" HorizontalAlignment="Center" HorizontalContentAlignment="Center" Name="ResultsLabel" Content="{Binding ResultsLabel}"></Label>
</StackPanel>