# Generate cpp project Couldn't find UnrealBuildTool

**URL:** <https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288>\
**Category:** Plugins\
**Tags:** unreal-engine, UE5-0\
**Created:** [May 26, 2021, 7:44pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288 "2021-05-26T19:44:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![xhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xhn](https://forums.unrealengine.com/u/xhn)\
**Post date:** [May 26, 2021, 7:44pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/1 "2021-05-26T19:44:12Z")

</div>

I have problem with generate cpp project

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/2/a20ff895ef394107e62d207e66edb599c1e9cc52.png)  
But in DotNET isnt exe file but UnrealBuildTool folder  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/2/b2150a6073ddf9ae67a81301d5dc16590d5bc16d.png)

---

<div class="post-metadata">

**Author:** ![Chosker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chosker/32/710746_2.png) [@Chosker](https://forums.unrealengine.com/u/Chosker)\
**Post date:** [May 26, 2021, 9:00pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/2 "2021-05-26T21:00:05Z")

</div>

having the same issue. tried to Verify but didn’t work either ☹

---

<div class="post-metadata">

**Author:** ![L1v3i](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@L1v3i](https://forums.unrealengine.com/u/L1v3i)\
**Post date:** [May 26, 2021, 9:04pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/3 "2021-05-26T21:04:07Z")

</div>

For now, i had to copy the contents from the UnrealBuildTool folder to the DotNET folder…

---

<div class="post-metadata">

**Author:** ![xhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xhn](https://forums.unrealengine.com/u/xhn)\
**Post date:** [May 26, 2021, 9:05pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/4 "2021-05-26T21:05:48Z")

</div>

after copy

Running E:/unrealEngine/UE\_5.0EA/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“E:/unrealProjects/Mag/Mag.uproject” -game -rocket -progress -log=“E:\unrealProjects\Mag/Saved/Logs/UnrealVersionSelector-2021.05.26-23.04.54.log”  
ERROR: Unhandled exception: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘E:\unrealEngine\Engine\Source’.  
at System.Environment.set\_CurrentDirectoryCore(String value)  
at System.Environment.set\_CurrentDirectory(String value)  
at System.IO.Directory.SetCurrentDirectory(String path)  
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 467

---

<div class="post-metadata">

**Author:** ![lagacy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lagacy](https://forums.unrealengine.com/u/lagacy)\
**Post date:** [May 26, 2021, 9:08pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/5 "2021-05-26T21:08:52Z")

</div>

I have the same problem… Seem that the hierarchy used in UE5 is different since it store the UnrealBuildTool.exe in its own UnrealBuildTool folder. I tried many things like moving everything in the subfolder in the DotNET and it gives a post execution error.

Also tried adding a path variable, checking the installation, just moving the .exe alone and using cmd and nothing seems to work.

UBT for the moment just works by doing it through the editor.

I will try some more stuffs but this is a big let down for the moment

---

<div class="post-metadata">

**Author:** ![L1v3i](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@L1v3i](https://forums.unrealengine.com/u/L1v3i)\
**Post date:** [May 26, 2021, 9:16pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/6 "2021-05-26T21:16:05Z")

</div>

For this problem i created a symbolic link that maps to the Engine folder.

My install location is _C:\Program Files\Epic Games\UE\_5.0EA_

I created the sym link in \*C:\Program Files\Epic Games\* with `mklink Engine UE_5.0EA\Engine`

This is very meh, but i just wanted to open the editor xD

---

<div class="post-metadata">

**Author:** ![xhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xhn](https://forums.unrealengine.com/u/xhn)\
**Post date:** [May 26, 2021, 9:24pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/7 "2021-05-26T21:24:30Z")

</div>

ok  
UnrealBuildTool.exe -projectfiles -project=“E:/unrealProjects/Mag/Mag.uproject” -game -rocket -progress

run from cmd work

---

<div class="post-metadata">

**Author:** ![Sarlack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sarlack/32/1194542_2.png) [@Sarlack](https://forums.unrealengine.com/u/Sarlack)\
**Post date:** [May 27, 2021, 4:45am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/8 "2021-05-27T04:45:31Z")

</div>

To get the engine files in your solution you need to add -engine.

UnrealBuildTool.exe -projectfiles -project=“C:\UnrealProjects\ProjectFolder\ProjectName.uproject” -game -engine -rocket -progress

---

<div class="post-metadata">

**Author:** ![JLBXB3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JLBXB3](https://forums.unrealengine.com/u/JLBXB3)\
**Post date:** [May 27, 2021, 5:07am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/9 "2021-05-27T05:07:06Z")

</div>

Same issue. All of the suggestions above didn’t solve the problem.

---

<div class="post-metadata">

**Author:** ![BtotheLaker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/btothelaker/32/88719_2.png) [@BtotheLaker](https://forums.unrealengine.com/u/BtotheLaker)\
**Post date:** [May 27, 2021, 5:27am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/10 "2021-05-27T05:27:20Z")

</div>

I also had to install dotnet 3.1.something runtimes to get it working via command line (even though I had no issues with missing runtimes for UE4)

---

<div class="post-metadata">

**Author:** ![user\_03f0a1364975325bb3762b9b0e48114788315f551ac1f0f104b5b5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_03f0a1364975325bb3762b9b0e48114788315f551ac1f0f104b5b5](https://forums.unrealengine.com/u/user_03f0a1364975325bb3762b9b0e48114788315f551ac1f0f104b5b5)\
**Post date:** [May 27, 2021, 6:52am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/11 "2021-05-27T06:52:19Z")

</div>

Me too

---

<div class="post-metadata">

**Author:** ![Schnittbrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/schnittbrot/32/482168_2.png) [@Schnittbrot](https://forums.unrealengine.com/u/Schnittbrot)\
**Post date:** [May 27, 2021, 7:51am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/12 "2021-05-27T07:51:33Z")

</div>

Same issue here,  
Now after installing Dotnet 5.0, 3.1, Visual Studio 2019 and using the command line I get this:

> ERROR: Unhandled exception: System.Exception: Unable to find project file based on argument C:\Users\Schnittbrot\Documents\Unreal Projects\Pariser\_Platz\_5.0\PariserPatz.uproject  
> at UnrealBuildTool.GenerateProjectFilesMode.TryParseProjectFileArgument(CommandLineArguments Arguments, FileReference& ProjectFile) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:line 302  
> at UnrealBuildTool.GenerateProjectFilesMode.Execute(CommandLineArguments Arguments) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:line 83  
> at UnrealBuildTool.UnrealBuildTool.Main(String ArgumentsArray) in d:\build++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 565

---

<div class="post-metadata">

**Author:** ![ixicalibur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ixicalibur](https://forums.unrealengine.com/u/ixicalibur)\
**Post date:** [May 27, 2021, 7:54am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/13 "2021-05-27T07:54:39Z")

</div>

[Same exact issue for me](https://forums.unrealengine.com/t/workaround-tips-for-error-generating-visual-studio-project-files/231453/2)

_Might_ have a solution. After going through the SLN file of a new UE5 code project (create a new code project from the launcher), I saw that there wasn’t really much to it, just seems to be references to a bunch of folders and such, so I compared it to my UE4 one, the only difference is the reference numbers (which I assume are engine specific) and a reference to the project name.  
I copied the new one to my project, moved my old one to desktop and then renamed the new one to the original name, opened the SLN with word and changed the project name (hilighted green in the picture) and then saved/closed. Double clicked it and VS opened with the project right away.  
Now I just have to go through my .Uproject and change the engine association in it from “EngineAssociation”: “4.26”,  
to  
“EngineAssociation”: “5.0EA”,  
Set all 3rd party plugins to “false”  
Here’s the raw code that you can paste into your SLN file, you just have to change the project name 2 times on line twelve (12) or eleven (11) Different text editors show an extra line up top. Change “ShadowWars” to your projects name.  
**Still unclear on how to get “UE5” to show in VS, but this is progress at least for me.**  
Edit: overwrite everything in your SLN file with this code, don’t leave anything from the original.

```
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28315.86
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Engine", "Engine", "{233774A8-CC9D-3FA9-86D1-90573E92B704}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Games", "Games", "{DE1F8B53-6C02-3C13-9101-A7C8D96F3FF6}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UE5", "Intermediate\ProjectFiles\UE5.vcxproj", "{84BC08E9-3996-3C61-846C-1DC763A9A7FE}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ShadowWars", "Intermediate\ProjectFiles\ShadowWars.vcxproj", "{D22450D3-56DD-33E3-94CA-71C72ACB00BC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Visualizers", "Visualizers", "{1CCEC849-CC72-4C59-8C36-2F7C38706D4C}"
	ProjectSection(SolutionItems) = preProject
		..\..\..\..\..\Program Files\Epic Games\UE_5.0EA\Engine\Extras\VisualStudioDebugging\Unreal.natvis = ..\..\..\..\..\Program Files\Epic Games\UE_5.0EA\Engine\Extras\VisualStudioDebugging\Unreal.natvis
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		DebugGame Editor|Win64 = DebugGame Editor|Win64
		DebugGame|Win64 = DebugGame|Win64
		Development Editor|Win64 = Development Editor|Win64
		Development|Win64 = Development|Win64
		Shipping|Win64 = Shipping|Win64
	EndGlobalSection
	# UnrealVS Section
	GlobalSection(ddbf523f-7eb6-4887-bd51-85a714ff87eb) = preSolution
		AvailablePlatforms=Win64
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{84BC08E9-3996-3C61-846C-1DC763A9A7FE}.DebugGame Editor|Win64.ActiveCfg = BuiltWithUnrealBuildTool|Win64
		{84BC08E9-3996-3C61-846C-1DC763A9A7FE}.DebugGame|Win64.ActiveCfg = BuiltWithUnrealBuildTool|Win64
		{84BC08E9-3996-3C61-846C-1DC763A9A7FE}.Development Editor|Win64.ActiveCfg = BuiltWithUnrealBuildTool|Win64
		{84BC08E9-3996-3C61-846C-1DC763A9A7FE}.Development|Win64.ActiveCfg = BuiltWithUnrealBuildTool|Win64
		{84BC08E9-3996-3C61-846C-1DC763A9A7FE}.Shipping|Win64.ActiveCfg = BuiltWithUnrealBuildTool|Win64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.DebugGame Editor|Win64.ActiveCfg = DebugGame_Editor|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.DebugGame Editor|Win64.Build.0 = DebugGame_Editor|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.DebugGame|Win64.ActiveCfg = DebugGame|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.DebugGame|Win64.Build.0 = DebugGame|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.Development Editor|Win64.ActiveCfg = Development_Editor|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.Development Editor|Win64.Build.0 = Development_Editor|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.Development|Win64.ActiveCfg = Development|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.Development|Win64.Build.0 = Development|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.Shipping|Win64.ActiveCfg = Shipping|x64
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC}.Shipping|Win64.Build.0 = Shipping|x64
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(NestedProjects) = preSolution
		{84BC08E9-3996-3C61-846C-1DC763A9A7FE} = {233774A8-CC9D-3FA9-86D1-90573E92B704}
		{D22450D3-56DD-33E3-94CA-71C72ACB00BC} = {DE1F8B53-6C02-3C13-9101-A7C8D96F3FF6}
	EndGlobalSection
EndGlobal

```

 ![screencapture-text-compare-2021-05-28-01_40_13](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/5/e592a429e4c66dfa37e395e602424a5af12a815e.jpeg) ![2021-05-28 01_39_11-Greenshot](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/9/e965268a4ab9ef9b29c95dce9b80e8d5ac716f5d.png)

---

<div class="post-metadata">

**Author:** ![RatByteOfficial](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RatByteOfficial](https://forums.unrealengine.com/u/RatByteOfficial)\
**Post date:** [May 27, 2021, 9:29am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/14 "2021-05-27T09:29:31Z")

</div>

> [@Sarlack](#):
>
> -engine

Don´t understand it , can you explain it a bit better how i get it fixed?

---

<div class="post-metadata">

**Author:** ![KillerSneak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killersneak/32/754802_2.png) [@KillerSneak](https://forums.unrealengine.com/u/KillerSneak)\
**Post date:** [May 27, 2021, 6:28pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/15 "2021-05-27T18:28:56Z")

</div>

Use something like

“D:\<your install folder\>\Epic Games\UE\_5.0EA\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe” -projectfiles -project=“D:\DNATG\UE5\ValleyoftheAncient\ValleyoftheAncient.uproject” -game -Engine -rocket -progress

should work

---

<div class="post-metadata">

**Author:** ![Sarlack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sarlack/32/1194542_2.png) [@Sarlack](https://forums.unrealengine.com/u/Sarlack)\
**Post date:** [May 27, 2021, 7:54pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/16 "2021-05-27T19:54:22Z")

</div>

> [@RatByteOfficial](#):
>
> Don´t understand it , can you explain it a bit better how i get it fixed?

You need to start Windows Command Prompt

Then go to the drive UE5 is installed on, for me it was G  
Typed g:

Then go to the directory where UnrealBuildTool.exe is located.  
cd YourInstallFolder\Engine\Binaries\DotNET\UnrealBuildTool

Then run the UBT  
UnrealBuildTool.exe -projectfiles -project=“C:\UnrealProjects\ProjectFolder\ProjectName.uproject” -game -engine -rocket -progress

---

<div class="post-metadata">

**Author:** ![KillerSneak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killersneak/32/754802_2.png) [@KillerSneak](https://forums.unrealengine.com/u/KillerSneak)\
**Post date:** [May 27, 2021, 8:06pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/17 "2021-05-27T20:06:35Z")

</div>

“D:\<your UE5 install directory\>\Epic Games\UE\_5.0EA\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe” -projectfiles -project=“D:\<your project install directory\>\ValleyoftheAncient\ValleyoftheAncient.uproject” -game -Engine -rocket -progress

Should work

---

<div class="post-metadata">

**Author:** ![Burnrate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Burnrate](https://forums.unrealengine.com/u/Burnrate)\
**Post date:** [May 27, 2021, 10:21pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/19 "2021-05-27T22:21:34Z")

</div>

I tried the command line approach using the UnrealBuildTool.exe located in the DotNET\UnrealBuildTool folder. It completed successfully but left me with several errors when trying to build in VS. (listed below)

EDIT: I made ton of files NOT read only and the project built successfully but still fails to load (gets stuck at 75% Exception thrown at 0x00007FFDA32055BA (UnrealEditor-RHI.dll) in UnrealEditor.exe: 0xC0000005: Access violation reading location 0x0000000000000110.)

> Rebuild started…  
> Restored U:\Program Files\Epic Games\UE\_5.0EA\Engine\Source\Programs\AutomationToolLauncher\AutomationToolLauncher.csproj (in 37 ms).  
> Restored U:\Program Files\Epic Games\UE\_5.0EA\Engine\Source\Programs\Shared\EpicGames.Perforce\EpicGames.Perforce.csproj (in 185 ms).  
> 1\>------ Rebuild All started: Project: EpicGames.Core, Configuration: Development Any CPU ------  
> NuGet package restore failed. Please see Error List window for detailed warnings and errors.  
> Error occurred while restoring NuGet packages: Access to the path ‘U:\Program Files\Epic Games\UE\_5.0EA\Engine\Source\Programs\Shared\EpicGames.Jupiter\obj\EpicGames.Jupiter.csproj.nuget.g.props’ is denied.  
> 1\>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5488,5): error MSB3491: Could not write lines to file “obj\Development\netcoreapp3.1\EpicGames.Core.csproj.FileListAbsolute.txt”. Access to the path ‘U:\Program Files\Epic Games\UE\_5.0EA\Engine\Source\Programs\Shared\EpicGames.Core\obj\Development\netcoreapp3.1\EpicGames.Core.csproj.FileListAbsolute.txt’ is denied.  
> 1\>Done building project “EpicGames.Core.csproj” – FAILED.  
> 2\>------ Rebuild All started: Project: BuildUtilities, Configuration: Development Any CPU ------  
> 2\>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5488,5): error MSB3491: Could not write lines to file “obj\Development\netcoreapp3.1\BuildUtilities.csproj.FileListAbsolute.txt”. Access to the path ‘U:\Program Files\Epic Games\UE\_5.0EA\Engine\Source\Programs\DotNETCommon\BuildUtilities\obj\Development\netcoreapp3.1\BuildUtilities.csproj.FileListAbsolute.txt’ is denied.  
> 2\>Done building project “BuildUtilities.csproj” – FAILED.  
> 3\>------ Rebuild All started: Project: UnrealBuildTool, Configuration: Development Any CPU ------  
> 3\>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(5488,5): error MSB3491: Could not write lines to file “obj\Development\UnrealBuildTool.csproj.FileListAbsolute.txt”. Access to the path ‘U:\Program Files\Epic Games\UE\_5.0EA\Engine\Source\Programs\UnrealBuildTool\obj\Development\UnrealBuildTool.csproj.FileListAbsolute.txt’ is denied.  
> 3\>Done building project “UnrealBuildTool.csproj” – FAILED.  
> 4\>------ Rebuild All started: Project: [ProjectName], Configuration: Development\_Editor x64 ------  
> 4\>‘Error\_UBTMissing’ is not recognized as an internal or external command,  
> 4\>operable program or batch file.  
> 4\>‘[ProjectName]Editor’ is not recognized as an internal or external command,  
> 4\>operable program or batch file.  
> 4\>‘“U:\Program Files\Epic Games\UE\_5.0EA\Engine\Build\BatchFiles\GetDotnetPath.bat”’ is not recognized as an internal or external command,  
> 4\>operable program or batch file.  
> 4\>Win64 using Manual SDK 10.0.18362.0  
> 4\>Target is up to date  
> 4\>Total execution time: 0.66 seconds  
> ========== Rebuild All: 1 succeeded, 3 failed, 0 skipped ==========

---

<div class="post-metadata">

**Author:** ![KillerSneak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killersneak/32/754802_2.png) [@KillerSneak](https://forums.unrealengine.com/u/KillerSneak)\
**Post date:** [May 28, 2021, 8:47am UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/20 "2021-05-28T08:47:30Z")

</div>

I have not been successfully been able to build in VS neither yet. It has to do with the package managers (NuGet)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c79ef985](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c79ef985](https://forums.unrealengine.com/u/anonymous_user_c79ef985)\
**Post date:** [May 28, 2021, 8:56pm UTC](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288/21 "2021-05-28T20:56:27Z")

</div>

Worked for me thanks!

[Next page](https://forums.unrealengine.com/t/generate-cpp-project-couldnt-find-unrealbuildtool/231288.md?page=2)
