Unreal Engine5: ERROR: Windows SDK must be installed in order to build this target

I am trying to make a simple c++ project in unreal engine. I have installed the visual studio 2022. I also installed the window sdk for window 11. I also install the dotnet 3.1 version. But after all this when I want to open some project and select C++ instead of blueprints unreal engine give me this error.

An error occurred while trying to generate project files.
Running D:/Unreal engine/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project="C:/Users/alikj/OneDrive/Desktop/MyProject/MyProject.uproject" -game -rocket -progress
Log file: C:\Users\alikj\AppData\Local\UnrealBuildTool\Log_GPF.txt
Some Platforms were skipped due to invalid SDK setup: Win64, Android.
See the log file for detailed information
Discovering modules, targets and source code for project...
ERROR: Windows SDK must be installed in order to build this target.

I have no idea what should I do, I search Youtube and all the other sites on google. If some body has answer to that please help me,

I want to safely open the project with C++

1

1 Answer

You can try this it worked for me... Go to the project folder and remove the intermediate, binaries and build folders. Then try running the .uproject file. I hope that works !

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like