From 3944b0d76c0a9e9e9a803b1af79f01bf0974bc06 Mon Sep 17 00:00:00 2001 From: Xian55 <367101+Xian55@users.noreply.github.com> Date: Tue, 10 Sep 2024 01:54:32 +0200 Subject: [PATCH] Utilities: PathMaker: Set Central package management - Update NugetPackages --- Utilities/PathMaker/Directory.Packages.props | 9 +++++++++ Utilities/PathMaker/PathMaker/PathMaker.csproj | 3 +-- Utilities/PathMaker/PathMaker/Program.cs | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 Utilities/PathMaker/Directory.Packages.props diff --git a/Utilities/PathMaker/Directory.Packages.props b/Utilities/PathMaker/Directory.Packages.props new file mode 100644 index 000000000..4ef0dbecc --- /dev/null +++ b/Utilities/PathMaker/Directory.Packages.props @@ -0,0 +1,9 @@ + + + net9.0 + true + + + + + \ No newline at end of file diff --git a/Utilities/PathMaker/PathMaker/PathMaker.csproj b/Utilities/PathMaker/PathMaker/PathMaker.csproj index 5d4a7a3c9..dc52954a9 100644 --- a/Utilities/PathMaker/PathMaker/PathMaker.csproj +++ b/Utilities/PathMaker/PathMaker/PathMaker.csproj @@ -2,11 +2,10 @@ Exe - net7.0 - + diff --git a/Utilities/PathMaker/PathMaker/Program.cs b/Utilities/PathMaker/PathMaker/Program.cs index f26b0eac5..c304a517a 100644 --- a/Utilities/PathMaker/PathMaker/Program.cs +++ b/Utilities/PathMaker/PathMaker/Program.cs @@ -57,7 +57,7 @@ private static Vector2[] SortByNextClosesDistance(List nodes) } } - return output.ToArray(); + return [.. output]; } }