Right now, build.ps1 uses msbuild system and compiles documentation whereas buildCoreClr.ps1 uses dotnet/cli.