admin管理员组

文章数量:1125596

I recently updated my visual studios 2022 to the latest version (17.8.16 -> 17.12.3), and since that I've done such my Maui project shows that I have 99+ errors such as "Type or namespace name 'NavigationManager' could not be found" or "A Namespace cannot directly contain members such as fields, methods or statements" across multiple pages.

The project was stable and running perfectly in the previous version I was using.

Things I've tried:

  • dotnet restore
  • Clean and Rebuild the Solution
  • Update Nuget Packages
  • Clear bin and obj files
  • Clear Nuget Cache

The project uses 8

It seems like its something incredibly small that has suddenly caused random errors.

Any suggestions on other things to try would be greatly appreciated!

本文标签: androidUpdating Visual Studio breaks namespaces for my Blazor Maui projectStack Overflow