I added simple class file to the project and it marked as Miscellaneous.
Usually the following actions helped me in this case:
- Unload and Reload a projects
- Close solution, delete .vs file and reload solution
But it didn't help me now.
I used Build Loging tool to see what's wrong and I found the next error:

