VS code compilation throug recipe is not successfull


Hello All,

I’m trying to compile my Visual Studio installer project (vdproj) using an
execute resource in one recipe and it is giving me error,; however when
executed the same command through command prompt in the Node it compiled

Another option I tried is, specified run-list for the node using knife and
manually executed Chef-client on the node and recipe worked fine.

Here is the execute resource I’m using.

attribute in attributes/default.rb file containing list of installer projects
that i need to compile
default[‘my_cookbook’][‘Installer_Projects’]=[“Installer1”, “Installer2”,

node[‘my_cookbook’][‘Installer_Projects’].each do |vdproj|
execute “Compile_Installer_Code” do
command ““C:\Program Files (x86)\Microsoft Visual Studio
10.0\Common7\IDE\devenv.exe” “C:\My_Project\my_project.sln” /build
debug /project “#{vdproj}””
only_if {File.exists?(“C:\My_Project\my_project.sln”)}

The error I’m getting is:
ERROR: Could not find file ‘C:…\abc.dll’ ‘Not enough storage is available
to complete this operation.’

Thanks & Regards,