diff options
| -rwxr-xr-x | xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua index e77d52446..c74cc7c81 100755 --- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua @@ -110,15 +110,15 @@ function _make_header(vcxprojfile, vsinfo, target) -- the versions local versions = { - vs2010 = '10' - , vs2012 = '11' + vs2010 = '4' + , vs2012 = '4' , vs2013 = '12' , vs2015 = '14' } -- make header vcxprojfile:print("<?xml version=\"1.0\" encoding=\"utf-8\"?>") - vcxprojfile:enter("<Project DefaultTargets=\"Build\" ToolsVersion=\"%s\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">", vsinfo.filters_version) + vcxprojfile:enter("<Project DefaultTargets=\"Build\" ToolsVersion=\"%s.0\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">", assert(versions["vs" .. vsinfo.vstudio_version])) end -- make tailer |
