From 000459a4b0ca573cea4bf3902ea5ece4dcc66d4e Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Mon, 29 Nov 2021 11:59:35 -0800 Subject: [PATCH 1/5] Remove workarounds for referencing the DllImport source generator now that we use the RTM sdk. --- eng/generators.targets | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/eng/generators.targets b/eng/generators.targets index 52832367295663..13926ce90bd7ed 100644 --- a/eng/generators.targets +++ b/eng/generators.targets @@ -34,11 +34,11 @@ and @(EnabledGenerators->AnyHaveMetadataValue('Identity', 'DllImportGenerator'))"> - - - $(DefineConstants);DLLIMPORTGENERATOR_ENABLED From fda73237d93d6fe690168cd679f5c2497cae5e9b Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Mon, 29 Nov 2021 14:58:39 -0800 Subject: [PATCH 2/5] Use TargetFrameworks instead of TargetFramework to match how the JSON generator works. --- .../gen/DllImportGenerator/DllImportGenerator.csproj | 2 +- .../Microsoft.Interop.SourceGeneration.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/DllImportGenerator.csproj b/src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/DllImportGenerator.csproj index 843c88967ad587..85f7a7c0c00bcc 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/DllImportGenerator.csproj +++ b/src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/DllImportGenerator.csproj @@ -2,7 +2,7 @@ Microsoft.Interop.DllImportGenerator - netstandard2.0 + netstandard2.0 false true True diff --git a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj index e8f403d2f83294..f5148d44941f1a 100644 --- a/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj +++ b/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.0 false enable Microsoft.Interop From 3cd3f845eb6d334841208f143b95ba60825e64d0 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Mon, 29 Nov 2021 15:23:48 -0800 Subject: [PATCH 3/5] Update pinned Roslyn toolset version to match the SDK. --- eng/Versions.props | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 37534cec4a6368..6d01a818aea75f 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -52,8 +52,7 @@ 4.0.0-4.final 4.0.0-4.final 7.0.0-preview1.21572.6 - - 4.0.0-5.21453.15 + 4.0.0 2.0.0-alpha.1.21525.11 From ddd3ff8c738c69dbedce6b8290734375879338a3 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Mon, 29 Nov 2021 16:04:58 -0800 Subject: [PATCH 4/5] Update eng/Versions.props Co-authored-by: Andy Gocke --- eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Versions.props b/eng/Versions.props index 6d01a818aea75f..2b61fef5bb5580 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -52,7 +52,7 @@ 4.0.0-4.final 4.0.0-4.final 7.0.0-preview1.21572.6 - 4.0.0 + 4.0.1 2.0.0-alpha.1.21525.11 From 7ee24a928490156b023049cb4c6cdeb5fd39d8a3 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Tue, 30 Nov 2021 09:31:58 -0800 Subject: [PATCH 5/5] Remove custom compiler toolset version. --- eng/Versions.props | 2 -- 1 file changed, 2 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 2b61fef5bb5580..22176040880a0d 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,7 +16,6 @@ false release - true true false false @@ -52,7 +51,6 @@ 4.0.0-4.final 4.0.0-4.final 7.0.0-preview1.21572.6 - 4.0.1 2.0.0-alpha.1.21525.11