You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft.NET.Sdk.WebAssembly cause error NETSDK1082: There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'. #947
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)
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'.