From 84b55d9700da70e3e68456929a4b49295772d87b Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Tue, 30 Nov 2021 13:48:15 -0800 Subject: [PATCH] Remove workarounds for referencing the DllImport source generator now that we use the RTM sdk. (#62156) Co-authored-by: Andy Gocke --- eng/Versions.props | 3 --- eng/generators.targets | 10 ++-------- .../gen/DllImportGenerator/DllImportGenerator.csproj | 2 +- .../Microsoft.Interop.SourceGeneration.csproj | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 37534ce..2217604 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,7 +16,6 @@ false release - true true false false @@ -52,8 +51,6 @@ 4.0.0-4.final 4.0.0-4.final 7.0.0-preview1.21572.6 - - 4.0.0-5.21453.15 2.0.0-alpha.1.21525.11 diff --git a/eng/generators.targets b/eng/generators.targets index 5283236..13926ce 100644 --- a/eng/generators.targets +++ b/eng/generators.targets @@ -34,11 +34,11 @@ and @(EnabledGenerators->AnyHaveMetadataValue('Identity', 'DllImportGenerator'))"> - - - $(DefineConstants);DLLIMPORTGENERATOR_ENABLED diff --git a/src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/DllImportGenerator.csproj b/src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/DllImportGenerator.csproj index 843c889..85f7a7c 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 e8f403d..f5148d4 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 -- 2.7.4