Description
csc fails to run with:
Failed to create CoreCLR, HRESULT: 0x80070008
Reproduction Steps
Repro script:
#!/bin/bash -ex
curl -LO https://ci.dot.net/public/Sdk/10.0.100-rtm.25520.117/dotnet-sdk-10.0.100-osx-arm64.tar.gz
mkdir dotnet
cd dotnet
tar xvf ../dotnet-sdk-10.0.100-osx-arm64.tar.gz
cd ..
DOTNET_ROOT=$(pwd)/dotnet ./dotnet/sdk/10.0.100/Roslyn/bincore/csc --help
This is a simplified version of what we're running into, here's a binlog of that: msbuild.binlog.zip
Expected behavior
csc succeeds
Actual behavior
+ ./dotnet/sdk/10.0.100/Roslyn/bincore/csc --help
Failed to create CoreCLR, HRESULT: 0x80070008
Regression?
Yes, this started happening in this maestro bump: dotnet/macios#24064 (first commit)
Known Workarounds
No response
Configuration
No response
Other information
No response