How to get Button3Text as output

Mar 26, 2009 at 5:46 PM
I'm using MSBuild.ExtensionPack.UI.Dialog to get user input. I show a dialog with 3 buttons. But when button 3 is clicked, the output for ButtonClickedText is always Button 2's text. Here is my MSBuild code.

    <MSBuild.ExtensionPack.UI.Dialog TaskAction="Show" Title="Choose one" Button3Text="Option 3" Button2Text="Option 2" Button1Text="Option 1" Text="Please choose an option">
        <Output TaskParameter="ButtonClickedText" PropertyName="OptionSelected" />

When "Option 3" is clicked, the property OptionSelected comes back with a value of "Option 2".

Is this a bug with the extension pack or I'm doing something wrong?

Thank you for your help in advance.
Mar 26, 2009 at 6:36 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Mar 26, 2009 at 6:40 PM
It's a bug! Fix checked in

Sorry about that and thanks for reporting!