Skip to content

Disable VSTHRD010 in AppWithoutMainThread.editorconfig#1562

Merged
AArnott merged 1 commit into
microsoft:mainfrom
ArturDorochowicz:patch-1
Apr 7, 2026
Merged

Disable VSTHRD010 in AppWithoutMainThread.editorconfig#1562
AArnott merged 1 commit into
microsoft:mainfrom
ArturDorochowicz:patch-1

Conversation

@ArturDorochowicz

Copy link
Copy Markdown
Contributor

VSTHRD010 "Invoke single-threaded types on Main thread" does not apply to apps without main thread.

VSTHRD010 "Invoke single-threaded types on Main thread" does not apply to apps without main thread.
@ArturDorochowicz

Copy link
Copy Markdown
Contributor Author

It seems reasonable to me that this rule does not apply to apps without the main thread and therefore disabling can be suggested. Does it make sense?

@AArnott AArnott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thanks for contributing.

@AArnott AArnott merged commit 7f47bc6 into microsoft:main Apr 7, 2026
1 check passed
This was referenced Jun 22, 2026
This was referenced Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants