DotNetProjectFile.Analyzers
1.0.12
See the version list below for details.
dotnet add package DotNetProjectFile.Analyzers --version 1.0.12
NuGet\Install-Package DotNetProjectFile.Analyzers -Version 1.0.12
<PackageReference Include="DotNetProjectFile.Analyzers" Version="1.0.12" />
paket add DotNetProjectFile.Analyzers --version 1.0.12
#r "nuget: DotNetProjectFile.Analyzers, 1.0.12"
// Install DotNetProjectFile.Analyzers as a Cake Addin #addin nuget:?package=DotNetProjectFile.Analyzers&version=1.0.12 // Install DotNetProjectFile.Analyzers as a Cake Tool #tool nuget:?package=DotNetProjectFile.Analyzers&version=1.0.12
.NET project file analyzers
The package contains analyzers that analyze .NET project files.
MS Build project file rules
- Proj0001 MS Build project file could not be located
- Proj0002 Upgrade legacy MS Build project files
- Proj0003 Define usings explicit
- Proj0004 Run NuGet security audits automatically
- Proj0005 Define package reference assets as attributes
- Proj0006 Add additional files to improve static code analysis
- Proj0007 Remove empty nodes
- Proj0008 Remove folder nodes
- Proj0009 Use the TragetFramework node for a single target framework
- Proj0010 Define OutputType explicitly
- Proj0011 Define properties once
- Proj0012 Reassign properties with different value
- Proj0013 Include package references only once
- Proj0014 Include project references only once
- Proj0015 Order package references alphabetically
- Proj0016 Order project references alphabetically
- Proj0017 Can't create alias for static using directive
- Proj0018 Order using directives by type
- Proj0019 Order using directives alphabetically
- Proj0200 Define IsPackable explicitly
- Proj0201 Define the project version explicitly
- Proj0202 Define the project description explicitly
- Proj0203 Define the project authors explicitly
- Proj0204 Define the project tags explicitly
- Proj0205 Define the project repository URL explicitly
- Proj0206 Define the project URL explicitly
- Proj0207 Define the project copyright explicitly
- Proj0208 Define the project release notes explicitly
- Proj0209 Define the project readme file explicitly
- Proj0210 Define the project license explicitly
- Proj0211 Avoid using deprecated license definition
- Proj0212 Define the project icon file explicitly
- Proj0213 Define the project icon URL explicitly
- Proj0214 Define the NuGet project ID explicitly
- Proj0400 Define the project publishability explicitly
- Proj1000 Use the .NET project file analyzers
- Proj1001 Use analyzers for packages
- Proj1003 Use Sonar analyzers
- Proj1100 Avoid using Moq
- Proj1200 Exclude private assets as project file dependency
Resource file rules
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DotNetProjectFile.Analyzers:
Repository | Stars |
---|---|
phmonte/Buildalyzer
A utility to perform design-time builds of .NET projects without having to think too hard about it.
|
Version | Downloads | Last updated | |
---|---|---|---|
1.5.0 | 336 | 11/14/2024 | |
1.4.8 | 511 | 11/12/2024 | |
1.4.7 | 888 | 11/4/2024 | |
1.4.6 | 3,242 | 10/9/2024 | |
1.4.5 | 631 | 10/2/2024 | |
1.4.4 | 1,942 | 9/13/2024 | |
1.4.3 | 238 | 9/11/2024 | |
1.4.2 | 470 | 9/6/2024 | |
1.4.1 | 667 | 9/3/2024 | |
1.4.0 | 200 | 9/2/2024 | |
1.3.1 | 417 | 8/28/2024 | |
1.3.0 | 210 | 8/27/2024 | |
1.2.4 | 841 | 8/14/2024 | |
1.2.3.2 | 236 | 8/13/2024 | |
1.2.3.1 | 134 | 8/13/2024 | |
1.2.3 | 136 | 8/13/2024 | |
1.2.2 | 2,495 | 6/28/2024 | |
1.2.1 | 5,956 | 2/28/2024 | |
1.2.0 | 1,203 | 2/21/2024 | |
1.1.0 | 9,560 | 9/19/2023 | |
1.0.14 | 199 | 9/18/2023 | |
1.0.13 | 723 | 9/4/2023 | |
1.0.12 | 756 | 8/16/2023 | |
1.0.11 | 471 | 8/9/2023 | |
1.0.10 | 426 | 8/3/2023 | |
1.0.9 | 712 | 7/21/2023 | |
1.0.8 | 328 | 7/18/2023 | |
1.0.7 | 2,837 | 7/16/2023 | |
1.0.6 | 278 | 7/13/2023 | |
1.0.5 | 233 | 7/10/2023 | |
1.0.4 | 171 | 7/10/2023 | |
1.0.3 | 204 | 7/10/2023 | |
1.0.2 | 187 | 7/8/2023 | |
1.0.1 | 228 | 7/7/2023 | |
1.0.0 | 185 | 7/5/2023 |
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 <Description> and <PackageDescription> 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 <Choose> 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 analyser 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: <Import > 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 TragetFramework 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)