Thanks to @Jabbo16 for mentioning this in BWAPI4J Discord:
Jabbo / Ecgberht: found this: https://github.com/Microsoft/vswhere Could be a better way to search for MSBuild
Currently, we use a Gradle script to determine/guess the user's path to VsDevCmd.bat which is a Windows batch file for VS2017 that prepares the command prompt environment to use MSBuild.exe and other VS tools. I haven't tested vswhere yet but it could be a good replacement.
I consider this to be semi-related to Issue #73.