From 11b295417743762ace839c5ee80a0bfa3047043b Mon Sep 17 00:00:00 2001 From: SlawekNowy <38943477+SlawekNowy@users.noreply.github.com> Date: Fri, 2 Aug 2019 14:15:53 +0200 Subject: [PATCH] Actually support VS2017 Tools Ver is 15 not 17 --- dev/src/recompiler_core/codeGeneratorMSVC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/src/recompiler_core/codeGeneratorMSVC.cpp b/dev/src/recompiler_core/codeGeneratorMSVC.cpp index 9ec870b..12a395b 100644 --- a/dev/src/recompiler_core/codeGeneratorMSVC.cpp +++ b/dev/src/recompiler_core/codeGeneratorMSVC.cpp @@ -537,7 +537,7 @@ namespace code // FAKE XML m_currentFile->m_codePrinter->Print("\n"); - m_currentFile->m_codePrinter->Print(" \n"); + m_currentFile->m_codePrinter->Print(" \n"); m_currentFile->m_codePrinter->Print(" \n"); m_currentFile->m_codePrinter->Print(" \n"); m_currentFile->m_codePrinter->Print(" Build\n"); @@ -626,7 +626,7 @@ namespace code { wchar_t msBuildPath[512]; - if (GetKeyData(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\17.0", L"MSBuildToolsPath", msBuildPath, sizeof(msBuildPath))) + if (GetKeyData(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\15.0", L"MSBuildToolsPath", msBuildPath, sizeof(msBuildPath))) return msBuildPath; if (GetKeyData(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\4.0", L"MSBuildToolsPath", msBuildPath, sizeof(msBuildPath)))