C#C
C#3y ago
Thinker

✅ Error when including a project reference in a Blazor WASM project

I'm getting an error There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'. only when including a ProjectReference to another project in my solution in a Blazor WASM project. Both projects are targeting net7.0. Do I have to do something special to get the project reference to work properly with WASM or something?
Was this page helpful?