Hi, Yes this is working we're using it.
Just put in your batch file before calling the msbuild: call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" msbuild .... Tested with visual 2010 & 2011. Of course path to vcvarsall.bat has match your visual installation. Bertrand.