Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing x-thread exception for UI test app #5971

Merged

Conversation

vladimir-krestov
Copy link
Contributor

@vladimir-krestov vladimir-krestov commented Oct 14, 2021

Set STAThread for our UI test app.
Fixes x-thread exception when using an accessibility tools.
The fix affects our own test app only.

Customer Impact

  • No

Regression?

Risk

  • Minimal

Screenshots

Before

  • There is the x-thread exception, when using UIA tools:
    image

After

  • The UI app works well

Test methodology

  • Manual testing

Test environment(s)

  • .NET 7.0 - alpha1
  • Windows 10
Microsoft Reviewers: Open in CodeFlow

Fixes x-thread exception when using an accessibility tools.
Fixed regression from dotnet#5952.
The fix affects our own test app only.
@RussKie RussKie merged commit 26a6f2e into dotnet:main Oct 15, 2021
@ghost ghost added this to the 7.0 alpha1 milestone Oct 15, 2021
@vladimir-krestov vladimir-krestov deleted the Fixing_UITestApp_XThread_Exception branch December 13, 2021 10:56
@ghost ghost locked as resolved and limited conversation to collaborators Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants