diff --git a/src/actions/vstudio/vs2010.lua b/src/actions/vstudio/vs2010.lua index 72a3c018..deb7c179 100644 --- a/src/actions/vstudio/vs2010.lua +++ b/src/actions/vstudio/vs2010.lua @@ -121,8 +121,13 @@ -- Solution and project generation logic - onSolution = vstudio.vs2005.generateSolution, - onProject = vstudio.vs2010.generateProject, + onSolution = function(sln) + vstudio.vs2005.generateSolution(sln) + end, + onProject = function(prj) + vstudio.vs2010.generateProject(prj) + end, + onRule = vstudio.vs2010.generateRule, onCleanSolution = vstudio.cleanSolution, diff --git a/src/actions/vstudio/vs2012.lua b/src/actions/vstudio/vs2012.lua index de164ad9..be0fcf35 100644 --- a/src/actions/vstudio/vs2012.lua +++ b/src/actions/vstudio/vs2012.lua @@ -37,8 +37,12 @@ -- Solution and project generation logic - onSolution = vstudio.vs2005.generateSolution, - onProject = vstudio.vs2010.generateProject, + onSolution = function(sln) + vstudio.vs2005.generateSolution(sln) + end, + onProject = function(prj) + vstudio.vs2010.generateProject(prj) + end, onCleanSolution = vstudio.cleanSolution, onCleanProject = vstudio.cleanProject, diff --git a/src/actions/vstudio/vs2013.lua b/src/actions/vstudio/vs2013.lua index ee815bc7..16161eeb 100644 --- a/src/actions/vstudio/vs2013.lua +++ b/src/actions/vstudio/vs2013.lua @@ -39,8 +39,12 @@ -- Solution and project generation logic - onSolution = vstudio.vs2005.generateSolution, - onProject = vstudio.vs2010.generateProject, + onSolution = function(sln) + vstudio.vs2005.generateSolution(sln) + end, + onProject = function(prj) + vstudio.vs2010.generateProject(prj) + end, onCleanSolution = vstudio.cleanSolution, onCleanProject = vstudio.cleanProject, diff --git a/src/actions/vstudio/vs2015.lua b/src/actions/vstudio/vs2015.lua index b3b3066e..d6bd2601 100644 --- a/src/actions/vstudio/vs2015.lua +++ b/src/actions/vstudio/vs2015.lua @@ -39,8 +39,12 @@ -- Solution and project generation logic - onSolution = vstudio.vs2005.generateSolution, - onProject = vstudio.vs2010.generateProject, + onSolution = function(sln) + vstudio.vs2005.generateSolution(sln) + end, + onProject = function(prj) + vstudio.vs2010.generateProject(prj) + end, onCleanSolution = vstudio.cleanSolution, onCleanProject = vstudio.cleanProject,