Reported in dotnet/aspnetcore#65122 (comment).
I verified on 10.0.102 and it's a real issue.
The targets are in a state from before #120330. Is it possible that this change was not the real offender there?
Reproduction:
$env:PATH = "c:\Users\user\Downloads\dotnet-sdk-10.0.102-win-x64;$env:PATH"
$env:DOTNET_ROOT = "c:\Users\user\Downloads\dotnet-sdk-10.0.102-win-x64"
dotnet --version
dotnet workload install wasm-experimental
dotnet new wasmbrowser -o WasmBrowser
cd "C:\Program Files\Microsoft Visual Studio\18\Insiders\Common7\IDE"
.\devenv.com
- run with debugging (F5)
- popup with Failed to run the project with error "A fatal error has occurred loading the metadata for 'System.Private.CoreLib.dll'" appears
Dlls, including System.Private.Corelib are in the bin/Debug/net10.0 dir.
Binlog:
vs-build.zip