Skip to content

error when use SendKeys.SendWait #11313

@pedromcrocha

Description

@pedromcrocha

Description

after upgrade System.Drawing.Common from 9.0.11 to 10.0.0, SendKeys.SendWait throw exception 'The type initializer for 'System.Windows.Forms.SendKeys' threw an exception.'

Reproduction Steps

simple use SendKeys referencing System.Drawing.Common from 10.0.0

Expected behavior

not throw exception

Actual behavior

throw exception

Regression?

yes

Known Workarounds

dont upgrade to System.Drawing.Common 10.0.0

Impact

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions