© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
22 replies
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'.
There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.
only when including a
ProjectReference
ProjectReference
to another project in my solution in a Blazor WASM project. Both projects are targeting
net7.0
net7.0
. Do I have to do something special to get the project reference to work properly with WASM or something?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Blazor Wasm Static Content Error
C#CC# / help
11mo ago
Blazor WASM project has logic error involving data fetching
C#CC# / help
3y ago
Error when migrating from Legacy Blazor WASM into Blazor 8 ServerInteractive
C#CC# / help
17mo ago