From 0cca46b29c8ebc996afc0fa5c1f74fc5984a6eed Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 4 Sep 2026 15:46:44 -0700 Subject: [PATCH] Centralize NuGet package versions Move repository package versions to NuGet Central Package Management while preserving implicit SDK-managed references and resolved dependency graphs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 08cf27ea-d94a-4c4e-9049-20f99dd952b9 --- ComputeSharp.slnx | 1 + Directory.Packages.props | 39 +++++++++++++++++++ .../ComputeSharp.Benchmark.csproj | 4 +- .../ComputeSharp.ImageProcessing.csproj | 2 +- .../ComputeSharp.Sample.FSharp.fsproj | 3 +- .../ComputeSharp.SwapChain.Cli.csproj | 4 +- .../ComputeSharp.SwapChain.D2D1.Cli.csproj | 2 +- .../ComputeSharp.SwapChain.Uwp.csproj | 8 ++-- .../ComputeSharp.SwapChain.WinUI.csproj | 10 ++--- .../ComputeSharp.SwapChain.csproj | 2 +- .../ComputeSharp.CodeFixers.csproj | 2 +- .../ComputeSharp.Core.SourceGenerators.csproj | 2 +- .../ComputeSharp.D2D1.CodeFixers.csproj | 2 +- .../ComputeSharp.D2D1.SourceGenerators.csproj | 4 +- .../ComputeSharp.D2D1.Uwp.CodeFixers.csproj | 2 +- ...puteSharp.D2D1.Uwp.SourceGenerators.csproj | 2 +- .../ComputeSharp.D2D1.Uwp.csproj | 2 +- .../ComputeSharp.D2D1.WinUI.CodeFixers.csproj | 2 +- ...teSharp.D2D1.WinUI.SourceGenerators.csproj | 2 +- .../ComputeSharp.D2D1.WinUI.csproj | 2 +- .../ComputeSharp.D3D12MemoryAllocator.csproj | 2 +- .../ComputeSharp.SourceGenerators.csproj | 4 +- .../ComputeSharp.WinUI.csproj | 2 +- ....D2D1.Tests.AssemblyLevelAttributes.csproj | 2 +- ...teSharp.D2D1.Tests.SourceGenerators.csproj | 10 ++--- .../ComputeSharp.D2D1.Tests.csproj | 8 ++-- ...p.D2D1.WinUI.Tests.SourceGenerators.csproj | 10 ++--- .../ComputeSharp.D2D1.WinUI.Tests.csproj | 14 +++---- .../ComputeSharp.Dxc.NuGet.csproj | 6 +-- .../ComputeSharp.NuGet.csproj | 4 +- .../ComputeSharp.Pix.NuGet.csproj | 6 +-- .../ComputeSharp.Tests.DeviceLost.csproj | 6 +-- ...arp.Tests.DisableDynamicCompilation.csproj | 4 +- .../ComputeSharp.Tests.Internals.csproj | 4 +- ...Sharp.Tests.NativeLibrariesResolver.csproj | 2 +- ...ComputeSharp.Tests.SourceGenerators.csproj | 8 ++-- .../ComputeSharp.Tests.csproj | 10 ++--- 37 files changed, 120 insertions(+), 79 deletions(-) create mode 100644 Directory.Packages.props diff --git a/ComputeSharp.slnx b/ComputeSharp.slnx index ba3178f65..c6de64255 100644 --- a/ComputeSharp.slnx +++ b/ComputeSharp.slnx @@ -107,6 +107,7 @@ + diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 000000000..7fce79620 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,39 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj b/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj index f0b9d2832..25048c8b6 100644 --- a/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj +++ b/samples/ComputeSharp.Benchmark/ComputeSharp.Benchmark.csproj @@ -18,8 +18,8 @@ - - + + diff --git a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj index ffef350fc..f70f2aae4 100644 --- a/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj +++ b/samples/ComputeSharp.ImageProcessing/ComputeSharp.ImageProcessing.csproj @@ -9,7 +9,7 @@ - + diff --git a/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj b/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj index 61a5bfd62..a1262b0d1 100644 --- a/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj +++ b/samples/ComputeSharp.Sample.FSharp/ComputeSharp.Sample.FSharp.fsproj @@ -4,10 +4,11 @@ Exe net10.0 9.0 + true - + diff --git a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj index 3aea777ba..5af911f15 100644 --- a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj @@ -47,7 +47,7 @@ - + @@ -58,7 +58,7 @@ - + diff --git a/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj b/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj index 3b591641f..fb1499d09 100644 --- a/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj @@ -57,7 +57,7 @@ - + diff --git a/samples/ComputeSharp.SwapChain.Uwp/ComputeSharp.SwapChain.Uwp.csproj b/samples/ComputeSharp.SwapChain.Uwp/ComputeSharp.SwapChain.Uwp.csproj index 020a7dc2a..0ff1a09eb 100644 --- a/samples/ComputeSharp.SwapChain.Uwp/ComputeSharp.SwapChain.Uwp.csproj +++ b/samples/ComputeSharp.SwapChain.Uwp/ComputeSharp.SwapChain.Uwp.csproj @@ -29,12 +29,12 @@ - - - + + + - + diff --git a/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj b/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj index 45d54c50f..0582978ac 100644 --- a/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj +++ b/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj @@ -27,9 +27,9 @@ - - - + + + - - + + - - - + + + diff --git a/tests/ComputeSharp.Dxc.NuGet/ComputeSharp.Dxc.NuGet.csproj b/tests/ComputeSharp.Dxc.NuGet/ComputeSharp.Dxc.NuGet.csproj index 91ad037c7..2476366df 100644 --- a/tests/ComputeSharp.Dxc.NuGet/ComputeSharp.Dxc.NuGet.csproj +++ b/tests/ComputeSharp.Dxc.NuGet/ComputeSharp.Dxc.NuGet.csproj @@ -12,8 +12,8 @@ - - - + + + diff --git a/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj b/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj index 677571f35..2dd4804c5 100644 --- a/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj +++ b/tests/ComputeSharp.NuGet/ComputeSharp.NuGet.csproj @@ -12,7 +12,7 @@ - - + + diff --git a/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj b/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj index 5a1fd15cd..209fd9ea5 100644 --- a/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj +++ b/tests/ComputeSharp.Pix.NuGet/ComputeSharp.Pix.NuGet.csproj @@ -12,8 +12,8 @@ - - - + + + diff --git a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj index 0cbd27651..17326178f 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj +++ b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj @@ -9,9 +9,9 @@ - - - + + + diff --git a/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj b/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj index 9a0994560..0dfc8d9b9 100644 --- a/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj +++ b/tests/ComputeSharp.Tests.DisableDynamicCompilation/ComputeSharp.Tests.DisableDynamicCompilation.csproj @@ -4,8 +4,8 @@ - - + + diff --git a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj index febd6a7cd..885937143 100644 --- a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj +++ b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj @@ -4,8 +4,8 @@ - - + + diff --git a/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj b/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj index 578e8d9d6..ab34c0aa7 100644 --- a/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj +++ b/tests/ComputeSharp.Tests.NativeLibrariesResolver/ComputeSharp.Tests.NativeLibrariesResolver.csproj @@ -4,7 +4,7 @@ - + diff --git a/tests/ComputeSharp.Tests.SourceGenerators/ComputeSharp.Tests.SourceGenerators.csproj b/tests/ComputeSharp.Tests.SourceGenerators/ComputeSharp.Tests.SourceGenerators.csproj index b9f03a300..b9574ca5f 100644 --- a/tests/ComputeSharp.Tests.SourceGenerators/ComputeSharp.Tests.SourceGenerators.csproj +++ b/tests/ComputeSharp.Tests.SourceGenerators/ComputeSharp.Tests.SourceGenerators.csproj @@ -7,10 +7,10 @@ - - - - + + + + diff --git a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj index a4ba8798a..a1f318052 100644 --- a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj +++ b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj @@ -9,11 +9,11 @@ - - - - - + + + + +