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.
Hello,
Thank you for submitting this suggestion. We appreciate you taking the time to share your ideas for improving our products, as many features and functions come from valued customers such as yourself.
Atlassian is committed to enhancing the security and compliance of our Data Center products, with an emphasis on sustainable scalability and improving the product experience for both administrators and end-users. We periodically review older suggestions to ensure we're focusing on the most relevant feedback. This suggestion is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments. This inactivity suggests a low impact. Therefore, this suggestion is not in consideration for our future roadmap.
Please note the comments on this thread are not being monitored.
You can read more about our approach to highly voted suggestions here and how we prioritize what to implement here.
To learn more about our recent investments in Bamboo Data Center, please check our public roadmap.
Kind regards,
Bamboo Data Center