How to get Button3Text as output

Mar 26, 2009 at 6: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" />
    </MSBuild.ExtensionPack.UI.Dialog>

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.
Coordinator
Mar 26, 2009 at 7:36 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Mar 26, 2009 at 7:40 PM
It's a bug! Fix checked in http://www.codeplex.com/MSBuildExtensionPack/SourceControl/ListDownloadableCommits.aspx

Sorry about that and thanks for reporting!

Mike