-
Couldn't load subscription status.
- Fork 5.2k
Closed
Labels
Milestone
Description
When using the 8.0 sdk, with wasm-tools-net7 workload, running a wasmconsole app targeting net7.0 fails with:
Running /datadisks/disk1/work/A9350902/w/96B708E1/e/dotnet-net7+latest/dotnet run --no-build -c Debug x y z
WorkingDirectory: /datadisks/disk1/work/A9350902/w/96B708E1/e/wbt/Debug_bigxe1ls.dn1
[-stderr] You must install or update .NET to run this application.
[-stderr]
[-stderr] App: /datadisks/disk1/work/A9350902/w/96B708E1/e/dotnet-net7+latest/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/7.0.0/WasmAppHost/WasmAppHost.dll
[-stderr] Architecture: x64
[-stderr] Framework: 'Microsoft.NETCore.App', version '7.0.0-rc.1.22423.16' (x64)
[-stderr] .NET location: /datadisks/disk1/work/A9350902/w/96B708E1/e/dotnet-net7+latest/
[-stderr]
[-stderr] The following frameworks were found:
[-stderr] 8.0.0-alpha.1.22605.1 at [/datadisks/disk1/work/A9350902/w/96B708E1/e/dotnet-net7+latest/shared/Microsoft.NETCore.App]
[-stderr]
[-stderr] Learn about framework resolution:
[-stderr] https://aka.ms/dotnet/app-launch-failed
[-stderr]
[-stderr] To install missing framework, download:
[-stderr] https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0-rc.1.22423.16&arch=x64&rid=ubuntu.18.04-x64
The reason being that WasmAppHost.dll was built with 7.0.0-rc1*, and without a RollForward setting, it fails to run with a 8.0 sdk.