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

Consider adding a roslyn ruleset specifically for tests #21

Closed
sstevenkang opened this issue Dec 10, 2018 · 0 comments
Closed

Consider adding a roslyn ruleset specifically for tests #21

sstevenkang opened this issue Dec 10, 2018 · 0 comments

Comments

@sstevenkang
Copy link
Contributor

As discovered in #19, if async tasks do not do ConfigureAwait(), dotnet build will emit the following warning:

warning CA2007: Do not directly await a Task without calling ConfigureAwait 

It might be a good idea to suppress the warning by having a separate rosyln ruleset for test projects.

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

No branches or pull requests

1 participant