diff --git a/src/actions/vstudio/vs2010_vcxproj.lua b/src/actions/vstudio/vs2010_vcxproj.lua index 5b180cce..6211781a 100644 --- a/src/actions/vstudio/vs2010_vcxproj.lua +++ b/src/actions/vstudio/vs2010_vcxproj.lua @@ -372,10 +372,12 @@ -- function vc2010.manifest(cfg) + -- no additional manifests in static lib if cfg.kind == premake.STATICLIB then return end + -- get the manifests files local manifests = {} for _, fname in ipairs(cfg.files) do if path.getextension(fname) == ".manifest" then @@ -389,7 +391,7 @@ end _p(2,'') - _x(3,'%s %%(AdditionalManifestFiles)', table.concat(manifests, " ")) + vc2010.element(3, "AdditionalManifestFiles", nil, "%s %%(AdditionalManifestFiles)", table.concat(manifests, " ")) _p(2,'') end