File tree Expand file tree Collapse file tree 6 files changed +20
-19
lines changed Expand file tree Collapse file tree 6 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 11# SDV - Solution Dependencies Visualiser
22
33![ MIT License] ( https://img.shields.io/github/license/AndriiLab/SDV )
4- ![ .NET Core 8 .0] ( https://img.shields.io/badge/.net%20core-8 .0-blue )
4+ ![ .NET Core 9 .0] ( https://img.shields.io/badge/.net%20core-9 .0-blue )
55![ Last Commit] ( https://img.shields.io/github/last-commit/AndriiLab/SDV )
66![ Last release] ( https://img.shields.io/github/release-date/AndriiLab/SDV )
77
@@ -36,7 +36,7 @@ But you can also check functional output demo [here](https://andriilab.github.io
3636## Prerequisites
3737
3838- Windows platform (only supported for now by GUI)
39- - [ .NET 8 ] ( https://dotnet.microsoft.com/en-us/download/dotnet/8 .0 )
39+ - [ .NET 9 ] ( https://dotnet.microsoft.com/en-us/download/dotnet/0 .0 )
4040
4141## Installation
4242
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >WinExe</OutputType >
5- <TargetFramework >net8 .0-windows</TargetFramework >
5+ <TargetFramework >net9 .0-windows</TargetFramework >
66 <Nullable >enable</Nullable >
77 <UseWPF >true</UseWPF >
8- <Version >1.0.4 </Version >
8+ <Version >1.0.5 </Version >
99 <LangVersion >default</LangVersion >
1010 </PropertyGroup >
1111
1212 <ItemGroup >
13- <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 8 .0.0 " />
14- <PackageReference Include =" Serilog.Extensions.Logging" Version =" 8 .0.0" />
13+ <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 9 .0.3 " />
14+ <PackageReference Include =" Serilog.Extensions.Logging" Version =" 9 .0.0" />
1515 </ItemGroup >
1616
1717 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
7- <Version >1.0.4 </Version >
7+ <Version >1.0.5 </Version >
88 <LangVersion >default</LangVersion >
99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 8 .0.0 " />
13- <PackageReference Include =" NuGet.Packaging" Version =" 6.10.1 " />
12+ <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 9 .0.3 " />
13+ <PackageReference Include =" NuGet.Packaging" Version =" 6.13.2 " />
1414 </ItemGroup >
1515
1616</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
7- <Version >1.0.4</Version >
7+ <Version >1.0.5</Version >
8+ <LangVersion >default</LangVersion >
89 </PropertyGroup >
910
1011 <ItemGroup >
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ namespace SDV.GraphGenerator.Services.Models;
55
66public class GraphProject
77{
8- public GraphPackage Package { get ; init ; }
9- public Dictionary < string , GraphEdge > Edges { get ; init ; } = new ( ) ;
8+ public required GraphPackage Package { get ; init ; }
9+ public Dictionary < string , GraphEdge > Edges { get ; } = new ( ) ;
1010}
1111
1212public class GraphPackage
1313{
14- [ JsonPropertyName ( "id" ) ] public string Id { get ; init ; }
14+ [ JsonPropertyName ( "id" ) ] public required string Id { get ; init ; }
1515
16- [ JsonPropertyName ( "label" ) ] public string Label { get ; set ; }
16+ [ JsonPropertyName ( "label" ) ] public required string Label { get ; set ; }
1717
1818 [ JsonPropertyName ( "type" ) ] public string Type => TypeInternal . HasFlag ( DependencyType . Project ) ? DependencyType . Project . ToString ( ) : DependencyType . Package . ToString ( ) ;
1919
@@ -25,11 +25,11 @@ public class GraphPackage
2525
2626public class GraphEdge
2727{
28- [ JsonPropertyName ( "from" ) ] public string From { get ; init ; }
28+ [ JsonPropertyName ( "from" ) ] public required string From { get ; init ; }
2929
30- [ JsonPropertyName ( "to" ) ] public string To { get ; init ; }
30+ [ JsonPropertyName ( "to" ) ] public required string To { get ; init ; }
3131
32- [ JsonPropertyName ( "label" ) ] public string Label { get ; set ; }
32+ [ JsonPropertyName ( "label" ) ] public required string Label { get ; set ; }
3333
3434 [ JsonPropertyName ( "multipleVersions" ) ] public bool HasMultipleVersions { get ; set ; }
3535}
You can’t perform that action at this time.
0 commit comments