From 2830fe1a18e12bf76d0a3241221f8d67f139a39e Mon Sep 17 00:00:00 2001 From: Alistair Evans Date: Sat, 10 Dec 2022 11:33:09 +0000 Subject: [PATCH] Add the dotnet tfm; update some analyser/test packages. --- .../Autofac.BenchmarkProfiling.csproj | 2 +- .../Autofac.Benchmarks/Autofac.Benchmarks.csproj | 8 ++++---- codegen/Autofac.CodeGen/Autofac.CodeGen.csproj | 2 +- src/Autofac/Autofac.csproj | 7 ++----- .../Autofac.Specification.Test.csproj | 12 ++++++------ .../Autofac.Test.CodeGen.csproj | 16 ++++++++-------- ...atorTests.VerifyGeneratedCode#00.verified.cs} | 0 ...atorTests.VerifyGeneratedCode#01.verified.cs} | 0 .../Autofac.Test.Compilation.csproj | 12 ++++++------ test/Autofac.Test/Autofac.Test.csproj | 14 +++++++------- 10 files changed, 35 insertions(+), 38 deletions(-) rename test/Autofac.Test.CodeGen/Snapshots/{DelegateRegisterGeneratorTests.VerifyGeneratedCode.00.verified.cs => DelegateRegisterGeneratorTests.VerifyGeneratedCode#00.verified.cs} (100%) rename test/Autofac.Test.CodeGen/Snapshots/{DelegateRegisterGeneratorTests.VerifyGeneratedCode.01.verified.cs => DelegateRegisterGeneratorTests.VerifyGeneratedCode#01.verified.cs} (100%) diff --git a/bench/Autofac.BenchmarkProfiling/Autofac.BenchmarkProfiling.csproj b/bench/Autofac.BenchmarkProfiling/Autofac.BenchmarkProfiling.csproj index c8aa928af..248ba87d6 100644 --- a/bench/Autofac.BenchmarkProfiling/Autofac.BenchmarkProfiling.csproj +++ b/bench/Autofac.BenchmarkProfiling/Autofac.BenchmarkProfiling.csproj @@ -8,7 +8,7 @@ - + diff --git a/bench/Autofac.Benchmarks/Autofac.Benchmarks.csproj b/bench/Autofac.Benchmarks/Autofac.Benchmarks.csproj index ff4d2a52d..eb53fe099 100644 --- a/bench/Autofac.Benchmarks/Autofac.Benchmarks.csproj +++ b/bench/Autofac.Benchmarks/Autofac.Benchmarks.csproj @@ -34,10 +34,10 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers diff --git a/codegen/Autofac.CodeGen/Autofac.CodeGen.csproj b/codegen/Autofac.CodeGen/Autofac.CodeGen.csproj index 9351df50f..c534ad33a 100644 --- a/codegen/Autofac.CodeGen/Autofac.CodeGen.csproj +++ b/codegen/Autofac.CodeGen/Autofac.CodeGen.csproj @@ -24,7 +24,7 @@ - + diff --git a/src/Autofac/Autofac.csproj b/src/Autofac/Autofac.csproj index 3993e62e2..7a9998f7e 100644 --- a/src/Autofac/Autofac.csproj +++ b/src/Autofac/Autofac.csproj @@ -15,7 +15,7 @@ true en-US - net6.0;netstandard2.1;netstandard2.0; + net7.0;net6.0;netstandard2.1;netstandard2.0; latest enable $(NoWarn);CS1591 @@ -71,10 +71,7 @@ - - all - - + all diff --git a/test/Autofac.Specification.Test/Autofac.Specification.Test.csproj b/test/Autofac.Specification.Test/Autofac.Specification.Test.csproj index f5d154254..c80b9e7ea 100644 --- a/test/Autofac.Specification.Test/Autofac.Specification.Test.csproj +++ b/test/Autofac.Specification.Test/Autofac.Specification.Test.csproj @@ -1,7 +1,7 @@  - net6.0;netcoreapp3.1; + net7.0;net6.0;netcoreapp3.1; $(NoWarn);CS1591 true ../../build/Test.ruleset @@ -30,20 +30,20 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all - - + + all runtime; build; native; contentfiles; analyzers diff --git a/test/Autofac.Test.CodeGen/Autofac.Test.CodeGen.csproj b/test/Autofac.Test.CodeGen/Autofac.Test.CodeGen.csproj index d8efa8d3e..6e241393c 100644 --- a/test/Autofac.Test.CodeGen/Autofac.Test.CodeGen.csproj +++ b/test/Autofac.Test.CodeGen/Autofac.Test.CodeGen.csproj @@ -33,26 +33,26 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all - - + + all runtime; build; native; contentfiles; analyzers - - + + diff --git a/test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode.00.verified.cs b/test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode#00.verified.cs similarity index 100% rename from test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode.00.verified.cs rename to test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode#00.verified.cs diff --git a/test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode.01.verified.cs b/test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode#01.verified.cs similarity index 100% rename from test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode.01.verified.cs rename to test/Autofac.Test.CodeGen/Snapshots/DelegateRegisterGeneratorTests.VerifyGeneratedCode#01.verified.cs diff --git a/test/Autofac.Test.Compilation/Autofac.Test.Compilation.csproj b/test/Autofac.Test.Compilation/Autofac.Test.Compilation.csproj index ea8f03148..4c2bbc36f 100644 --- a/test/Autofac.Test.Compilation/Autofac.Test.Compilation.csproj +++ b/test/Autofac.Test.Compilation/Autofac.Test.Compilation.csproj @@ -32,21 +32,21 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all - - + + all runtime; build; native; contentfiles; analyzers diff --git a/test/Autofac.Test/Autofac.Test.csproj b/test/Autofac.Test/Autofac.Test.csproj index 02948af0e..e8ac95e95 100644 --- a/test/Autofac.Test/Autofac.Test.csproj +++ b/test/Autofac.Test/Autofac.Test.csproj @@ -1,7 +1,7 @@  - net6.0;netcoreapp3.1; + net7.0;net6.0;netcoreapp3.1; $(NoWarn);CS1591 true ../../Autofac.snk @@ -34,21 +34,21 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all - - + + all runtime; build; native; contentfiles; analyzers