Reputation: 60431
I'm executing a task in msbuild:
<MyTask ContinueOnError="true" OtherParam="Cheese"/>
<PropertyGroup>
<MyTaskResult>????how do I set this????</MyTaskResult>
<PropertyGroup>
I want to get the result of MyTask into a property (it's Execute method returns a bool) so I can test it and conditionally do stuff. Is this possible?
Thanks.
Upvotes: 0
Views: 115
Reputation: 46546
You could modify your task to put its results in an output parameter.
Upvotes: 4