Attempting to publish AOT on an unsupported host, or with an
unsupported target RID, will produce an error in the SDK before trying
to restore the ILCompiler packages. This uses the RID list in
`KnownILCompilerPack` as the source of truth for what is considered
supported. Then with improved error reporting
(https://github.com/dotnet/sdk/pull/32943), this will give enough info
to the user about why a scenario isn't supported for aot.
Failing before restore does mean that advanced users who want to test
with unsupported ILC packages need to use a different
workaround. Instead of adding a `PackageReference`, they'll need
something like this:
```xml
<ItemGroup>
<KnownILCompilerPack Update="@(KnownILCompilerPack)">
<ILCompilerRuntimeIdentifiers>unsupported-rid</ILCompilerRuntimeIdentifiers>
</KnownILCompilerPack>
</ItemGroup>
```
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
- Microsoft.WindowsDesktop.App.Ref: from 8.0.0-preview.5.23270.3 to 8.0.0-preview.6.23280.2 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.WindowsDesktop.SharedFramework.x64.8.0: from 8.0.0-preview.5.23270.3 to 8.0.0-preview.6.23280.2 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.WindowsDesktop.TargetingPack.x64.8.0: from 8.0.0-preview.5.23270.3 to 8.0.0-preview.6.23280.2 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Ref: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.TargetingPack.x64.8.0: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Host.win-x64: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.DotNetHostResolver: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.Platforms: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref: from 8.0.0-preview.5.23273.2 to 8.0.0-preview.6.23279.8 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 8.0.0-preview.5.23273.2 to 8.0.0-preview.6.23279.8 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 8.0.0-preview.5.23273.2 to 8.0.0-preview.6.23279.8 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23273.2 to 8.0.0-preview.6.23279.8 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 8.0.0-preview.5.23273.2 to 8.0.0-preview.6.23279.8 (parent: Microsoft.NET.Sdk)
- dotnet-user-jwts: from 8.0.0-preview.5.23273.2 to 8.0.0-preview.6.23279.8 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 8.0.0-preview.5.23273.2 to 8.0.0-preview.6.23279.8 (parent: Microsoft.NET.Sdk)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-preview.5.23270.3 to 8.0.0-preview.6.23280.2 (parent: Microsoft.NET.Sdk)
- Microsoft.Dotnet.WinForms.ProjectTemplates: from 8.0.0-preview.5.23269.3 to 8.0.0-preview.6.23276.4 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-preview.5.23270.3 to 8.0.0-preview.6.23280.2 (parent: Microsoft.NET.Sdk)
- Microsoft.DotNet.Wpf.ProjectTemplates: from 8.0.0-preview.5.23270.1 to 8.0.0-preview.6.23280.1 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.FSharp.Compiler: from 12.7.0-beta.23271.1 to 12.8.0-beta.23275.3 (parent: Microsoft.NET.Sdk)
- Microsoft.SourceBuild.Intermediate.fsharp: from 7.0.400-beta.23271.1 to 8.0.100-beta.23275.3 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.Test.Sdk: from 17.7.0-preview.23268.1 to 17.7.0-preview.23276.3 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.ILLink.Tasks: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- Microsoft.Net.Compilers.Toolset: from 4.7.0-2.23272.8 to 4.7.0-2.23276.4 (parent: Microsoft.NET.Sdk)
- Microsoft.Build: from 17.7.0-preview-23272-02 to 17.7.0-preview-23279-01 (parent: Microsoft.NET.Sdk)
- NuGet.Build.Tasks: from 6.7.0-preview.2.47 to 6.7.0-preview.2.50 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Runtime.win-x64: from 8.0.0-preview.5.23272.14 to 8.0.0-preview.6.23279.6 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport: from 8.0.0-preview.5.23265.1 to 8.0.0-preview.6.23277.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Remove backported source-build patches for NuGet.Client
Clean up the logic to correctly have a version of rids per release
A side effect of this is that net6.0 included a bunch of bionic RIDs that were added for 7.0. Those have now been removed
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
- VS.Redist.Common.NetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Ref: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.TargetingPack.x64.8.0: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Host.win-x64: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.DotNetHostResolver: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.Platforms: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref: from 8.0.0-preview.5.23272.6 to 8.0.0-preview.5.23272.16 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 8.0.0-preview.5.23272.6 to 8.0.0-preview.5.23272.16 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 8.0.0-preview.5.23272.6 to 8.0.0-preview.5.23272.16 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23272.6 to 8.0.0-preview.5.23272.16 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 8.0.0-preview.5.23272.6 to 8.0.0-preview.5.23272.16 (parent: Microsoft.NET.Sdk)
- dotnet-user-jwts: from 8.0.0-preview.5.23272.6 to 8.0.0-preview.5.23272.16 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 8.0.0-preview.5.23272.6 to 8.0.0-preview.5.23272.16 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.ILLink.Tasks: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- Microsoft.Net.Compilers.Toolset: from 4.7.0-2.23271.1 to 4.7.0-2.23272.8 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Runtime.win-x64: from 8.0.0-preview.5.23272.4 to 8.0.0-preview.5.23272.14 (parent: Microsoft.NET.Sdk)
- Merge branch 'main' into darc-main-1526ed1d-2ba6-4a46-b95c-5f4c7ce0323b
- Remove backported roslyn patch
- Remove backported Roslyn patch
This means the package version property won't collide with MicrosoftNetCompilersToolsetPackageVersion, which is already in use for another package, albeit the core version of the same package.
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
- Microsoft.WindowsDesktop.App.Ref: from 8.0.0-preview.5.23268.5 to 8.0.0-preview.5.23270.3 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.WindowsDesktop.SharedFramework.x64.8.0: from 8.0.0-preview.5.23268.5 to 8.0.0-preview.5.23270.3 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.WindowsDesktop.TargetingPack.x64.8.0: from 8.0.0-preview.5.23268.5 to 8.0.0-preview.5.23270.3 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Ref: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.TargetingPack.x64.8.0: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Host.win-x64: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.DotNetHostResolver: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.Platforms: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref: from 8.0.0-preview.5.23268.15 to 8.0.0-preview.5.23271.1 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 8.0.0-preview.5.23268.15 to 8.0.0-preview.5.23271.1 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 8.0.0-preview.5.23268.15 to 8.0.0-preview.5.23271.1 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23268.15 to 8.0.0-preview.5.23271.1 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 8.0.0-preview.5.23268.15 to 8.0.0-preview.5.23271.1 (parent: Microsoft.NET.Sdk)
- dotnet-user-jwts: from 8.0.0-preview.5.23268.15 to 8.0.0-preview.5.23271.1 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 8.0.0-preview.5.23268.15 to 8.0.0-preview.5.23271.1 (parent: Microsoft.NET.Sdk)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-preview.5.23268.5 to 8.0.0-preview.5.23270.3 (parent: Microsoft.NET.Sdk)
- Microsoft.Dotnet.WinForms.ProjectTemplates: from 8.0.0-preview.5.23267.2 to 8.0.0-preview.5.23269.3 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-preview.5.23268.5 to 8.0.0-preview.5.23270.3 (parent: Microsoft.NET.Sdk)
- Microsoft.DotNet.Wpf.ProjectTemplates: from 8.0.0-preview.5.23268.1 to 8.0.0-preview.5.23270.1 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.FSharp.Compiler: from 12.7.0-beta.23267.4 to 12.7.0-beta.23271.1 (parent: Microsoft.NET.Sdk)
- Microsoft.SourceBuild.Intermediate.fsharp: from 7.0.400-beta.23267.4 to 7.0.400-beta.23271.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.Test.Sdk: from 17.7.0-preview.23267.3 to 17.7.0-preview.23268.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.ILLink.Tasks: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- Microsoft.Net.Compilers.Toolset: from 4.7.0-2.23268.17 to 4.7.0-2.23271.1 (parent: Microsoft.NET.Sdk)
- NuGet.Build.Tasks: from 6.7.0-preview.2.44 to 6.7.0-preview.2.47 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Runtime.win-x64: from 8.0.0-preview.5.23268.13 to 8.0.0-preview.5.23272.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport: from 8.0.0-preview.5.23252.1 to 8.0.0-preview.5.23265.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Cloak the removed binary
- Revert "Cloak the removed binary"
This reverts commit c39b93bedaebe30b357305f5abf064af5d2737a3.
- Remove allowed binaries
- Merge branch 'main' into darc-main-f14f2feb-688d-40f3-a2b7-964c038ada93
The System.Runtime.CompilerServices.Unsafe.xml file no longer is reported as a missing XML doc from the source-build output. Removing it from the baseline.
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
- VS.Redist.Common.NetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Ref: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.NetCore.TargetingPack.x64.8.0: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Host.win-x64: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.DotNetHostResolver: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.Platforms: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref: from 8.0.0-preview.5.23252.16 to 8.0.0-preview.5.23252.26 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 8.0.0-preview.5.23252.16 to 8.0.0-preview.5.23252.26 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 8.0.0-preview.5.23252.16 to 8.0.0-preview.5.23252.26 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0: from 8.0.0-preview.5.23252.16 to 8.0.0-preview.5.23252.26 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 8.0.0-preview.5.23252.16 to 8.0.0-preview.5.23252.26 (parent: Microsoft.NET.Sdk)
- dotnet-user-jwts: from 8.0.0-preview.5.23252.16 to 8.0.0-preview.5.23252.26 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 8.0.0-preview.5.23252.16 to 8.0.0-preview.5.23252.26 (parent: Microsoft.NET.Sdk)
- Microsoft.FSharp.Compiler: from 12.5.0-beta.23251.2 to 12.5.0-beta.23253.1 (parent: Microsoft.NET.Sdk)
- Microsoft.SourceBuild.Intermediate.fsharp: from 7.0.400-beta.23251.2 to 7.0.400-beta.23253.1 (parent: Microsoft.NET.Sdk)
- Microsoft.NET.ILLink.Tasks: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- Microsoft.NETCore.App.Runtime.win-x64: from 8.0.0-preview.5.23252.2 to 8.0.0-preview.5.23252.13 (parent: Microsoft.NET.Sdk)
- Merge branch 'main' into darc-main-4610d0ed-e56b-409d-a9c4-39a6c43910f9
- Merge branch 'main' into darc-main-4610d0ed-e56b-409d-a9c4-39a6c43910f9
- Remove backported razor patch
- Merge branch 'main' into darc-main-4610d0ed-e56b-409d-a9c4-39a6c43910f9
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Michael Simons <msimons@microsoft.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
- Microsoft.WindowsDesktop.App.Ref: from 8.0.0-preview.4.23221.2 to 8.0.0-preview.4.23222.1 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.WindowsDesktop.SharedFramework.x64.8.0: from 8.0.0-preview.4.23221.2 to 8.0.0-preview.4.23222.1 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.WindowsDesktop.TargetingPack.x64.8.0: from 8.0.0-preview.4.23221.2 to 8.0.0-preview.4.23222.1 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref: from 8.0.0-preview.4.23221.3 to 8.0.0-preview.4.23221.9 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Ref.Internal: from 8.0.0-preview.4.23221.3 to 8.0.0-preview.4.23221.9 (parent: Microsoft.NET.Sdk)
- Microsoft.AspNetCore.App.Runtime.win-x64: from 8.0.0-preview.4.23221.3 to 8.0.0-preview.4.23221.9 (parent: Microsoft.NET.Sdk)
- VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0: from 8.0.0-preview.4.23221.3 to 8.0.0-preview.4.23221.9 (parent: Microsoft.NET.Sdk)
- dotnet-dev-certs: from 8.0.0-preview.4.23221.3 to 8.0.0-preview.4.23221.9 (parent: Microsoft.NET.Sdk)
- dotnet-user-jwts: from 8.0.0-preview.4.23221.3 to 8.0.0-preview.4.23221.9 (parent: Microsoft.NET.Sdk)
- dotnet-user-secrets: from 8.0.0-preview.4.23221.3 to 8.0.0-preview.4.23221.9 (parent: Microsoft.NET.Sdk)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-preview.4.23221.2 to 8.0.0-preview.4.23222.1 (parent: Microsoft.NET.Sdk)
- Microsoft.Dotnet.WinForms.ProjectTemplates: from 8.0.0-preview.4.23220.4 to 8.0.0-preview.4.23221.5 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.WindowsDesktop.App.Runtime.win-x64: from 8.0.0-preview.4.23221.2 to 8.0.0-preview.4.23222.1 (parent: Microsoft.NET.Sdk)
- Microsoft.DotNet.Wpf.ProjectTemplates: from 8.0.0-preview.5.23220.2 to 8.0.0-preview.5.23221.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- Microsoft.Net.Compilers.Toolset: from 4.7.0-1.23220.5 to 4.7.0-1.23222.1 (parent: Microsoft.NET.Sdk)
- NuGet.Build.Tasks: from 6.7.0-preview.1.17 to 6.7.0-preview.1.18 (parent: Microsoft.NET.Sdk)
- Remove uneeded sdk patch
- Merge branch 'main' into darc-main-fdcf4eae-57ea-4557-a61e-e2920ae4149f
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Marek Safar <marek.safar@gmail.com>
Co-authored-by: Michael Simons <msimons@microsoft.com>
Co-authored-by: Dan Moseley <danmose@microsoft.com>
This means the package version property won't collide with MicrosoftNetCompilersToolsetPackageVersion, which is already in use for another package, albeit the core version of the same package.