From 693062dcce41070c8f629fc58ffbd4819fc6618f Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Fri, 31 May 2024 16:12:05 -0700 Subject: [PATCH] Convert to Central Package Management with transitive pinning enabled --- Directory.Packages.props | 20 ++++++++++++++++ .../Moq.Analyzers.Test.csproj | 24 +++++++++---------- Source/Moq.Analyzers/Moq.Analyzers.csproj | 8 +++---- build/targets/versioning/Versioning.props | 1 - 4 files changed, 36 insertions(+), 17 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 000000000..dedddeb20 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,20 @@ + + + true + true + + + + + + + + + + + + + + + + diff --git a/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj b/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj index 0d3535021..7637358f5 100644 --- a/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj +++ b/Source/Moq.Analyzers.Test/Moq.Analyzers.Test.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -14,26 +14,26 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Source/Moq.Analyzers/Moq.Analyzers.csproj b/Source/Moq.Analyzers/Moq.Analyzers.csproj index 0a431496e..3013b3217 100644 --- a/Source/Moq.Analyzers/Moq.Analyzers.csproj +++ b/Source/Moq.Analyzers/Moq.Analyzers.csproj @@ -43,13 +43,13 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/build/targets/versioning/Versioning.props b/build/targets/versioning/Versioning.props index 3c5d8b0c2..118a44dfa 100644 --- a/build/targets/versioning/Versioning.props +++ b/build/targets/versioning/Versioning.props @@ -2,7 +2,6 @@ all - 3.6.133