# Is it OK to use Visual Studio 2019 to compile UE4.27?

**URL:** <https://forums.unrealengine.com/t/is-it-ok-to-use-visual-studio-2019-to-compile-ue4-27/247534>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub\
**Created:** [August 27, 2021, 12:44am UTC](https://forums.unrealengine.com/t/is-it-ok-to-use-visual-studio-2019-to-compile-ue4-27/247534 "2021-08-27T00:44:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gpu2015](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpu2015](https://forums.unrealengine.com/u/gpu2015)\
**Post date:** [August 27, 2021, 8:43am UTC](https://forums.unrealengine.com/t/is-it-ok-to-use-visual-studio-2019-to-compile-ue4-27/247534/3 "2021-08-27T08:43:39Z")

</div>

> [@Branch 4.27](https://forums.unrealengine.com/t/branch-4-27/230021):
>
> Get Error compiling from source UE 4.27 C++ 2017 any ideas how to fix this? Has anyone managed to compile this build? G :\UnrealEngine-\>G:\UnrealEngine-4.27\Engine\Source\ThirdParty\Windows\DirectX\include\d3d12.h(430): error C4668: ‘WINAPI\_PARTITION\_GAMES’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’\Engine\Source\ThirdParty\Windows\DirectX\include\d3d12.h(430): error C4668: ‘WINAPI\_PARTITION\_GAMES’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#…

---

_[View the full topic](https://forums.unrealengine.com/t/is-it-ok-to-use-visual-studio-2019-to-compile-ue4-27/247534)._
