Skip to content

Microsoft.NET.Sdk.WebAssembly cause error NETSDK1082: There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'. #947

Open
@yeahg-dev

Description

@yeahg-dev

Hello.
I upgraded MSBuild Sdk from Microsoft.NET.Sdk.Web to Microsoft.NET.Sdk.WebAssembly as the documentation suggested.
(project's .NET version is 9)

Upgrading from previous versions of the Uno.Wasm.Bootstrap package

Moving from version 8.x to 9.x may require changing the used MSBuild SDK for your project.

If your project contains Sdk="Uno.Sdk", you will need to update the Uno.Sdk to 5.5 or later.
If your project contains Sdk="Microsoft.NET.Sdk.Web", you'll need to change it to Sdk="Microsoft.NET.Sdk.WebAssembly".

However, this causes the following error.

/usr/share/dotnet/sdk/9.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(495,5): error NETSDK1082: There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.

Is there anything I missed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions