devenv.exe command line execution mode is not working as expected

Mao 0 Reputation points
2024-11-18T03:58:42.38+00:00

Hello! I was using devenv.exe command mode to compile the whole Unreal Engine source code. As the VS doc says, I constructed the following bat code:

"XXXXXX\devenv.exe" "xxxxxx\UE5.sln" /Rebuild "Development Editor|Win64" /Out "XXXXX/Rebuild.log"

I use the "/Rebuild" switch to recompile the whole solution, and that works well. However, when I open the VS IDE and run "Build Solution" after previous "Rebuild", there are build actions which means that there are changes cause an incremental build. But I did not touch any code which makes this weird. Can anyone give a workaround or solution to fix this. Many thanks.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,225 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.