I get the same error;
DarkPhysics.lib(EngineSetup.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
Creating library Debug\BotWars.lib and object Debug\BotWars.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
libcpmtd.lib(xdebug.obj) : error LNK2001: unresolved external symbol __malloc_dbg
libcpmtd.lib(xdebug.obj) : error LNK2001: unresolved external symbol __free_dbg
libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
Debug\BotWars.exe : fatal error LNK1120: 3 unresolved externals
and I have above post's idea implemented by default.
My project compiles and runs in release mode (tried this after seeing this is how the samples are compiled)
However I need to be able to compile in debug mode for obvious reasons.