Hi! I want to compile my solution with command line, without open VS. after several attempts, I tried to run the command located in the “Build Command Line " section inside the property of the solution: — “D:\Program Files\UE4_4.23.1\Engine\Build\BatchFiles\Build.bat” -Target=“mygame_testEditor Win64 DebugGame -Project=”$(SolutionDir)$(ProjectName).uproject”" -Target=“ShaderCompileWorker Win64 Development” -WaitMutex -FromMsBuild —
but, when I run the command, I got an error: ERROR: Couldn’t find target rules file for target ‘DebugGame -WaitMutex -FromMsBuild’ in rules assembly ‘UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
Location: D:\Program Files\UE4_4.23.1\Engine\Intermediate\Build\BuildRules\UE4Rules.dll
Target rules found:
if I use this with only one target, it works fine ( only my solution, or only ShaderCompileWorker ), how can I compile both files with only one command? is it possible replicate the command that VS use? or am I missing a settings?
P.S. I have VS 19, UE 4.23