I had a similar problem when rebuilding UE5.0.1.
At that time, the following message was displayed in the output.
4>------ ビルド開始: プロジェクト: UE5, 構成: Development_Editor x64 ------
4>Using bundled DotNet SDK
4>Log file: G:\UnrealEngine\Engine\Programs\UnrealBuildTool\Log.txt
4>Using ‘git status’ to determine working set for adaptive non-unity build (G:\UnrealEngine).
4>Creating makefile for UnrealEditor (UnrealBuildTool assembly is newer)
4>Creating makefile for ShaderCompileWorker (UnrealBuildTool assembly is newer)
4>Building UnrealEditor and ShaderCompileWorker…
4>Using Visual Studio 2019 14.29.30143 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
4>Determining max actions to execute in parallel (4 physical cores, 8 logical cores)
4> Executing up to 4 processes, one per physical core
4>Building 11 actions with 4 processes…
4>[1/11] Touch msado15.tlh
4>[1/11]Touch msado15.tlh - Error but no output
4>[1/11]Touch msado15.tlh - 1 G:\UnrealEngine\Engine\Source C:\WINDOWS\system32\cmd.exe /C “copy /b “G:\UnrealEngine\Engine\Plugins\Runtime\Database\ADOSupport\Intermediate\Build\Win64\UnrealEditor\Development\ADOSupport\msado15.tlh”+, “G:\UnrealEngine\Engine\Plugins\Runtime\Database\ADOSupport\Intermediate\Build\Win64\UnrealEditor\Development\ADOSupport\msado15.tlh” 1>nul:”
4>[2/11] GenerateTLH dte80a.cpp
4>[3/11] Touch dte80a.tlh
4>[4/11] Compile Module.VisualStudioSourceCodeAccess.cpp
4>[5/11] Link UnrealEditor-VisualStudioSourceCodeAccess.lib
4> ライブラリ …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.lib とオブジェクト …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.exp を作成中
4>[6/11] Link UnrealEditor-VisualStudioSourceCodeAccess.dll
4> ライブラリ …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.suppressed.lib とオブジェクト …\Plugins\Developer\VisualStudioSourceCodeAccess\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioSourceCodeAccess\UnrealEditor-VisualStudioSourceCodeAccess.suppressed.exp を作成中
4>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: コマンド “…..\Build\BatchFiles\Build.bat -Target=“UnrealEditor Win64 Development” -Target=“ShaderCompileWorker Win64 Development -Quiet” -WaitMutex -FromMsBuild” はコード 6 で終了しました。
4>プロジェクト “UE5.vcxproj” のビルドが終了しました – 失敗。
In my case, I got an error in the following two folders, so I deleted it and rebuilt it successfully.
- Engine\Plugins\Runtime\Database\ADOSupport\Intermediate\Build\Win64\UnrealEditor\Development\ADOSupport
- Engine\Intermediate\Build\Win64\UnrealEditor\Development\VisualStudioDTE