EonaCat.Env 1.0.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 5.0 .NET Standard 2.1
dotnet add package EonaCat.Env --version 1.0.1
NuGet\Install-Package EonaCat.Env -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EonaCat.Env" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EonaCat.Env --version 1.0.1
#r "nuget: EonaCat.Env, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EonaCat.Env as a Cake Addin
#addin nuget:?package=EonaCat.Env&version=1.0.1

// Install EonaCat.Env as a Cake Tool
#tool nuget:?package=EonaCat.Env&version=1.0.1

EonaCat Env

Easy Environment variable loading for protection.

Allows you to use it with :

  • .Net Framework 4.5+
  • .NET 5.0+
  • Xamarin iOS, Xamarin Android, Xamarin Forms,
  • MAUI
  • .Net Core
  • UWP
  • Windows Phone
  • Windows

TIP: Put your .env files inside your Version Control ignore file so sensitive content is never written to your code repository.

As a default the following order is traversed for file loading:

  • .env File
  • .env.dev file
  • .env.local file

It is also possible to specify your own env filenames using the Settings

The static Getter can be used to retrieve Environment variables from the System Environment.

The following settings can be set: EnvFilePaths IgnoreExceptions TrimValues StopSearchOnFilenames TraverseDirectories TraverseLevels Encoding

The default traversion level is 6

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 102 12/7/2022
1.0.0 99 12/7/2022