Hello @mion shion ,
Welcome to Microsoft Q&A forum.
Please check following suggestions and let us know if the issue disappears:
Create a new project and check if the same error appears.
If the same error appears, please try following:
- Repair VS from VS Installer => More => Repair.
- Create another new project and save it to another clean folder and open to check if the error persists.
- Update VS.
- Disable installed extensions temporarily and test again.
If the same error doesn’t appear, please try following:
- Unload and reload your project(right-click your project => Unload Project => right-click it again => Reload Project).
- Clean, manually remove cache files/folders(.vs, bin, obj folders) and rebuild your project(Build => Clean Solution, Build => Rebuild Solution).
- If you changed any codes, or settings in your project, please let us know.
Feel free to contact us.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.