Hi I would like to execute msbuild in python script
Since I don't run this in visual studio developer command prompt, I run
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat"
Then I do
msbuild example.props
How can I run this in python? I tried to do
subprocess.call('\"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\\vcvarsall.bat\"\n')
then call
subprocess.call(['msbuild', filename]) # filename is string variable
but I get an error saying that it coudln't find the file specified.. I am pretty sure there should be a way to do this but I couldn't find how.. Thank you for the help!