This issue happened initially with visual studio 2017. I tried to solve the problem by following the instructions to install visual studio 2022 with Unreal development features, and installed the UnrealVS extension.
Someone please help, I have been searching online and trying myself to solve this issue and haven’t made any progress. I need the ability to code in C++ to continue my project, this issue is driving me insane.
I think these errors about failing to open platform-specific source files are close to the root of the issue.
I finally got it working. I had to remove my code file from the project and re-make it through the tools drop-down in Unreal. I think the issue was that I had not used the Unreal editor to add a new code file after I properly installed Visual Studio with Unreal modules included.
Thanks for the suggestion, I’ve seen it elsewhere, but I’m still learning Unreal and don’t want to pay for a code editor. I also want to know how to solve these types of issues and become a better problem solver rather than sweep them under the rug.