This version of the documentation is archived and no longer supported. View the current documentation to learn how to install supported versions of the MongoDB C# Analyzer.
Overview
Learn how to install the C# Analyzer in your .NET application.
Installation
To install the C# Analyzer, run the following command from the root directory of your .NET project:
dotnet add package MongoDB.Analyzer -v 1.4.0
To view the NuGet page for the C# Analyzer, see MongoDB.Analyzer on NuGet Gallery.
To learn more about installing NuGet packages from the command line, see NuGet CLI Reference from Microsoft.
To learn more about installing NuGet packages from Visual Studio, see Install and manage packages in Visual Studio using the NuGet Package Manager from Microsoft.