All razor pages not processing and all dependencies have warnings

Justin Asmussen 21 Reputation points

I have a Blazor web assembly project running on .NET 5 that is showing several errors on every .razor page in my "Client" project. Every bit of the razor code on every page is underlined red. All the packages in the dependencies folder show yellow icons. I have tried a clean and rebuild, deleting the bin, obj and vs directories. I've restarted and rebooted. I cleared nuget cache and restored. Nothing has worked. The problem seems to be isolated to this solution. The last thing I did before this happened was try to rename a partial class. Before that everything build and ran fine.

Any ideas what is going on?

I'm desperate!


A set of technologies in the .NET Framework for building web applications and XML web services.
2,546 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,471 Reputation points

    Hi JustinAsmussen-8946,
    You can repost your question on the GitHub BlazorForum for more professional answer.
    Best Regards,
    Daniel Zhang

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments