Reputation: 8177
I need to define some fixed version info in my Build Definition, so I thought about setting the MSBuild Arguments option with this version info. However, I don't know how can I get this arguments values in my MSBuild script.
Is it possible?
Upvotes: 2
Views: 251
Reputation: 22255
You get them the same way you get any other MSBuild arguments. So for example if you set the Workflow Argument to:
MSBuild Arguments: /p:foo=99
From your MSBuild script you access it by doing $(foo)
Upvotes: 3