Skip to content

Commit

Permalink
Merge pull request #6859 from mavasani/AddReadme
Browse files Browse the repository at this point in the history
Add README file to Microsoft.CodeAnalysis.Analyzers NuGet package
  • Loading branch information
mavasani committed Aug 18, 2023
2 parents 47c7281 + bf6cd28 commit 3587540
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<Summary>Analyzers for .NET Compiler Platform ("Roslyn")</Summary>
<ReleaseNotes>Diagnostic analyzers for the Microsoft .NET Compiler Platform (Roslyn)</ReleaseNotes>
<PackageTags>Roslyn CodeAnalysis Compiler CSharp VB VisualBasic Diagnostic Analyzers Syntax Semantics</PackageTags>
<PackageReadmeFile>documentation\readme.md</PackageReadmeFile>
<IsShippingPackage>true</IsShippingPackage>

<!--
Expand All @@ -22,6 +23,7 @@
<AnalyzerNupkgAssembly Include="Microsoft.CodeAnalysis.Analyzers.dll" />
<AnalyzerNupkgAssembly Include="Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
<AnalyzerNupkgAssembly Include="Microsoft.CodeAnalysis.VisualBasic.Analyzers.dll" />
<PackageReadmeFileSource Include="..\..\src\Microsoft.CodeAnalysis.Analyzers\readme.md"/>
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions src/Microsoft.CodeAnalysis.Analyzers/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Microsoft.CodeAnalysis.Analyzers

Contains rules for correct usage of APIs from the [Microsoft.CodeAnalysis](https://www.nuget.org/packages/Microsoft.CodeAnalysis) NuGet package, i.e. .NET Compiler Platform ("Roslyn") APIs. These are primarily aimed towards helping authors of diagnostic analyzers, code fix providers and other tools built on top of Microsoft.CodeAnalysis to invoke the Microsoft.CodeAnalysis APIs in a recommended manner. This package is included as a development dependency of [Microsoft.CodeAnalysis](https://www.nuget.org/packages/Microsoft.CodeAnalysis) NuGet package, and does not need to be installed separately if you are referencing Microsoft.CodeAnalysis NuGet package.

[More info about rules in this package](./Microsoft.CodeAnalysis.Analyzers.md)

0 comments on commit 3587540

Please sign in to comment.