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

**URL:** <https://forums.unrealengine.com/t/microsoft-visual-c-runtime-no-longer-automatically-included-in-v5-1-builds/758116>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [January 27, 2023, 4:14pm UTC](https://forums.unrealengine.com/t/microsoft-visual-c-runtime-no-longer-automatically-included-in-v5-1-builds/758116 "2023-01-27T16:14:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Vityoki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vityoki](https://forums.unrealengine.com/u/Vityoki)\
**Post date:** [July 29, 2023, 8:43pm UTC](https://forums.unrealengine.com/t/microsoft-visual-c-runtime-no-longer-automatically-included-in-v5-1-builds/758116/4 "2023-07-29T20:43:39Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/9/209ca5189f08b8c94f68328f4de09e466c81069a.png)

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

```

And the main: -prereqs word in build command:

```auto
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:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/7/fb70f4ae6d3afaa38310b5862fbaac72bb850fe9.png)

---

_[View the full topic](https://forums.unrealengine.com/t/microsoft-visual-c-runtime-no-longer-automatically-included-in-v5-1-builds/758116)._
