Archive for the nant Category

Building Visual C++ with Bamboo as a service

Posted in bamboo, nant on November 7, 2008 by Ross Rowe

A user reported a tricky bug with the NAnt Builder…running an NAnt build when Bamboo runs as a service would end up with a error on the import of the msxml libraries, wheras running Bamboo via the console would be fine.

Turns out that when msbuild runs as a service, it doesn’t have the full path available, so adding the updating the solution options in Visual Studio (Tools menu > Options >
Project and Solutions > VC++ Directories) to ensure that

$(SystemRoot)
$(SystemRoot)\System32
$(SystemRoot)\System32\wbem

are specified before the rest of the entries fixes the problem.

Advertisements