Compiling project with VS2017 (v141) toolchain

For Projects Edit → Editor Preferences → General → Source Code → Choose 2017

For Engine Source run “GenerateProjectFiles.bat -2017”