AsyncUsageAnalyzers | Now superseded by Microsoft/vs-threading
kandi X-RAY | AsyncUsageAnalyzers Summary
kandi X-RAY | AsyncUsageAnalyzers Summary
Now superseded by Microsoft/vs-threading
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of AsyncUsageAnalyzers
AsyncUsageAnalyzers Key Features
AsyncUsageAnalyzers Examples and Code Snippets
Community Discussions
Trending Discussions on AsyncUsageAnalyzers
QUESTION
I have installed AsyncUsageAnalyzers for my common project (which is a NuGet package), and I want the rules to be enforced in all of my packages/applications that depends on it.
I have changed the severity of the UseConfigureAwait
rule, and a .ruleset has been created.
I have read on https://stackoverflow.com/a/20271758/2663813 that I needed to have a NuGet package with a given structure. That assertion has been confirmed here https://stackoverflow.com/a/46115423/2663813
What I have now:
build/Common.ruleset
...ANSWER
Answered 2017-Nov-07 at 15:54Sorry for posting too quickly, I just found the solution right under my eyes:
In the page https://docs.microsoft.com/en-us/dotnet/core/tools/csproj#nuget-metadata-properties , in the comments, MarkPflug gives the translation, and quotes https://docs.microsoft.com/en-us/nuget/schema/msbuild-targets#pack-scenarios for reference.
In my case, I need to use PackagePath
as follows (Content
would also work, but as Martin Ullrich pointed out, None
is a better choice here):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install AsyncUsageAnalyzers
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page