Hey, just fixed a similar problem and wanted to share what worked for me. It was probably a number of things, but the last thing I did that finally fixed it was opening ./Source/<Project>Editor.Target.cs and making sure this line was correct:
DefaultBuildSettings = BuildSettingsVersion.V5;
For some reason, mine was .V2 instead of V5. Probably should change it in <Project>.Target.cs too.