Must new c++ Code be added from editor?

Delete “DependencyCache.bin” and build project.
ex) Unreal Projects\ProjectM\Intermediate\Build\ProjectMEditor\DependencyCache.bin