no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'. #53671
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
question
Status: Resolved
Is there an existing issue for this?
Describe the bug
Describe the bug
I have an ASP.NET Core 8 app that mostly uses Blazor WebAssembly with razor views that connects with API written in .NET 8 and fetch data from Cosmos DB.
I am facing the TargetFramework issue, and I am not doing any code changes, the Blazor pages stopped working correctly.
As project itself is not building.
Error Message: Severity Code Description Project File Line Suppression State
Error NETSDK1082 There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'. WasmNew C:\Program Files\dotnet\sdk\8.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 491
Expected Behavior
.net 8 Blazor App should run and fetch data from API.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
8.0.101
Anything else?
I am using Visual Studio 2022 .
Here is the .csproj file.
Project.csproj.docx
The text was updated successfully, but these errors were encountered: