From 2661247203f45512f4b8aa6a36d11c6768034709 Mon Sep 17 00:00:00 2001 From: MrDave1999 Date: Fri, 1 Dec 2023 15:45:25 -0500 Subject: [PATCH 1/2] chore: Add Directory.Build.props file This file defines the target framework for all projects. --- Directory.Build.props | 7 +++++++ .../tests/DotEnv.Extensions.Microsoft.DI.Tests.csproj | 4 +--- .../DotEnv.Example.AspNetCore.csproj | 4 +--- .../DotEnv.Example.Binding/DotEnv.Example.Binding.csproj | 3 --- .../DotEnv.Example.ConfigurationApi.csproj | 4 +--- .../DotEnv.Example.OptionsPattern.csproj | 4 +--- .../DotEnv.Example.Parsing/DotEnv.Example.Parsing.csproj | 3 --- .../DotEnv.Example.RequiredKeys.csproj | 3 --- .../ConsoleAppOne/ConsoleAppOne.csproj | 3 --- .../ConsoleAppTwo/ConsoleAppTwo.csproj | 3 --- samples/DotEnv.Example/DotEnv.Core.Example.csproj | 3 --- tests/DotEnv.Core.Tests.csproj | 3 --- 12 files changed, 11 insertions(+), 33 deletions(-) create mode 100644 Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..0c67db7 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,7 @@ + + + net8.0 + enable + disable + + diff --git a/plugins/Microsoft.Extensions.DI/tests/DotEnv.Extensions.Microsoft.DI.Tests.csproj b/plugins/Microsoft.Extensions.DI/tests/DotEnv.Extensions.Microsoft.DI.Tests.csproj index 55ad96e..dca1bab 100644 --- a/plugins/Microsoft.Extensions.DI/tests/DotEnv.Extensions.Microsoft.DI.Tests.csproj +++ b/plugins/Microsoft.Extensions.DI/tests/DotEnv.Extensions.Microsoft.DI.Tests.csproj @@ -1,9 +1,7 @@ - net7.0 - disable - enable + diff --git a/samples/DotEnv.Example.AspNetCore/DotEnv.Example.AspNetCore.csproj b/samples/DotEnv.Example.AspNetCore/DotEnv.Example.AspNetCore.csproj index 333dbef..a3ca64b 100644 --- a/samples/DotEnv.Example.AspNetCore/DotEnv.Example.AspNetCore.csproj +++ b/samples/DotEnv.Example.AspNetCore/DotEnv.Example.AspNetCore.csproj @@ -1,9 +1,7 @@ - net7.0 - disable - enable + diff --git a/samples/DotEnv.Example.Binding/DotEnv.Example.Binding.csproj b/samples/DotEnv.Example.Binding/DotEnv.Example.Binding.csproj index 777bae7..cb801d4 100644 --- a/samples/DotEnv.Example.Binding/DotEnv.Example.Binding.csproj +++ b/samples/DotEnv.Example.Binding/DotEnv.Example.Binding.csproj @@ -2,9 +2,6 @@ Exe - net7.0 - enable - disable diff --git a/samples/DotEnv.Example.ConfigurationApi/DotEnv.Example.ConfigurationApi.csproj b/samples/DotEnv.Example.ConfigurationApi/DotEnv.Example.ConfigurationApi.csproj index 333dbef..a3ca64b 100644 --- a/samples/DotEnv.Example.ConfigurationApi/DotEnv.Example.ConfigurationApi.csproj +++ b/samples/DotEnv.Example.ConfigurationApi/DotEnv.Example.ConfigurationApi.csproj @@ -1,9 +1,7 @@ - net7.0 - disable - enable + diff --git a/samples/DotEnv.Example.OptionsPattern/DotEnv.Example.OptionsPattern.csproj b/samples/DotEnv.Example.OptionsPattern/DotEnv.Example.OptionsPattern.csproj index ae69a3a..29d0c1d 100644 --- a/samples/DotEnv.Example.OptionsPattern/DotEnv.Example.OptionsPattern.csproj +++ b/samples/DotEnv.Example.OptionsPattern/DotEnv.Example.OptionsPattern.csproj @@ -1,9 +1,7 @@ - net7.0 - disable - enable + diff --git a/samples/DotEnv.Example.Parsing/DotEnv.Example.Parsing.csproj b/samples/DotEnv.Example.Parsing/DotEnv.Example.Parsing.csproj index c76c3fb..b2781c0 100644 --- a/samples/DotEnv.Example.Parsing/DotEnv.Example.Parsing.csproj +++ b/samples/DotEnv.Example.Parsing/DotEnv.Example.Parsing.csproj @@ -2,9 +2,6 @@ Exe - net7.0 - enable - disable diff --git a/samples/DotEnv.Example.RequiredKeys/DotEnv.Example.RequiredKeys.csproj b/samples/DotEnv.Example.RequiredKeys/DotEnv.Example.RequiredKeys.csproj index c76c3fb..b2781c0 100644 --- a/samples/DotEnv.Example.RequiredKeys/DotEnv.Example.RequiredKeys.csproj +++ b/samples/DotEnv.Example.RequiredKeys/DotEnv.Example.RequiredKeys.csproj @@ -2,9 +2,6 @@ Exe - net7.0 - enable - disable diff --git a/samples/DotEnv.Example.SharedSettings/ConsoleAppOne/ConsoleAppOne.csproj b/samples/DotEnv.Example.SharedSettings/ConsoleAppOne/ConsoleAppOne.csproj index 60468f3..970095a 100644 --- a/samples/DotEnv.Example.SharedSettings/ConsoleAppOne/ConsoleAppOne.csproj +++ b/samples/DotEnv.Example.SharedSettings/ConsoleAppOne/ConsoleAppOne.csproj @@ -2,9 +2,6 @@ Exe - net7.0 - enable - disable diff --git a/samples/DotEnv.Example.SharedSettings/ConsoleAppTwo/ConsoleAppTwo.csproj b/samples/DotEnv.Example.SharedSettings/ConsoleAppTwo/ConsoleAppTwo.csproj index 75362fb..230e272 100644 --- a/samples/DotEnv.Example.SharedSettings/ConsoleAppTwo/ConsoleAppTwo.csproj +++ b/samples/DotEnv.Example.SharedSettings/ConsoleAppTwo/ConsoleAppTwo.csproj @@ -2,9 +2,6 @@ Exe - net7.0 - enable - disable diff --git a/samples/DotEnv.Example/DotEnv.Core.Example.csproj b/samples/DotEnv.Example/DotEnv.Core.Example.csproj index 6c628af..660a5ec 100644 --- a/samples/DotEnv.Example/DotEnv.Core.Example.csproj +++ b/samples/DotEnv.Example/DotEnv.Core.Example.csproj @@ -2,9 +2,6 @@ Exe - net6.0 - disable - enable diff --git a/tests/DotEnv.Core.Tests.csproj b/tests/DotEnv.Core.Tests.csproj index 2fbfc2a..38ad59f 100644 --- a/tests/DotEnv.Core.Tests.csproj +++ b/tests/DotEnv.Core.Tests.csproj @@ -1,9 +1,6 @@  - net6.0 - disable - enable DotEnv.Core.Tests From 2f0734b21a057117e3cc57e54e83ae169214299f Mon Sep 17 00:00:00 2001 From: MrDave1999 Date: Fri, 1 Dec 2023 15:50:43 -0500 Subject: [PATCH 2/2] chore: Remove target framework --- .../example/DotEnv.Extensions.Microsoft.DI.Example.csproj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/Microsoft.Extensions.DI/example/DotEnv.Extensions.Microsoft.DI.Example.csproj b/plugins/Microsoft.Extensions.DI/example/DotEnv.Extensions.Microsoft.DI.Example.csproj index d4cbe38..5e4f9dc 100644 --- a/plugins/Microsoft.Extensions.DI/example/DotEnv.Extensions.Microsoft.DI.Example.csproj +++ b/plugins/Microsoft.Extensions.DI/example/DotEnv.Extensions.Microsoft.DI.Example.csproj @@ -1,9 +1,7 @@ - net7.0 - disable - enable +