Building from source using MSBuild.bat broken

I am trying to build Unreal Engine from source via command line using MSBuild.bat. I have tried vanilla 4.26.2, custom engine version and 4.27.
I am not able to build one since I am getting errors about HoloLensPlatformMemory and HeadlessChaos.

Engine/Source/Programs/HeadlessChaos/Private/HeadlessChaosApp.cpp(428): error C4447: 'main' signature found without threading model. Consider using 'int main(Platform::Array<Platform::String^>^ args)'

Engine/Source/Runtime/Core/Private/HoloLens/HoloLensPlatformMemory.cpp(65): error C2061: syntax error: identifier 'FMallocTBB'

I am using latest VS (16.11.3) and Windows SDK version10.0.

Thanks in advance for any help !

Thanks to mr Roderick I found what I was looking for:

Now I can build via MSBuild from command line :slight_smile: