Changelog

v1.20.0

  • Proj0022: Check existence of <Page>. (FN)
  • Proj0807: Allow third party license file properties, such as <SixLaborsLicenseFile>. (FP)
  • Proj1002: Disable check on <EnableNETAnalyzers> as it leads to Microsoft.CodeAnalysis.NetAnalyzers. (FP)
  • Proj2003: Check existence of cultures in RESX file names. (FP)
  • Proj4012: Comma separated values should not end with a comma. (NEW RULE)
  • Proj0500, Proj0501, Proj0502, Proj0503, Proj0504, Proj0509: Improved performance.
  • Fixed bug in path resolution that could lead to false positives and false negatives in various analyzers.

v1.19.1

  • Set $(SQAdditionalAnalysisFileItemTypes) in the .props instead of the .target. (BUG)

v1.19.0

  • Proj0058: Remove legacy project nodes. (NEW RULE)
  • Proj4000: Values may contain spaces. (FP)
  • Proj6011: Specify SDK version. (NEW RULE)
  • Proj6012: Specify SDK version roll-forward policy. (NEW RULE)
  • Proj6013: Disable SDK version roll-forward when using lock files. (NEW RULE)
  • Proj6014: Specify stable SDK version. (NEW RULE)
  • SonarQube support via $(SQAdditionalAnalysisFileItemTypes) instead of adding analyzed files via <Content>. (UPDATE)

v1.18.0

  • Proj0055: Enable nullability analysis for C#. (NEW RULE)
  • Proj0056: Enable nullability analysis for F#. (NEW RULE)
  • Proj0057: Keep paths portable. (NEW RULE)
  • Proj0500: Report on issues in prop files. (FN)
  • Proj0501: Report on issues in prop files. (FN)
  • Proj0502: Report on issues in prop files. (FN)
  • Proj0503: Report on issues in prop files. (FN)
  • Proj0504: Report on issues in prop files. (FN)
  • Proj0805: Report on issues in prop files. (FN)
  • Proj1008: Remove configuration for not-configurable rule. (NEW RULE)
  • Proj1009: Remove configuration for dropped rule. (NEW RULE)
  • Proj1010: Avoid enabling deprecated rules. (NEW RULE)
  • Proj1200: Report on issues in prop files. (FN)
  • Proj1300: Ignore Aspire projects. (FP)

v1.17.0

  • Proj4011: Define keys once in an INI section. (NEW RULE)
  • Proj5006: Files included in an SLNX should exist. (NEW RULE)
  • Display Directory.Build.props, Directory.Build.targets, and Directory.Packages.props in .net.csproj again. (BUG)

v1.16.1

  • Set analyzer type of Directory.Build.props, Directory.Build.targets, and Directory.Packages.props correctly. (BUG)

v1.16.0

  • Proj0006: Skip detecting if RESX’es are additional files. (UPDATE)
  • Proj0022: Ignore MSBuild item expressions. (FP)
  • Proj0029: is allowed in F# projects. (FP)
  • Proj0050: Enforce code-style in builds for Roslyn-based projects only. (FP)
  • Proj0052: Do not advise attributes in child nodes of the root. (FP)
  • Proj0053: Run analyzers during build. (NEW RULE)
  • Proj0054: Avoid changing compiler tools. (NEW RULE)
  • Proj0220: Ignore SNUPKG setup for development dependencies. (FP)
  • Proj1002: Advise Microsoft’s .NET analyzers for Roslyn based projects only. (FP)
  • Proj1007: Exclude targets and props as they could be imported files. (FP)
  • Proj1101: Report on unstable versions of development dependencies. (FN)
  • Proj4000: Invalid INI file. (RE-ENABLE)
  • Proj4001: Invalid INI header. (RE-ENABLE)
  • Proj4002: Invalid INI key-value pair. (RE-ENABLE)
  • Proj4010: Sections should contain at least one key-value pair. (RE-ENABLE)
  • Proj4025: Remove section header from .globalconfig. (NEW RULE)
  • Proj4026: Specify is_global. (NEW RULE)
  • Proj4027: Use valid diagnostic severity value. (NEW RULE)
  • Proj4028: Use explicit diagnostic severity level. (NEW RULE)
  • Proj4029: Use known diagnostic IDs. (NEW RULE)
  • Proj4030: Avoid global diagnostic suppression. (NEW RULE)
  • Proj4031: Avoid global diagnostic severity configuration. (NEW RULE)
  • Proj4050: Header must be a GLOB. (RE-ENABLE)
  • Proj4051: Use equals sign for key-value assignments. (RE-ENABLE)
  • Proj4052: Use global configuration for Roslyn diagnostics. (NEW RULE)
  • Leave visibility of RESX files as is. (BUG)
  • Exclude */.razor.css from SonarQube intergration as it breaks the build. (BUG)
  • Primary select analyzers based on .

v1.15.2

  • Skip SonarQube when building inside Visual Studio, Rider, or ReSharper. (BUG)
  • Add to once. (BUG)
  • Improve file cache.

v1.15.1

  • Pack .targets and .props when explicitly configured in . (BUG)

v1.15.0

  • Proj0052: Prefer attributes over elements. (NEW RULE)
  • Proj0253, Proj0254: Ignore version containing an MSBuild variable. (FP)
  • Hide folders only containing invisible . (BUG)

v1.14.1

  • Ignore nodes when reading properties. (BUG)
  • to improve the SonarQube experience should not be packed. (BUG)

v1.14.0

  • .net.csproj shows Directory.*, .globalconfig, and .editorconfig files. (BUG)
  • Extend suppression by the use of NoWarn attributes and nodes.

v1.13.1

  • Add missing props and targets to package. (BUG)

v1.13.0

  • Proj0006: Enable Additional file detection again. (UPDATE)
  • Proj1004: .NET Project File Analyzers SDK no longer requires separate package. (NEW RULE)
  • Proj1300: Benchmark projects may depend on everything. (FP)
  • Proj1303: Avoid project references to benchmark projects. (NEW RULE)
  • Proj1005: Suppress NuGet issues per package. (NEW RULE)
  • Proj1006: Suppress NuGet advisories per vulnerability. (NEW RULE)
  • Proj1007: Non-Roslyn languages require .NET Project File Analyzers SDK. (NEW RULE)
  • Proj3000: Drop difference between additional and regular files. (FP)

v1.12.2

  • Proj0201: Exclude Microsoft.NET.Sdk.Web projects. (FP)
  • Proj1001: Exclude xunit.runner.visualstudio. (FP)
  • Proj0253/4: Fix runtime TypeConverter resolvement. (FP)

v1.12.1

  • Proj3000: Ignore Additional File status when checking for UTF8-BOM. (FP)

v1.12.0

  • Proj0021: Exclude is a filter on a task, and should be ignored. (FP)
  • Proj0028: Conditions within are should be allowed. (FP)
  • Proj0044: Check also via MSBuild visible properties. (FP)
  • Proj0253: Versions should be compliant with Semantic Versioning (NEW RULE)
  • Proj0254: Version prefixes should be compliant with Semantic Versioning (NEW RULE)
  • Proj0051: Project reference must be case-consistent with the file system. (NEW RULE)
  • Proj0813: Global package references only work when CPM is enabled. (NEW RULE)
  • Proj1000: Use the .NET project file analyzers. (DROPPED)
  • Proj1001: Take transient dependencies into account when checking for analyzers. (FP)
  • Proj1002: Take actual MSBuild value into account. (FP)
  • Proj1004: .NET Project File Analyzers SDK not longer requires separate package (NEW RULE)
  • Proj3000: Exclude *.user files and .nuget directory. (FP)
  • Proj3002: Exclude comments. (FP)
  • Explicitly include .globalconfig file(s). (BUG)
  • FileCache gracefully handles gone and unparsable content. (BUG)

v1.11.0

  • Proj0050: Enforce code-style in builds. (NEW RULE)
  • Proj0306: Avoid local package sources. (NEW RULE)
  • Proj1300: Determine IsTestProject also via context.Props. (FP)
  • Proj1703: MSBuild child elements should be separated by an empty line. (NEW RULE)
  • SonarQube integration should not add twice. (BUG)

v1.10.0

  • Proj0243: Support as a source. (FP)
  • Proj1200: Support nuspec not grouped dependencies in the metadata. (FP)
  • Add SonarQube integration.

v1.9.0

  • Proj0300: Configure NuGet explicitly (NEW RULE)
  • Proj0301: Clear previously defined package sources (NEW RULE)
  • Proj0302: NuGet authentication should be secure (NEW RULE)
  • Proj0303: Define a mapping for each package source (NEW RULE)
  • Proj0304: Package source mappings should be unique (NEW RULE)
  • Proj0305: Last source map should map all packages (NEW RULE)
  • Proj1700: Indent XML for NuGet.config files. (EXTEND RULE)
  • Proj1702: Omit XML declaration for NuGet.config files. (EXTEND RULE)
  • Proj3003: Trim whitespace (NuGet.confg). (EXTEND RULE)

v1.8.3

  • Proj0048: LanguageVersion converter could not be resolved runtime. (BUG)
  • Proj0049: Prefer the latest released language version for F#. (EXTEND RULE)
  • Proj0219: Packable projects could be .NET CLI tools too. (FP)

v1.8.2

  • Proj0049: Prefers latest version. (FP)

v1.8.1

  • Trim MSBuild attribute values. (FP/FN)
  • Proj0049: Prefer the latest released language version. (NEW RULE)
  • Proj0201: is not required when using NuGet.Versioning or MinVer. (FP)
  • Proj0205: Define is not needed for SDK's 8.0 and up. (FP)
  • Proj0220: Symbol package format snupkg requires include symbols to be enabled (NEW RULE)
  • Proj0808: Define CPM related configuration only in Directory.Packages.props. (EXTENDED RULE)
  • Proj0812: Remove redundant packages references that are globally referenced. (NEW RULE)
  • Proj3003: Trim whitespace. (NEW RULE)

v1.8.0

  • Added support for F# projects when using DotNetProjectFile.Analyzers.Sdk.
  • Added support for Visual Cobol projects when using DotNetProjectFile.Analyzers.Sdk.
  • Automatically add the project file to the additional files. (BUG)
  • Proj0023: Report on backward slashes in DockerfileContext. (FN)
  • Proj0029: C# only properties now only checked for project files. (FP)
  • Proj0030: VB.NET only properties now only checked for project files. (FP)
  • Proj0047: Label item groups that disable compilation items. (NEW RULE)
  • Proj0048: Language version should be set to an explicit version number. (NEW RULE)
  • Proj0219: Packable projects should be libraries. (NEW RULE)
  • Proj0811: Directory.Build.props and Directory.Packages.props should be in the same directory. (NEW RULE)
  • Proj1200: Detect native (linux) .so files. (FP)
  • Proj1300: Avoid project references to executables. (NEW RULE)
  • Proj1301: Project references of packable targets should be packable. (NEW RULE)
  • Proj1302: Avoid project references to test projects. (NEW RULE)
  • Proj3000: Exclude .vs and .git directories from BOM checking. (FP)
  • Proj5000: Use SLNX solution files. (NEW RULE)
  • Proj5001: Remove SLN solution files. (NEW RULE)
  • Proj5005: Omit Project ID’s. (NEW RULE)

v1.7.1

  • Proj0045: Convention-based MSBuild file names should use correct casing. (NEW RULE)
  • Proj0046: Update statements should change state. (NEW RULE)
  • Proj0509: NuGet package cache could not be resolved. (NEW RULE)
  • Proj3000: Ignore CompatibilitySuppressions.xml files. (FP)
  • Analysis on project files (.csproj, .vbproj) are not longer executed for the SDK. (Performance)
  • Add parent package to message for issues with transitive licenses.

v1.7.0

  • Proj0218: Symbol package format snupkg requires debug type portable. (NEW RULE)
  • Proj0240: Fix message incorrectly suggesting to disable DevelopmentDependency, rather than to enable it. (BUG)
  • Proj1001: No longer suggests to use ‘Microsoft.CodeAnalysis.Analyzers’ for anything in ‘Microsoft.CodeAnalysis’ namespace, since it’s only supposed to be used for analyzing analyzers. (FP)
  • Proj1001: No longer suggests to include analyzers for analyzing other analyzers. (FP)
  • Proj1700: Indent XML for SLNX files. (FN)
  • Proj1702: Omit XML declaration for SLNX fles. (FN)
  • Proj3001: Track uses of “TODO” tags for SLNX files. (FN)
  • Proj3002: Remove commented-out code for SLNX files. (FN)

v1.6.1

  • Proj0040: Fix capitalization of in message. (BUG)
  • Proj0044: Allow build agent specific conditions for setting RestorePackagesWithLockFile. (FP)
  • Proj050*: Only report on project files, not props. (FP)
  • Proj0504: Verify third-party licenses on package info, not on the package reference node. (FP)
  • Proj0508: Order third-party licenses alphabetically. (NEW RULE)
  • Proj0807: is allowed in Directory.Packages.props. (FP)

v1.6.0

  • Proj0502: Fixed missing package name when reference was using Update instead of Include. (BUG)
  • Proj0503: Package license is unknown. (NEW RULE)
  • Proj0504: Package license has changed. (NEW RULE)
  • Proj0505: Third-party license registry requires include. (NEW RULE)
  • Proj0506: Third-party license registry requires hash. (NEW RULE)
  • Proj0507: Third-party license registry must be unconditional. (NEW RULE)

v1.5.13

  • Proj0022: Include and as build actions. (FN)
  • Proj0025: Change advise to the use of .globalconfig. (DOCUMENTATION)
  • Proj0040: Run NuGet security audits on transitive dependencies too. (NEW RULE)
  • Proj0041: NuGet security audits should report on moderate issues at minimum. (NEW RULE)
  • Proj0042: Enable when running in CI pipeline. (NEW RULE)
  • Proj0043: Use lock files. (NEW RULE)
  • Proj0044: Enable when is enabled. (NEW RULE)
  • Proj0401: Only publish executables. (NEW RULE)

v1.5.12

  • Proj0005: Fixed missing package name when reference was using Update instead of Include. (BUG)
  • Proj0039: Treat all warnings as errors is considered a bad practice. (NEW RULE)
  • Proj0244: Exclude development dependencies. (FP)
  • Proj0809: Fixed missing package name when reference was using Update instead of Include. (BUG)
  • Proj0810: Fixed missing package name when reference was using Update instead of Include. (BUG)
  • Proj1200: Fixed missing package name when reference was using Update instead of Include. (BUG)

v1.5.11

  • Report issues on root node only on start element.
  • Proj0026: Stop reporting on conditonal properties. (FP)
  • Proj0036: Remove None when redundant. (NEW RULE)
  • Proj0038: Fully specify NoWarn rule IDs. (NEW RULE)
  • Proj0214: Severity to INFO as it is considered too opinionated. (UPDATE)
  • Proj1001: Suggested analyzers now based on package references rather than assembly names. (FP)
  • Proj1001: Now suggest to use AwesomeAssertions.Analyzers for AwesomeAssertions. (FN)
  • Proj1200: Fix compilation packages (that only hold a collective set of dependencies) incorrectly marked as development-dependencies. (FP)
  • Proj1701: Do not report on short (less then 3 lines) release notes. (FP)

v1.5.10.1

  • Proj0006: Disable as the files to analyze are added by default sincse 1.5.10. (UPDATE)

v1.5.10

  • Proj0035: Remove deprecated RestoreProjectStyle property. (NEW RULE)
  • Proj0217: Define requiring license acceptance explicitly. (NEW RULE)
  • Proj0500: Only include packages with an explicitly defined license. (NEW RULE)
  • Proj0501: Package only contains a deprecated license URL. (NEW RULE)
  • Proj0502: Only include packages compliant with project. (NEW RULE)
  • Proj0810: Remove unused package versions. (NEW RULE)
  • Proj1003: Take 's also into account. (FP)
  • Proj1103: TUnit test projects must be executable. (NEW RULE)
  • Proj1104: TUnit conflicts with Microsoft.NET.Test.Sdk. (NEW RULE)
  • Proj3002: Remove commented-out code. (NEW RULE)

v1.5.9

  • Proj0034: Import statement could not be resolved by the analyzer. (NEW RULE)
  • Proj0808: Define global package reference only in Directory.Packages.props. (NEW RULE)
  • Proj0809: Global package references are meant for private assets only. (NEW RULE)
  • Proj1200: Now able to heuristically determine if dependency should be a private asset. (FN)
  • Fix AD0001 when provided paths are not validly formatted. (BUG)
  • Disable rules that can not be excecuted correctly on a failing import. (FP)

v1.5.8

  • Proj1001: Take 's also into account. (FP)

v1.5.7

  • Proj0006: Report on RESX files that are not added as additional files. (FN)
  • Proj1102: Use Coverlet Collector or MSBuild. (NEW RULE)
  • Proj2???: Report on RESX files that are not added as additional files. (FN)

v1.5.6

  • Proj0033: Project reference includes should exist. (NEW RULE)
  • Proj0201: VersionPrefix is now allowed as alternative to Version. (FP)
  • Proj0244: Generate documentation file. (NEW RULE)
  • Proj0245: Don’t mix Version and VersionPrefix/VersionSuffix. (NEW RULE)
  • Proj0246: Define VersionPrefix if VersionSuffix is defined. (NEW RULE)
  • Proj0247: Enable strict mode for package baseline validation. (NEW RULE)
  • Proj0248: Enable strict mode for package runtime compatibility validation. (NEW RULE)
  • Proj0249: Enable strict mode for package framework compatibility validation. (NEW RULE)
  • Proj0250: Generate API compatibility suppression file. (NEW RULE)
  • Proj0251: Enable API compatibility attribute checks. (NEW RULE)
  • Proj0252: Enable API compatibility parameter name checks. (NEW RULE)
  • Proj0452: No longer require test SDK for TUnit projects. (FP)
  • Proj1001: Fix for deprecated packages TUnit.Analyzers and TUnit.Assertions.Analyzers. (FP)
  • Proj1011: Now reports on PackageVersion node if present, instead of PackageReference.
  • Added AppendOnlyCollection to improve performance of parsing.
  • Introduction of XmlLocations to create Location based on XmlPositions.
  • Change 's determination of Type. (BUG)

v1.5.5

  • Fix some warnings being reported in the wrong files. (BUG)
  • Fix crashes related to errors being reported in the wrong files. (BUG)

v1.5.4

  • Proj0009: Take conditionals into account. (FP)
  • Proj0032: Migarate away from BinaryFormatter. (NEW RULE)
  • Proj3001: Track uses of “TODO” tags (MS BUILD and RESX). (NEW RULE)

v1.5.3

  • Disable INI based rules by default. (BUG)

v1.5.2

  • Proj4000: Defensive on unparsable INI files. (BUG)

v1.5.1

  • Proj0243: Generate software bill of materials. (NEW RULE)
  • Proj1200: Add packages that should be included as private assets. (FN)
  • Proj3000: Inaccessible files should not lead to a crash. (BUG)
  • Proj4000: Invalid INI file. (NEW RULE)
  • Proj4001: Invalid INI header. (NEW RULE)
  • Proj4002: Invalid INI key-value pair. (NEW RULE)
  • Proj4010: Sections should contain at least one key-value pair. (NEW RULE)
  • Proj4050: Header must be a GLOB. (NEW RULE)
  • Proj4051: Use equals sign for key-value assignments. (NEW RULE)

v1.5.0

  • Proj0700: Avoid defining items in SDK project. (NEW RULE)
  • Support .net.csproj SDK projects.
  • Automatically add the project file to the additional files does not work.

v1.4.8

  • Proj0029: Use C# specific properties only when applicable. (NEW RULE)
  • Proj0030: Use VB.NET specific properties only when applicable. (NEW RULE)
  • Proj0031: Adopt preferred casing of nodes. (NEW RULE)
  • Proj0216: Define the product name explicitly. (NEW RULE)
  • Support Directory.Build.targets.
  • Automatically add the project file to the additional files.

v1.4.7

  • Proj2005: Escape XML nodes of resource values. (NEW RULE)
  • Proj2100: Children of should be excluded. (FP)

v1.4.6

  • Proj3000: Don’t crash on non-existing files. (BUG)

v1.4.5

  • Proj3000: Only use UTF-8 without BOM. (NEW RULES)
  • Support rules for other project file types like .editoconfig files.
  • Processing files with 7 times speed improvement.

v1.4.4

  • Rules should only report on self, not on imports. (BUG)

v1.4.3

  • Proj0026: Remove IncludeAssets when redundant. (NEW RULE)
  • Proj0027: Override with . (NEW RULE)
  • Proj0028: Define conditions on level 1. (NEW RULE)
  • Proj1100: Disable rule by default. (FP)
  • Proj2100: Space preserved closing nodes should not be reported. (FP)
  • Reading Nodes with 7% speed improvement.

v1.4.2

  • Proj0025: Migrate from ruleset file to .editorconfig file. (NEW RULE)
  • Proj0215: Provide a compliant NuGet package icon. (NEW RULE)
  • Proj02??: Do not report on projects with set to true. (FP)
  • Proj0450: Test projects should not be packable. (NEW RULE)
  • Proj0451: Test projects should not be publishable. (NEW RULE)
  • Proj0452: Test projects require Microsoft.NET.Test.Sdk. (NEW RULE)
  • Proj0453: Using Microsoft.NET.Test.Sdk implies a test project. (NEW RULE)
  • Proj1200: Added 48 more compile-time dependencies to the private-asset list. (FN)

v1.4.1

  • Proj1101: Resolve version in project files only. (FP)
  • Proj1701: Use <![CDATA[ for large texts. (NEW RULE)
  • Proj1702: Omit XML declarations. (NEW RULE)
  • Bound Directory.Build.props and Directory.Packages.props to other props files. (BUG)

v1.4.0

  • Proj0800: Configure CPM. (NEW RULE)
  • Proj0801: Include CPM file. (NEW RULE)
  • Proj0802: Enable Central Package Management centrally. (NEW RULE)
  • Proj0803: Only use VersionOverride when CPM is enabled. (NEW RULE)
  • Proj0804: Only use Version when CPM is not enabled. (NEW RULE)
  • Proj0805: Define version for PackageReference. (NEW RULE)
  • Proj0806: VersionOverride should change the version (NEW RULE)
  • Proj0807: Use only Directory.Packages.props for Central Package Management (NEW RULE)
  • Proj1101: Report on too. (FN)
  • Proj1101: Report on too. (FN)
  • Proj2100: Indent RESX. (NEW RULE)

v1.3.1

  • Proj1101: Package references should have stable versions. (NEW RULE)

v1.3.0

  • Proj0024: Order package versions alphabetically. (NEW RULE)
  • Proj1700: Indent XML. (NEW RULE)
  • Use AdditionalFileAction rather than CompilationAction for AdditionalFiles.
  • Improve XML node position determination.

v1.2.4

  • Support #pragma warning disable/restore.
  • Proj0242: Generate NuGet packages conditionally. (NEW RULE)

v1.2.3

  • Use special IOFile and IOPath to communicate with the file system.
  • Proj0023: Use forward slashes in paths. (NEW RULE)
  • Proj1002: Use Microsoft’s .NET analyzers. (NEW RULE)

v1.2.2

  • Proj0009: TargetFrameworks allowed when overriding imports. (FP)

v1.2.1

  • Proj0021: Build actions should have a single task. (NEW RULE)
  • Proj0022: Build action includes should exist. (NEW RULE)
  • Proj0240: Enable package validation. (NEW RULE)
  • Proj0241: Enable package baseline validation. (NEW RULE)

v1.2.0

  • Proj0006: Directory.Build.Props is not required to be added as additional file. (FP)
  • Proj0020: Item group should only contain nodes of a single type. (NEW RULE)
  • Proj0600: Avoid if is false. (NEW RULE)

v1.1.0

  • Support of Directory.Build.props.

v1.0.14

  • Proj0018: Fix false positive reports always triggering. (FP)
  • Proj0018: Fix typo in message.

v1.0.13

  • Proj0004: Only report when is explicitly disabled. (FP)

v1.0.12

  • Proj1200: Exclude private assets as project file dependency. (NEW RULE)
  • Proj0015, Proj0016: Order references case-insensitive. (FP & FN)

v1.0.11

  • Proj0015, Proj0016: Order references that are substrings of each other. (FP & FN)
  • Proj1100: Avoid using Moq. (NEW RULE)

v1.0.10

  • Proj0017: Can’t create alias for static using directive. (NEW RULE)
  • Proj0018: Order using directives by type. (NEW RULE)
  • Proj0019: Order using directives alphabetically. (NEW RULE)
  • Proj0202: Both and are fine. (FP)
  • Improved message for Proj2002 to be more informative.
  • Depend on Microsoft.CodeAnalysis.Workspaces.Common version 4.0.1.

v1.0.9

  • Proj0016: Improve ordering of file paths. (FP & FN)

v1.0.8

  • Proj0013: Include package references only once. (NEW RULE)
  • Proj0014: Include project references only once. (NEW RULE)
  • Proj0015: Order package references alphabetically. (NEW RULE)
  • Proj0016: Order project references alphabetically. (NEW RULE)
  • Proj0400: Define the project publishability explicitly. (NEW RULE)
  • Support nodes.

v1.0.7

  • Proj0011: Define properties once. (NEW RULE)
  • Proj0012: Reassign properties with different value. (NEW RULE)
  • Proj0200: Define IsPackable explicitly. (NEW RULE)
  • Proj0201: Define the project version explicitly. (NEW RULE)
  • Proj0202: Define the project description explicitly. (NEW RULE)
  • Proj0203: Define the project authors explicitly. (NEW RULE)
  • Proj0204: Define the project tags explicitly. (NEW RULE)
  • Proj0205: Define the project repository URL explicitly. (NEW RULE)
  • Proj0206: Define the project URL explicitly. (NEW RULE)
  • Proj0207: Define the project copyright explicitly. (NEW RULE)
  • Proj0208: Define the project release notes explicitly. (NEW RULE)
  • Proj0209: Define the project readme file explicitly. (NEW RULE)
  • Proj0210: Define the project license explicitly. (NEW RULE)
  • Proj0211: Avoid using deprecated license definition. (NEW RULE)
  • Proj0212: Define the project icon file explicitly. (NEW RULE)
  • Proj0213: Define the project icon URL explicitly. (NEW RULE)
  • Proj0214: Define the NuGet project ID explicitly. (NEW RULE)

v1.0.6

  • Proj0010: Define OutputType explicitly. (NEW RULE)
  • Proj1001: Reported dependency with missing analyzer is now nearest name match. (FP)
  • Proj1001: Added 14 new package specific analyzers. (FN)
  • Prop2000: Embed valid resource files. (NEW RULE)
  • Prop2001: Define data in a resource file. (NEW RULE)
  • Proj2002: Sort resource file values alphabetically. (NEW RULE)
  • Proj2003: Add invariant fallback resources. (NEW RULE)
  • Proj2004: Add invariant fallback values. (NEW RULE)

v1.0.5

  • Proj1003: Sonar Analyzers defined in prop. (FP)

v1.0.4

  • Proj1003: Use Sonar Analyzers. (NEW RULE)

v1.0.3

  • Proj0007: is never an empty node. (FP)

v1.0.2

  • Proj0006: Add additional files to improve static code analysis. (NEW RULE)
  • Proj0007: Remove empty nodes. (NEW RULE)
  • Proj0008: Remove folder nodes. (NEW RULE)
  • Proj0009: Use the TargetFramework node for a single target framework. (NEW RULE)
  • Proj1000: Use the .NET project file analyzers. (NEW RULE)

v1.0.1

  • Proj0002: Added Microsoft.CodeAnalysis.Analyzers as analyzer to add. (FN)
  • Proj0005: Define package reference assets as attributes. (NEW RULE)
  • Proj1001: Dropped Qowaiv.Analyzers.CSharp. (FP)

v1.0.0

  • Proj0001: MS Build project file could not be located. (NEW RULE)
  • Proj0002: Upgrade legacy MS Build project file. (NEW RULE)
  • Proj0003: Define usings explicit. (NEW RULE)
  • Proj1001: Use analyzers for packages. (NEW RULE)