Use correct values for MinimumVisualStudioVersion in Android projects
This commit is contained in:
parent
82bcf8b676
commit
836cbfa96d
@ -70,7 +70,13 @@
|
||||
function android.androidApplicationType(cfg)
|
||||
vc2010.element("Keyword", nil, "Android")
|
||||
vc2010.element("RootNamespace", nil, "%s", cfg.project.name)
|
||||
vc2010.element("MinimumVisualStudioVersion", nil, "15.0") -- Use 14.0 for VS2015?
|
||||
if _ACTION >= "vs2019" then
|
||||
vc2010.element("MinimumVisualStudioVersion", nil, "16.0")
|
||||
elseif _ACTION >= "vs2017" then
|
||||
vc2010.element("MinimumVisualStudioVersion", nil, "15.0")
|
||||
elseif _ACTION >= "vs2015" then
|
||||
vc2010.element("MinimumVisualStudioVersion", nil, "14.0")
|
||||
end
|
||||
vc2010.element("ApplicationType", nil, "Android")
|
||||
if _ACTION >= "vs2017" then
|
||||
vc2010.element("ApplicationTypeRevision", nil, "3.0")
|
||||
|
Reference in New Issue
Block a user