intellisense error: Cannot find file 'CoreMinimal.h' in search paths (ReSharper installed)

Hi!

I’ve just updated a project to Unreal Engine 4.5.3, and it compiles perfectly in Visual Studio 2022 Enterprise, but I get this message:

I think the problem is than Unreal Engine path isn’t in the search path.

And it happens on every file:

I have regenerated the project files, rebuild the entire solution, delete the intermediate and saved folders, deleted the .vs folder and vsconfig file and then regenerated the project files. And all the times I get the same message.

Do you know how can I fix this?

By the way, I have ReSharper installed. I have cleared ReSharper’s cache and I still get the same message.

When I suspend ReSharper:

The project compiles, but now the problem is:

Thanks!

A rebuild and reload of the project (close down vs and run sln again) usually fixes this. It’s just intellisense not catching up to the code.

Thanks for your answer.

I have regenerated the project files, rebuild the entire solution, delete the intermediate and saved folders, deleted the .vs folder and vsconfig file and then regenerated the project files. And all the times I get the same message.

Did you add your module to your uproject? (In the "Modules": [ {}] area) Do you have it setup correctly?

Did you follow the instructions in the documentation?

Maybe unreal doesn’t register & acknowledge the files. It’s a bit like the .generated files if not setup as it should be.

There is a pretty good tutorial that shows step by step how to setup modules.

Never had any problems with then in vs myself.

Maybe you forgot to add your new module to the base build file?


Also your header file looks strange. It doesn’t follow normal module rules. Are you sure you are following the guidelines?

Here is an example project that I made where it is correctly implemented:

DoorModuleProject.zip (7.0 KB)

Just right click the uproject and generate the vs project from it.

As you can see the module is recognized in the project when adding a new c++ class

Thanks your answer, again.

I have updated the question with more details. This problem happens on every source file.

It seems like it’s not picking up the engine at all. I would suspend reshaper and maybe try a full on engine reinstall. It seems like for some reason your system is not picking up the engine’s paths, almost like the project isn’t generated correctly or it’s missing include paths.

Thanks for your help.

I have fixed the problem adding this to the *Target.cs files:

    DefaultBuildSettings = BuildSettingsVersion.V5;
    IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4;
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.