diff --git a/scripts/appveyor.py b/scripts/appveyor.py index 06f07445..36ee26a9 100755 --- a/scripts/appveyor.py +++ b/scripts/appveyor.py @@ -763,10 +763,16 @@ class Options: """ The path of the Visual C compiler. """ - return Path( - r"C:\Program Files (x86)\Microsoft Visual Studio %s\VC" - % self.vs_ver - ) + if self.vs_ver == '16.0': + path = Path( + r"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build" + ) + else: + path = Path( + r"C:\Program Files (x86)\Microsoft Visual Studio %s\VC" + % self.vs_ver + ) + return path @property def vs_ver(self):