Skip to content

[release/7.0][wasm] RollForward needed for WasmAppHost on release/7.0 branch #79313

Description

@radical

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions