Open
Description
On platforms where AOT is not supported, --use-bootstrap
fails with error like: #105403 (comment).
This is because PublishSingleFile is not respecting bootstrapped singlefile:
$ ls artifacts/bootstrap/illumos-x64/host/
apphost singlefilehost
Repro:
$ git clone https://github.com/gwr/dotnet-runtime runtime --branch illumos5 --single-branch --depth 1
$ docker run --rm -v$(pwd)/runtime:/runtime -e ROOTFS_DIR=/crossrootfs/x64 \
-it mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-illumos
$ /runtime/build.sh clr+libs+packs -c Debug -os illumos -cross -gcc --bootstrap
...
Cleaning up artifacts from bootstrap build...
Determining projects to restore...
Tool 'coverlet.console' (version '6.0.4') was restored. Available commands: coverlet
Tool 'dotnet-reportgenerator-globaltool' (version '5.4.3') was restored. Available commands: reportgenerator
Tool 'microsoft.dotnet.xharness.cli' (version '10.0.0-prerelease.25255.1') was restored. Available commands: xharness
Tool 'microsoft.visualstudio.slngen.tool' (version '12.0.15') was restored. Available commands: slngen
Restore was successful.
All projects are up-to-date for restore.
Determining projects to restore...
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
/runtime/.dotnet/sdk/10.0.100-preview.6.25302.104/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(188,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'illumos-x64'. [/runtime/Build.proj]
Metadata
Metadata
Assignees
Type
Projects
Status
No status