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 c
I had exactly the same problem and it turned out that some of the XAML files in my project were set to be built using the action 'XamlAppDef' (ie build it as a XAML Workflow) and when I turned it back to 'Compile', my Project dropdown instantly went from (Miscellaneous files) to the correct project.