Downloading Analyzers

This page explains how to obtain ALCops analyzer DLLs directly from NuGet for use with alc.exe or custom build pipelines.

NuGet Package

ALCops distributes analyzer DLLs through NuGet. The package is a container for the DLL files — it is not a standard .NET library or tool reference.

Package: ALCops.Analyzers on NuGet

Download and Extract

Use the NuGet CLI or download the package manually:

# Download the package
nuget install ALCops.Analyzers -OutputDirectory ./packages

Alternatively, download the .nupkg file directly from the NuGet website and rename it to .zip to extract its contents.

Target Framework Selection

The NuGet package contains DLLs for two target frameworks. Choose the correct one based on your AL Language extension version:

Target FrameworkAL Language VersionFolder in Package
net8.0v16.0 and later (current)lib/net8.0/
netstandard2.1Below v16.0lib/netstandard2.1/

Copy all DLLs from the appropriate framework folder to your analyzer directory.