[Buildbot-devel] Visual Studio: new build step

Oleg Smolsky oleg at smolsky.net
Fri Sep 21 19:42:32 UTC 2012


On 2012-09-21 11:54, Dmitry Nezhevenko wrote:
> On Wed, Sep 19, 2012 at 10:28:42PM -0700, Oleg Smolsky wrote:
>>     So, the right path here is as follows:
>>      1. read the VS2012 installation path from the Registry
>>      2. call vcvarsall.bat to have the environment setup correctly for the platform
>>      3. execute msbuild_command
>>
>>     Could someone explain how to encode these actions inside my limited implementation of start(self) please?
> As far as I remember there is another 'documented' way to find it by using
> VS__COMNTOOLS environment variable (replace it with internal version
> number, like 90 for VS2008).
>
> We're using it for own 'vcbuild' step
>
Thank you for the tip, the variable is indeed there:
     VS110COMNTOOLS='C:\vs11\Common7\Tools\'

Let me look for an easy way of grabbing it from the build step...

Oleg.




More information about the devel mailing list