After installing the UnrealVS version that arrived with 5.3. I can no longer use CompileSingleFile. It does however work on the Lyra project. One difference I notived, however, is that Lyra seems to be placed within UE5, e.g.
/UE5/Samples/Games/Lyra/Lyra.uproject
/UE5/Engine/Build/BuildBatchFiles/Build.bat
Whereas our project is beside the UE5 path with our own solution
/UE5/Engine/Build/BuildBatchFiles/Build.bat
/MyProject/MyProject.sln
Not sure if it's related, but I saw that there was a fix to CompileSingleFile.cs that added a hard coded relative path:
BuildCommandLine = BuildCommandLine.Replace("$(BuildBatchScript)", "..[Link Removed]");
which to me seems like it could be related.
1>------ Build started: Project: MyProject, Configuration: DebugGame_Editor x64 ------1> Compiling D:\projects\dev\MyProject\Source\TestFile.cpp1> The system cannot find the path specified.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-196978 in the post.
2 |
Component | UE - Foundation - Cpp Tools - UnrealVS |
---|---|
Affects Versions | 5.3 |
Target Fix | 5.4 |
Fix Commit | 29899891 |
---|---|
Main Commit | 29899924 |
Created | Oct 2, 2023 |
---|---|
Resolved | Nov 22, 2023 |
Updated | Jan 8, 2024 |