Details
Description
When specifying a platform to build in the Visual Studio builder tasks' configuration page the parameter is not passed to further steps correctly.
The parsing of arguments in bamboo is good, but devenv is a 'special' beast:
1. It has parameters pairs separated by whitespace
2. The platform to build uses the pipe symbol (what were they thinking?)
An example: devenv Project.sln /Rebuild "Release|Any CPU"
To get around the first issue we changed the options to: /Rebuild '"Release|Any CPU"'
To get around the second issue we needed to modify devenvrunner.bat to add quotes to the argument if it contained a pipe character.
I have attached our fix for the batch file.