Description
openedon Mar 24, 2024
Description
Nuance's Dragon Professional fails to exercise Controls (menu item, button etc.) when apps are compiled with with NET 8 & 9 but works with NET 7 and earlier. When Dragon is running, it should be possible to say "click" followed by the text/label of a Control and have the handler procedure linked to that Control entered (and actions performed).
Reproduction Steps
- Make sure Dragon 15.x or 16.x (the most recent versions) is running and listening.
- Create a simple Windows Form app with a button whose text is "Horse".
1a) add a Click handler to the Button with its only code:
MessageBox.Show("horse"); - Compile with NET 7 (for Windows 7.0)
- Run the app and say "click horse"
- Close the app
- Compile with NET 8 (I also tested NET 9 - both fail)
- Run the app and say "click horse"
Expected behavior
A built-in Dialog should open displaying "horse" as the message (with default title, buttons and icon).
Actual behavior
With NET 7 (and all previous going back to early Net Framework versions) the expected behavior occurs.
With both NET 8 & 9 nothing happens at all - the button is not exercised.
Regression?
Works perfectly in NET 7 but started failing sometime in NET 8 development.
Known Workarounds
Compile with NET 7 accepting all associated restrictions.
Configuration
NET 7 - works
NET 8 & 9 - fails
VS 2019 (tested a few versions), 2022 (tested at least 10 versions) & 2022 Preview (only tested Preview 2) - all act the same
OS Win10 & Win 11 tested with identical results
Tested with both "AnyCPU" and x64 - not specific works or fails in both
Not using Blaxor
Other information
This is a major regression for developers working with the disabled community. I would be extremely happy to beta test NETs to help resolve this issue. I am a hands-free coder and have nothing but time on my hands! I am fairly experienced in NET Windows Form and Console coding and am the sole author on more than 10 major applications highly used by folks who use Dragon to operate their computers and dictate text. I would be willing to do remote desktop sessions at most any time of the day or night.