An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 577f721f authored by Brad King's avatar Brad King
Browse files

VS: Fix detection of VS 2017 installation with WindowsStore

Fix logic in cmVSSetupAPIHelper::IsVS2017Installed to work correctly on
repeat calls.

Closes: #16549
parent 3a97a371
...@@ -76,6 +76,8 @@ bool cmVSSetupAPIHelper::IsVS2017Installed() ...@@ -76,6 +76,8 @@ bool cmVSSetupAPIHelper::IsVS2017Installed()
bool ret = false; bool ret = false;
if (chosenInstanceInfo.VSInstallLocation.compare(L"") == 0) { if (chosenInstanceInfo.VSInstallLocation.compare(L"") == 0) {
ret = EnumerateAndChooseVSInstance(); ret = EnumerateAndChooseVSInstance();
} else {
ret = true;
} }
return ret; return ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment