From 855181b09f237a9db140401900e655e4e879c45b Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Fri, 21 Jun 2024 08:51:51 +0800 Subject: [PATCH 1/2] feat: init central package version management --- Directory.Build.props | 4 -- Directory.Packages.props | 45 +++++++++++++++++++ .../Xunit.DependencyInjection.Analyzer.csproj | 4 +- ...pendencyInjection.AspNetCoreTesting.csproj | 2 +- ...nit.DependencyInjection.Demystifier.csproj | 2 +- .../Xunit.DependencyInjection.Logging.csproj | 2 +- ...t.DependencyInjection.SkippableFact.csproj | 4 +- .../Xunit.DependencyInjection.StaFact.csproj | 4 +- .../Xunit.DependencyInjection.xRetry.csproj | 4 +- .../Xunit.DependencyInjection.csproj | 6 +-- test/TestPackages.targets | 6 +-- ...t.DependencyInjection.Analyzer.Test.csproj | 10 ++--- ...nit.DependencyInjection.Test.FSharp.fsproj | 8 ++-- .../Xunit.DependencyInjection.Test.csproj | 6 +-- 14 files changed, 75 insertions(+), 32 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Build.props b/Directory.Build.props index 95b7eef..98d01de 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -25,10 +25,6 @@ - - - - diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..e58a277 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,45 @@ + + + true + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Xunit.DependencyInjection.Analyzer/Xunit.DependencyInjection.Analyzer.csproj b/src/Xunit.DependencyInjection.Analyzer/Xunit.DependencyInjection.Analyzer.csproj index aa532e5..1f21d0b 100644 --- a/src/Xunit.DependencyInjection.Analyzer/Xunit.DependencyInjection.Analyzer.csproj +++ b/src/Xunit.DependencyInjection.Analyzer/Xunit.DependencyInjection.Analyzer.csproj @@ -1,4 +1,4 @@ - + false @@ -6,7 +6,7 @@ - + diff --git a/src/Xunit.DependencyInjection.AspNetCoreTesting/Xunit.DependencyInjection.AspNetCoreTesting.csproj b/src/Xunit.DependencyInjection.AspNetCoreTesting/Xunit.DependencyInjection.AspNetCoreTesting.csproj index cfb116c..bc8ad62 100644 --- a/src/Xunit.DependencyInjection.AspNetCoreTesting/Xunit.DependencyInjection.AspNetCoreTesting.csproj +++ b/src/Xunit.DependencyInjection.AspNetCoreTesting/Xunit.DependencyInjection.AspNetCoreTesting.csproj @@ -14,7 +14,7 @@ public class Startup - + diff --git a/src/Xunit.DependencyInjection.Demystifier/Xunit.DependencyInjection.Demystifier.csproj b/src/Xunit.DependencyInjection.Demystifier/Xunit.DependencyInjection.Demystifier.csproj index e7bb6c6..cab45f9 100644 --- a/src/Xunit.DependencyInjection.Demystifier/Xunit.DependencyInjection.Demystifier.csproj +++ b/src/Xunit.DependencyInjection.Demystifier/Xunit.DependencyInjection.Demystifier.csproj @@ -14,7 +14,7 @@ public void ConfigureServices(IServiceCollection services) - + diff --git a/src/Xunit.DependencyInjection.Logging/Xunit.DependencyInjection.Logging.csproj b/src/Xunit.DependencyInjection.Logging/Xunit.DependencyInjection.Logging.csproj index ef42ec4..5f3810a 100644 --- a/src/Xunit.DependencyInjection.Logging/Xunit.DependencyInjection.Logging.csproj +++ b/src/Xunit.DependencyInjection.Logging/Xunit.DependencyInjection.Logging.csproj @@ -14,7 +14,7 @@ public void Configure(IServiceProvider provider) - + diff --git a/src/Xunit.DependencyInjection.SkippableFact/Xunit.DependencyInjection.SkippableFact.csproj b/src/Xunit.DependencyInjection.SkippableFact/Xunit.DependencyInjection.SkippableFact.csproj index a589ba2..6a240d1 100644 --- a/src/Xunit.DependencyInjection.SkippableFact/Xunit.DependencyInjection.SkippableFact.csproj +++ b/src/Xunit.DependencyInjection.SkippableFact/Xunit.DependencyInjection.SkippableFact.csproj @@ -1,4 +1,4 @@ - + net472;netstandard2.1 @@ -14,7 +14,7 @@ public void ConfigureServices(IServiceCollection services) - + diff --git a/src/Xunit.DependencyInjection.StaFact/Xunit.DependencyInjection.StaFact.csproj b/src/Xunit.DependencyInjection.StaFact/Xunit.DependencyInjection.StaFact.csproj index 748e0f9..e9ec99d 100644 --- a/src/Xunit.DependencyInjection.StaFact/Xunit.DependencyInjection.StaFact.csproj +++ b/src/Xunit.DependencyInjection.StaFact/Xunit.DependencyInjection.StaFact.csproj @@ -1,4 +1,4 @@ - + net472;netstandard2.1 @@ -19,7 +19,7 @@ Not support: - + diff --git a/src/Xunit.DependencyInjection.xRetry/Xunit.DependencyInjection.xRetry.csproj b/src/Xunit.DependencyInjection.xRetry/Xunit.DependencyInjection.xRetry.csproj index f0076e0..dfb0568 100644 --- a/src/Xunit.DependencyInjection.xRetry/Xunit.DependencyInjection.xRetry.csproj +++ b/src/Xunit.DependencyInjection.xRetry/Xunit.DependencyInjection.xRetry.csproj @@ -15,8 +15,8 @@ public void ConfigureServices(IServiceCollection services) - - + + diff --git a/src/Xunit.DependencyInjection/Xunit.DependencyInjection.csproj b/src/Xunit.DependencyInjection/Xunit.DependencyInjection.csproj index 7a7faee..e04311d 100644 --- a/src/Xunit.DependencyInjection/Xunit.DependencyInjection.csproj +++ b/src/Xunit.DependencyInjection/Xunit.DependencyInjection.csproj @@ -1,4 +1,4 @@ - + net472;netstandard2.1 @@ -36,8 +36,8 @@ Release notes: - - + + diff --git a/test/TestPackages.targets b/test/TestPackages.targets index 15f75bc..e5050b7 100644 --- a/test/TestPackages.targets +++ b/test/TestPackages.targets @@ -1,9 +1,9 @@  - - - + + + diff --git a/test/Xunit.DependencyInjection.Analyzer.Test/Xunit.DependencyInjection.Analyzer.Test.csproj b/test/Xunit.DependencyInjection.Analyzer.Test/Xunit.DependencyInjection.Analyzer.Test.csproj index 7264bb8..9846836 100644 --- a/test/Xunit.DependencyInjection.Analyzer.Test/Xunit.DependencyInjection.Analyzer.Test.csproj +++ b/test/Xunit.DependencyInjection.Analyzer.Test/Xunit.DependencyInjection.Analyzer.Test.csproj @@ -17,12 +17,12 @@ Always - + - - - - + + + + diff --git a/test/Xunit.DependencyInjection.Test.FSharp/Xunit.DependencyInjection.Test.FSharp.fsproj b/test/Xunit.DependencyInjection.Test.FSharp/Xunit.DependencyInjection.Test.FSharp.fsproj index cc40d03..27da156 100644 --- a/test/Xunit.DependencyInjection.Test.FSharp/Xunit.DependencyInjection.Test.FSharp.fsproj +++ b/test/Xunit.DependencyInjection.Test.FSharp/Xunit.DependencyInjection.Test.FSharp.fsproj @@ -15,6 +15,11 @@ + + + + + @@ -23,9 +28,6 @@ - - - diff --git a/test/Xunit.DependencyInjection.Test/Xunit.DependencyInjection.Test.csproj b/test/Xunit.DependencyInjection.Test/Xunit.DependencyInjection.Test.csproj index c25e262..4db12e0 100644 --- a/test/Xunit.DependencyInjection.Test/Xunit.DependencyInjection.Test.csproj +++ b/test/Xunit.DependencyInjection.Test/Xunit.DependencyInjection.Test.csproj @@ -23,9 +23,9 @@ - - - + + + From be7e051757c3922f44f84bbcb68328ebf0584023 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Fri, 21 Jun 2024 08:56:32 +0800 Subject: [PATCH 2/2] update Directory.Packages.props --- Directory.Packages.props | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e58a277..9f9156c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,29 +5,29 @@ true - - - - + + - + - + + +