GP-2928: Better error handling and documentation for unsupported

versions of visual studio
This commit is contained in:
Ryan Kurtz
2022-12-07 12:40:53 -05:00
parent 1bf953fc2a
commit 1fee517024
3 changed files with 17 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ task CheckToolChain {
if (isCurrentWindows()) {
// ensure that required MS Visual Studio is installed
if (!VISUAL_STUDIO_INSTALL_DIR) {
throw new GradleException("Visual Studio not found!");
throw new GradleException("Supported Windows native toolchain not found!");
}
}
}