# can open unreal engine in c++

**URL:** <https://forums.unrealengine.com/t/can-open-unreal-engine-in-c/1257034>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [August 10, 2023, 6:29pm UTC](https://forums.unrealengine.com/t/can-open-unreal-engine-in-c/1257034 "2023-08-10T18:29:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DepartedSouls](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DepartedSouls](https://forums.unrealengine.com/u/DepartedSouls)\
**Post date:** [August 10, 2023, 6:29pm UTC](https://forums.unrealengine.com/t/can-open-unreal-engine-in-c/1257034/1 "2023-08-10T18:29:21Z")

</div>

Im trying to open a blank new c++ project but I keep getting this. How do I fix it?  
An error occurred while trying to generate project files.

Running D:/unreal\_engine/UE\_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“C:/Users/epals/OneDrive/Documents/Unreal Projects/test/test.uproject” -game -rocket -progress  
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“C:/Users/epals/OneDrive/Documents/Unreal Projects/test/test.uproject” -game -rocket -progress  
‘dotnet’ is not recognized as an internal or external command,  
operable program or batch file.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [August 10, 2023, 8:11pm UTC](https://forums.unrealengine.com/t/can-open-unreal-engine-in-c/1257034/2 "2023-08-10T20:11:01Z")

</div>

First, have you actually installed all the necessary pre-requisites, and made sure to re-start your computer and open Visual Studio manually once, to make sure all the settings are updated?

Second, there are _tons_ of good hits when googling `‘dotnet’ is not recognized as an internal or external command, operable program or batch file` – have you tried the suggestions that come up there?

For example, this link:

> **[Issue opening project, error suggests manual rebuild](https://community.gamedev.tv/t/issue-opening-project-error-suggests-manual-rebuild/217187)**
>
> Whenever I try to open my project it says modules are missing and asks if I would you like to rebuild them. When I click yes, it says it could not be compiled, try building from source manually. This is my log file: project log file -...
