From 7658fd85bcd21e42ee1be1eb4a1e41662936f17d Mon Sep 17 00:00:00 2001 From: Lakshan Fernando Date: Sun, 17 Jul 2022 15:32:50 -0700 Subject: [PATCH 1/2] Native AOT runtime changes for multiple package conflict --- .../Microsoft.DotNet.ILCompiler.props | 19 +++++++++++++++++++ .../Microsoft.DotNet.ILCompiler.targets | 8 ++++---- .../Microsoft.DotNet.ILCompiler.pkgproj | 2 +- .../sdk/{Sdk.targets => Sdk.props} | 9 +++++++-- 4 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props rename src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/{Sdk.targets => Sdk.props} (66%) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props new file mode 100644 index 00000000000000..a5b2e3822b69c1 --- /dev/null +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props @@ -0,0 +1,19 @@ + + + + + + $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.targets + + diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets index f8390e280c0253..244f27fdfbdc42 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets @@ -42,20 +42,20 @@ - + - + - + @(ResolvedILCompilerPack->'%(PackageDirectory)') @(ResolvedILCompilerPack->'%(PackageDirectory)') >@(ResolvedILCompilerPack->'%(PackageDirectory)') - + %(PackageDefinitions.ResolvedPath) %(PackageDefinitions.ResolvedPath) diff --git a/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj b/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj index 49198a0f68067f..2dc56dde6c1729 100644 --- a/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj +++ b/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj @@ -20,7 +20,7 @@ - + diff --git a/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/Sdk.targets b/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/Sdk.props similarity index 66% rename from src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/Sdk.targets rename to src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/Sdk.props index 0afed97e72fadb..da35d4749050e0 100644 --- a/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/Sdk.targets +++ b/src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/sdk/Sdk.props @@ -1,6 +1,6 @@ + + + true + + - + From 1b04f5ba523386663fb45e5a312fb44a2921f8a5 Mon Sep 17 00:00:00 2001 From: Lakshan Fernando Date: Tue, 19 Jul 2022 10:04:14 -0700 Subject: [PATCH 2/2] Partial FB fixes --- .../BuildIntegration/Microsoft.DotNet.ILCompiler.props | 4 ++-- .../BuildIntegration/Microsoft.DotNet.ILCompiler.targets | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props index a5b2e3822b69c1..e883245ee0f7cf 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.props @@ -1,6 +1,6 @@ $(MSBuildThisFileDirectory)Microsoft.DotNet.ILCompiler.targets diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets index 244f27fdfbdc42..d08cc8241da6ab 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets @@ -41,20 +41,20 @@ - + - + @(ResolvedILCompilerPack->'%(PackageDirectory)') @(ResolvedILCompilerPack->'%(PackageDirectory)') >@(ResolvedILCompilerPack->'%(PackageDirectory)') - + %(PackageDefinitions.ResolvedPath) %(PackageDefinitions.ResolvedPath)