Skip to content

Commit

Permalink
Utilities: PathMaker: Set Central package management - Update NugetPa…
Browse files Browse the repository at this point in the history
…ckages
  • Loading branch information
Xian55 committed Sep 9, 2024
1 parent 3da252f commit 3944b0d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Utilities/PathMaker/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
</Project>
3 changes: 1 addition & 2 deletions Utilities/PathMaker/PathMaker/PathMaker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Utilities/PathMaker/PathMaker/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private static Vector2[] SortByNextClosesDistance(List<Vector2> nodes)
}
}

return output.ToArray();
return [.. output];
}

}
Expand Down

0 comments on commit 3944b0d

Please sign in to comment.