Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

MyCustomStyleCopAnalyzerPackage

This repo illustrates how to distribute custom rules for StyleCopAnalyzers in the form of a Nuget package, based on the documentation.

This was created to accompany my introductory blog post about setting up linting for your .NET Core project.

Usage

If we want to create the package with the dotnet CLI, it's important that it doesn't pick up the nuspec file automatically, we have to explicitly specify it as an MSBuild argument.

dotnet pack -c Release /p:NuspecFile=MyCustomStyleCopAnalyzerPackage.nuspec

About

Example of package distributing custom StyleCopAnalyzer rules

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.