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

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

Compiled mostly without problems (something related to chaos tests).

both vs2017 and vs2019 have this error while compiling ue4.27.0

The fix for me was to comment out the WINAPI_PARTITION_GAMES part, then build.

Just keep the first part, close the parentheses, then // | WINAPI_PARTITION_GAMES)