Microsoft Visual C++ Runtime no longer automatically included in V5.1 Builds?

Hi, guys, I resolved it with adding to DefaultGame.ini (you can do it with Editor → Project Settings → Package ->…):

[/Script/UnrealEd.ProjectPackagingSettings]
ApplocalPrerequisitesDirectory=(Path="$(EngineDir)/Binaries/ThirdParty/AppLocalDependencies")

And the main: -prereqs word in build command:

call "%UE_PATH%\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -project="%CI_PROJECT_DIR%\%PROJECT_NAME%.uproject" -noP4 -clientconfig=%BUILD_CONFIGURATION% -serverconfig=%BUILD_CONFIGURATION% -installed -unrealexe="%UE_PATH%%UE_RELATIVE_EXE%" -utf8output -platform=Win64 -build -cook -allmaps -CookCultures=en -unversionedcookedcontent -prereqs -stage -package -stagingdirectory="%BUILDS_PATH%\%PROJECT_NAME%"

Or 2nd variant if you are using Custom Launch Profile then:

1 Like