Cannot compile from within the Editor

Hello, I just started out with UE4 and found myself left in the dark as I do not quite understand this error message,
please help.

After trying to compile my ‘Test’ project from within the Editor this error popped up:

/* 
ERROR: Couldn't find target rules file for target '-FailIfGeneratedCodeChanges' in rules assembly '-FailIfGeneratedCodeChanges_EditorRecompileModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
        
Location: C:\Users\aeoeaa\Documents\Unreal Projects\test\Intermediate\Build\BuildRules\-FailIfGeneratedCodeChanges_EditorRecompileModuleRules.dll
        
Target rules found:
UE4Game - D:\Unreal Engine\4.0\Engine\Source\UE4Game.Target.cs
test - C:\Users\aeoeaa\Documents\Unreal Projects\test\Source\test.Target.cs 
testEditor - C:\Users\aeoeaa\Documents\Unreal Projects\test\Source\testEditor.Target.cs 
*/

Any help is very much appreciated !

Editor comple buttons i buggy in general right now

basically all I’m doing is this:

  1. Start a new C++ project

  2. Build in VS

  3. Try to compile in the Editor and get that error which I mentioned above.

Am I missing something?