EnvironmentAbstractions.BannedApiAnalyzer
Adds rules for Microsoft.CodeAnalysis.BannedApiAnalyzers to ensure projects don't use the System.Environment class to manipulate environment variables..
Install
dotnet add package EnvironmentAbstractions.BannedApiAnalyzer --version 3.0.2
Install-Package EnvironmentAbstractions.BannedApiAnalyzer -Version 3.0.2
<PackageReference Include="EnvironmentAbstractions.BannedApiAnalyzer" Version="3.0.2" />
Frameworks
Dependencies
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.