Generate cpp project Couldn't find UnrealBuildTool

Same exact issue for me

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

1 Like