-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
I have a client API project which uses Microsoft.AspNetCore.JsonPatch nuget to be able to call PATCH requests with JsonPatchDocument<>.
When upgrading to version 10 either with Microsoft.AspNetCore.JsonPatch or Microsoft.AspNetCore.JsonPatch.SystemTextJson, my blazor-wasm project is not compiling anymore. It seems the JsonPatch is having a link to aspnet SDK.
The build error:
>C:\Program Files\dotnet\sdk\10.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(544,5): error NETSDK1082: There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.
Expected Behavior
IMO, this package should work in blazor wasm projects
Steps To Reproduce
Create a Blazor Web App with in Auto mode.
Add reference to Microsoft.AspNetCore.JsonPatch 10.0.0 in the App.Client project
Build
Exceptions (if any)
No response
.NET Version
10.0
Anything else?
No response
Copilot
Metadata
Metadata
Assignees
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions