Remove unused code in vs2010_vcxproj.lua

This commit is contained in:
Sam Surtees 2020-10-02 17:00:46 +10:00
parent 796f517511
commit 7e0d37c84b

View File

@ -2860,20 +2860,6 @@
return m.conditionFromConfigText(vstudio.projectConfig(cfg))
end
--
-- Get the latest installed SDK 10 version from the registry.
--
function m.latestSDK10Version()
local arch = iif(os.is64bit(), "\\WOW6432Node\\", "\\")
local version = os.getWindowsRegistry("HKLM:SOFTWARE" .. arch .."Microsoft\\Microsoft SDKs\\Windows\\v10.0\\ProductVersion")
if version ~= nil then
return version .. ".0"
else
return nil
end
end
--
-- Output an individual project XML element, with an optional configuration