Skip to main content
EnvironmentAbstractions.BannedApiAnalyzer package icon

EnvironmentAbstractions.BannedApiAnalyzer

Adds rules for Microsoft.CodeAnalysis.BannedApiAnalyzers to ensure projects don't use the System.Environment class to manipulate environment variables..

Total Downloads
50.2K
50,221
Published
Sep 26, 2023
Latest stable version

Install

.NET CLI
dotnet add package EnvironmentAbstractions.BannedApiAnalyzer --version 2.1.0
Package Manager Console
Install-Package EnvironmentAbstractions.BannedApiAnalyzer -Version 2.1.0
PackageReference
<PackageReference Include="EnvironmentAbstractions.BannedApiAnalyzer" Version="2.1.0" />

Frameworks

.NETStandard2.0

Dependencies

[2.1.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.