diff --git a/Directory.Build.props b/Directory.Build.props index b3dc903387f5..1bd59d73121d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -108,6 +108,7 @@ win osx linux + $([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant()) x64 $(TargetOsName)-$(TargetArchitecture) diff --git a/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj b/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj index 4c4298a92da7..f843ded12417 100644 --- a/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj +++ b/src/Framework/src/Microsoft.AspNetCore.App.Runtime.csproj @@ -90,15 +90,17 @@ This package is an internal implementation of the .NET Core SDK and is not meant : %3B + x64_arm + x64_arm64 + x86_arm + crossgen $(CrossgenToolFileName).exe $(CrossgenToolFileName) - x64_arm\$(CrossgenToolPackagePath) - x64_arm64\$(CrossgenToolPackagePath) - x86_arm\$(CrossgenToolPackagePath) + $(CrossCompileDirectory)\$(CrossgenToolPackagePath) $([System.IO.Path]::Combine('$(NuGetPackageRoot)', 'microsoft.netcore.app.runtime.$(RuntimeIdentifier)', '$(MicrosoftNETCoreAppRuntimeVersion)')) $([MSBuild]::EnsureTrailingSlash('$(RuntimePackageRoot)')) @@ -293,7 +295,9 @@ This package is an internal implementation of the .NET Core SDK and is not meant --> $(IntermediateOutputPath)crossgen\ - $(CrossgenToolDir)$(LibPrefix)clrjit$(LibExtension) + + $(RuntimePackageRoot)runtimes\$(RuntimeIdentifier)\native\$(LibPrefix)clrjit$(LibExtension) + $(RuntimepackageRoot)runtimes\$(CrossCompileDirectory)\native\$(LibPrefix)clrjit$(LibExtension)