ErikEJ.DacFX.SqlServer.Rules
3.0.0
Prefix Reserved
See the version list below for details.
Requires NuGet 5.0 or higher.
dotnet add package ErikEJ.DacFX.SqlServer.Rules --version 3.0.0
NuGet\Install-Package ErikEJ.DacFX.SqlServer.Rules -Version 3.0.0
<PackageReference Include="ErikEJ.DacFX.SqlServer.Rules" Version="3.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="ErikEJ.DacFX.SqlServer.Rules" Version="3.0.0" />
<PackageReference Include="ErikEJ.DacFX.SqlServer.Rules"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add ErikEJ.DacFX.SqlServer.Rules --version 3.0.0
#r "nuget: ErikEJ.DacFX.SqlServer.Rules, 3.0.0"
#:package ErikEJ.DacFX.SqlServer.Rules@3.0.0
#addin nuget:?package=ErikEJ.DacFX.SqlServer.Rules&version=3.0.0
#tool nuget:?package=ErikEJ.DacFX.SqlServer.Rules&version=3.0.0
SqlServer.Rules
This project implements a number of SQL Server static code analysis rules, and publishes these as a NuGet package, that you can use with Microsoft.Build.Sql and MsBuild.Sdk.Sqlproj.
Getting Started
See my blog post here for a step-by-step guide on how to use these rules in your SQL projects.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- System.ComponentModel.Composition (>= 4.7.0)
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ErikEJ.DacFX.SqlServer.Rules:
| Package | Downloads |
|---|---|
|
ErikEJ.DacFX.TSQLAnalyzer
A library for ad-hoc analysis of SQL scripts - see https://github.com/ErikEJ/SqlServer.Rules/blob/master/docs/readme.md |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on ErikEJ.DacFX.SqlServer.Rules:
| Repository | Stars |
|---|---|
|
ErikEJ/EFCorePowerTools
Entity Framework Core Power Tools - reverse engineering, migrations and model visualization in Visual Studio & CLI
|
|
|
rr-wfm/MSBuild.Sdk.SqlProj
An MSBuild SDK that provides similar functionality to SQL Server Data Tools (.sqlproj) projects
|
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 1,316 | 5/13/2026 |
| 5.0.0-preview.4 | 75 | 5/12/2026 |
| 5.0.0-preview.3 | 100 | 5/11/2026 |
| 5.0.0-preview.2 | 48 | 5/11/2026 |
| 5.0.0-preview.1 | 112 | 5/9/2026 |
| 4.2.0 | 2,890 | 4/23/2026 |
| 4.2.0-preview.4 | 654 | 4/10/2026 |
| 4.2.0-preview.3 | 68 | 4/10/2026 |
| 4.2.0-preview.2 | 66 | 4/10/2026 |
| 4.2.0-preview.1 | 258 | 4/8/2026 |
| 4.0.0 | 3,930 | 3/30/2026 |
| 4.0.0-preview.1 | 135 | 3/20/2026 |
| 3.2.0 | 6,792 | 3/4/2026 |
| 3.2.0-preview.1 | 128 | 2/28/2026 |
| 3.1.1 | 5,312 | 2/13/2026 |
| 3.1.0 | 6,495 | 1/4/2026 |
| 3.0.2 | 439 | 1/3/2026 |
| 3.0.1 | 164 | 1/3/2026 |
| 3.0.0 | 20,036 | 9/27/2025 |
| 3.0.0-preview.4 | 1,319 | 9/3/2025 |
3.0.0 Final Release