MikeNakis.AnalysisRules 1.1.321

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package MikeNakis.AnalysisRules --version 1.1.321
                    
NuGet\Install-Package MikeNakis.AnalysisRules -Version 1.1.321
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MikeNakis.AnalysisRules" Version="1.1.321">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MikeNakis.AnalysisRules" Version="1.1.321" />
                    
Directory.Packages.props
<PackageReference Include="MikeNakis.AnalysisRules">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MikeNakis.AnalysisRules --version 1.1.321
                    
#r "nuget: MikeNakis.AnalysisRules, 1.1.321"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MikeNakis.AnalysisRules@1.1.321
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MikeNakis.AnalysisRules&version=1.1.321
                    
Install as a Cake Addin
#tool nuget:?package=MikeNakis.AnalysisRules&version=1.1.321
                    
Install as a Cake Tool

MikeNakis.AnalysisRules

My very own™ code analysis rules for DotNet.

This package supplies the following files to projects that reference it:

  • .editorconfig
  • AllCode.globalconfig
  • ProductionCode.globalconfig
  • TestCode.globalconfig

The new files appear in a subdirectory called MikeNakisAnalysisRules under the project directory, and they are all read-only.

The package also supplies a MikeNakisAnalysisRules property which points to the directory where the supplied files are located, so they can be included as follows:

<ItemGroup>
	
	<GlobalAnalyzerConfigFiles Include="$(MikeNakisAnalysisRules)AllCode.globalconfig" />
	<GlobalAnalyzerConfigFiles Include="$(MikeNakisAnalysisRules)ProductionCode.globalconfig" />
</ItemGroup>

Unfortunately, the .editorconfig file cannot be included like that, so it is (automatically) copied from MikeNakisAnalysisRules into the project directory. The copy is writable, so be careful not to modify it because any edits you make to it will be lost next time the package is restored.

It is best to refrain from adding .editorconfig to .gitignore, so that if you ever change .editorconfig you have a chance to take notice. Even if .editorconfig gets accidentally committed, next time the package is restored it will appear as modified again, so you have more chances to take notice, and when you do eventually notice that you have been losing the changes you have been making to it, you might still be able to find your lost changes in the git commit history.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
Loading failed

No release notes. That's what the commit history is for.