Unreal生成VS工程文件异常处理
<table>
<thead>
<tr>
<th>作者</th>
<th>QFord</th>
</tr>
</thead>
<tbody>
<tr>
<td>更新时间</td>
<td>2024-7-10</td>
</tr>
<tr>
<td>版本</td>
<td>V0.0.1</td>
</tr>
</tbody>
</table>
<p>问题1:
生成VS工程文件失败,提示如下:
Running E:/Program Files/Epic Games/UE_5.4/Engine/Build/BatchFiles/Build.bat -projectfiles -project="E:/virtual-lab-unreal/VLabUE/VLabUE.uproject" -game -rocket -progress -log="E:\virtual-lab-unreal\VLabUE/Saved/Logs/UnrealVersionSelector-2024.07.10-15.49.28.log"
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet "....\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -projectfiles -project="E:/virtual-lab-unreal/VLabUE/VLabUE.uproject" -game -rocket -progress -log="E:\virtual-lab-unreal\VLabUE/Saved/Logs/UnrealVersionSelector-2024.07.10-15.49.28.log"
Cannot use file stream for [E:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.deps.json]: No such file or directory
Could not resolve CoreCLR path. For more details, enable tracing by setting COREHOST_TRACE environment variable to 1</p>
<p>解决方案:
打开 E:\Program Files\Epic Games\UE_5.4\Engine\Source\Programs\UnrealBuildTool 目录下的 UnrealBuildTool.sln 解决方案文件。
在Visual Studio中重新生成(Rebuild)该解决方案。</p>