I am getting this error "Info ERROR: Couldn't find target rules file for target " when compiling in Editor Why

I added Shootergame project to me UE4 engine folder (i.e. the folder that i pulled from Github). In VS the project builds and starts fine, but when I try to compile in editor it doesn’t compile and it get this error Info ERROR: Couldn’t find target rules file for target ‘MyShooter’ in rules assembly ‘MyShooter_EditorRecompileModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.