Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dev/src/recompiler_core/codeGeneratorMSVC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ namespace code

// FAKE XML
m_currentFile->m_codePrinter->Print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
m_currentFile->m_codePrinter->Print(" <Project DefaultTargets=\"Build\" ToolsVersion=\"17.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n");
m_currentFile->m_codePrinter->Print(" <Project DefaultTargets=\"Build\" ToolsVersion=\"15.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n");
m_currentFile->m_codePrinter->Print(" <ItemGroup Label=\"ProjectConfigurations\">\n");
m_currentFile->m_codePrinter->Print(" <ProjectConfiguration Include=\"Build|x64\">\n");
m_currentFile->m_codePrinter->Print(" <Configuration>Build</Configuration>\n");
Expand Down Expand Up @@ -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)))
Expand Down