This is a weird one. I have a C# Class Library project within my solution. If I open a .cs file within this project, the Project drop-down on the code editor shows that it belongs to 'Miscellaneous Files'.

Other symptoms: if I go to the properties of the project and look at Assembly Information, all values are blank, despite the values existing in the AssemblyInfo.cs file.
Both of these are annoying, but the problem is that

I have tried:
.csproj file and comparing to others in the solution (no joy).csproj file and overwriting the old one (worked until I merged the branch into trunk, then the problem re-appeared)Google has turned up nothing. Does anyone have any ideas as to what's going on here?
When a user opens project items, the IDE assigns to the Miscellaneous Files project any items that are not members of any projects in a solution. Projects play a significant role in determining which editor is used when a user opens a project item.
How I solved my issue:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With