UE Cannot access visual studio

I tried to create new project twice in UE 4.18 version. When i tried to compile code immediately after creating project, output log said it cannot access visual studio. I also tried to create new c++ class - it doesnt helped. all projects were c++ based.

In 4.17.2 new project everything works well.

There are also 2 strange things only happens in fresh 4.18 project:

  1. When i open c++ file in 4.18 CB, it will load specific file but then it loading another visual studio, so i ended up with 2 VS opened…

  2. When i close and re-open project, it says “modules are missing or built with different version” and asking for re-build… everytime.

As you can see in images, i already have opened and loaded VS when i doubleclicked file in CB, but it also opening second VS… + message about rebuilding fresh reopened project.

Hi,
So i tried to build project in VS and its working… Compile in UE not but build in VS yes.
When i clicked build in VS i dont get anymore error about rebuilding modules (which was this error https://i.imgur.com/Nkhmn9W.jpg), so i think we can close this topic because same issue was already registered.
Thanks.

Hi Name368,

The issue with Visual Studio opening twice when trying to open a code class from the Editor has already been reported in UE-51608.

What is the exact error message that you are seeing when you try to build a code project in Visual Studio?