I am testing migrating our build from TeamCity to Bamboo. Our build steps include a script task at the start of the job to configure environment variables by calling 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat', however the changes to environment variables when this is called do not appear to persist to subsequent tasks (ie. MSBuild ones), so our build fails.
Am I setting this up wrong? My MSBuild task builds a target that relies on the environment variables set from vcvarsall.bat.
For info, I solved this myself by creating an 'MSBuild.bat' file which sets up environment variables every time and calls MSBuild.exe. This then gets used by Bamboo to launch MSBuild rather than the executable.
Not a particularly nice solution imho.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs