From 964746e83a85926b93057559dac70844b2ab3055 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue, 16 May 2023 12:03:15 -0500 Subject: [PATCH] Bump to dotnet/installer/main@8488614afe 8.0.100-preview.5.23264.2 (#8018) Fixes: https://github.com/dotnet/sdk/issues/32539 Changes: https://github.com/dotnet/installer/compare/0ce891843a...8488614afe Changes: https://github.com/dotnet/runtime/compare/9a7db5556f...888bac3044 Changes: https://github.com/dotnet/emsdk/compare/31a4a87736...ab09b0b8d6 Changes: https://github.com/dotnet/cecil/compare/80d3f38fc5...c32f0be86d Updates: * Microsoft.Dotnet.Sdk.Internal: from 8.0.100-preview.5.23228.7 to 8.0.100-preview.5.23264.2 * Microsoft.NETCore.App.Ref: from 8.0.0-preview.4.23225.14 to 8.0.0-preview.5.23260.3 * Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport: from 8.0.0-preview.4.23219.1 to 8.0.0-preview.5.23252.1 * Microsoft.NET.ILLink.Tasks: from 8.0.0-preview.4.23225.14 to 8.0.0-preview.5.23260.3 * Microsoft.DotNet.Cecil: from 0.11.4-alpha.23218.2 to 0.11.4-alpha.23252.1 ~~ Other changes ~~ In [dotnet/sdk#30038][0], the default value for `$(SelfContained)` was changed for various types of projects. Unforunately, this broke `Release` builds on Android. Opting into non-self-contained builds triggers: error XALNS7028: System.IO.FileNotFoundException: Could not load assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. Perhaps it doesn't exist in the Mono for Android profile? But we can solve the issues by: * Pass `$(SelfContained)` as `true` for all "inner builds" that run for each `$(RuntimeIdentifier)`. * Set `$(UseCurrentRuntimeIdentifier)` by default, so we don't opt into the Host's RID. Builds would select `win-x64` or `osx-64` otherwise. [0]: https://github.com/dotnet/sdk/pull/30038 Co-authored-by: Jonathan Peppers --- eng/Version.Details.xml | 20 +++++++++---------- eng/Versions.props | 10 +++++----- ...oft.Android.Sdk.AssemblyResolution.targets | 1 + ...soft.Android.Sdk.DefaultProperties.targets | 1 + 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index c978fc8f66d..309e5e37ee4 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,24 +1,24 @@ - + https://github.com/dotnet/installer - 0ce891843a4ee251d356cd429c596ba25ee15dc3 + 8488614afec7497b9e74b47c976af2a97506bb96 - + https://github.com/dotnet/runtime - 9a7db5556f4ad892c611b2e174594db17fdec3af + 888bac304442e1a6883cfb922d21a74df910112d - + https://github.com/dotnet/runtime - 9a7db5556f4ad892c611b2e174594db17fdec3af + 888bac304442e1a6883cfb922d21a74df910112d - + https://github.com/dotnet/emsdk - 31a4a877360713c4345ce48662e5baeeadfda898 + ab09b0b8d6768d58e09c033beea1570d4ca74c1f - + https://github.com/dotnet/cecil - 80d3f38fc59c351fa1942209e66f54a6fc912deb + c32f0be86d4e72dfc0967ef08913889cfdbc8dc4 diff --git a/eng/Versions.props b/eng/Versions.props index d4a3c25a03e..5c2ea2b58ca 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -1,15 +1,15 @@ - 8.0.100-preview.5.23228.7 - 8.0.0-preview.4.23225.14 - 8.0.0-preview.4.23225.14 + 8.0.100-preview.5.23264.2 + 8.0.0-preview.5.23260.3 + 8.0.0-preview.5.23260.3 7.0.0-beta.22103.1 7.0.0-beta.22103.1 - 8.0.0-preview.4.23219.1 + 8.0.0-preview.5.23252.1 $(MicrosoftNETWorkloadEmscriptenCurrentManifest80100TransportVersion) 7.0.100-rc.1.22410.7 - 0.11.4-alpha.23218.2 + 0.11.4-alpha.23252.1 $(MicrosoftNETCoreAppRefPackageVersion) diff --git a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.AssemblyResolution.targets b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.AssemblyResolution.targets index d7883d600d2..ae35d401aee 100644 --- a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.AssemblyResolution.targets +++ b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.AssemblyResolution.targets @@ -89,6 +89,7 @@ _ResolveAssemblies MSBuild target. <_AdditionalProperties> _ComputeFilesToPublishForRuntimeIdentifiers=true + ;SelfContained=true ;AppendRuntimeIdentifierToOutputPath=true ;ResolveAssemblyReferencesFindRelatedSatellites=false ;SkipCompilerExecution=true diff --git a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.DefaultProperties.targets b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.DefaultProperties.targets index 8f72ec0b74e..7767b0e23c8 100644 --- a/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.DefaultProperties.targets +++ b/src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.DefaultProperties.targets @@ -63,6 +63,7 @@ false false + false true true SdkOnly