How to properly configure Build.cs to include Public headers in Private cpp files?

Visual C++ doesnt see path for include files from Public catalog, if i try to include them inside Private catalog’s cpp files.

Everything is compiling fine though, but VC++ intellisense is broken.

i have following in my Build.cs, but it doesnt help:

			PublicIncludePaths.AddRange(
				new string[] {
                    "Runtime/GameCore/Public",
				}
			);

			PrivateIncludePaths.AddRange(
				new string[] {
					"Runtime/GameCore/Private",
				}
			);

I dont understand, i have almost the same config as Developer/AITestSuite, but AITestSuite easily include AITestSuite.h which is located inside Public and VC++ intellisence recognize it. But my module doesnt recognize Public headers, when i include them inside Private cpp files. BUG?

Did you clean out your Binaries, Build, Intermediate and DerivedDataCache folders? I had an issue with dependency modules not being picked up when changing Build.cs unless cleaning out the project first. Maybe it’s related.