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

fix RCS1090: add missing ConfigureAwait(false) #2035

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

adamsitnik
Copy link
Collaborator

VS is producing a lot of warnings for RCS1090: the missing ConfigureAwait(false)

I've just hit alt+enter and applied it to the whole solution

@github-actions github-actions bot added the UI label Sep 14, 2023
@unaizorrilla
Copy link
Collaborator

Just to know! This package are just for ASP.NET Core. In this scenario ( with this scheduler ) configureAwait is really necessary?

@adamsitnik
Copy link
Collaborator Author

This package are just for ASP.NET Core. In this scenario ( with this scheduler ) configureAwait is really necessary?

@unaizorrilla You are right: https://devblogs.microsoft.com/dotnet/configureawait-faq/#when-should-i-use-configureawaitfalse

I've reverted the change for .exe(s) and kept it for libs.

Once the CI gets green I am going to squash the PR to get to 0 warnings in #2044

@adamsitnik adamsitnik merged commit 960c161 into Xabaril:master Sep 20, 2023
@adamsitnik adamsitnik deleted the fixWarnings branch September 20, 2023 09:09
@sungam3r
Copy link
Collaborator

sungam3r commented Dec 3, 2023

I didn't force ConfigureAwait(false) for UI-projects intentionally for a long time but I'm fine if someone eventually did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants