Compilation / Coding Validation

I used the Amazon SDK and noticed this โ€œwarningโ€:

enter image description here

How is this possible? I did not install the plugin or extension, I just install the AWS SDK via Nuget. Is this a standard C # / Visual Studio feature?

+7
c # visual-studio
source share
1 answer

Yes, this is a feature that nuget packages can use. They are sometimes called "code-supporting libraries." These are the nuget packages that come with the roslyn built-in analyzers. A discussion of how to write an analyzer is some extended topic. The magic is in the special nuget assembly:

Parsers are typically packaged and distributed as part of NuGet packages that implement the API or library in question.

Microsoft has published several examples and walkthroughs in various places:

  • A walkthrough for a library of immutable collections.
  • An example of a hypothetical RSS library is here .
+7
source share

All Articles