Decepticon.ActiveConfiguration
1.0.0
See the version list below for details.
dotnet add package Decepticon.ActiveConfiguration --version 1.0.0
NuGet\Install-Package Decepticon.ActiveConfiguration -Version 1.0.0
<PackageReference Include="Decepticon.ActiveConfiguration" Version="1.0.0" />
paket add Decepticon.ActiveConfiguration --version 1.0.0
#r "nuget: Decepticon.ActiveConfiguration, 1.0.0"
// Install Decepticon.ActiveConfiguration as a Cake Addin #addin nuget:?package=Decepticon.ActiveConfiguration&version=1.0.0 // Install Decepticon.ActiveConfiguration as a Cake Tool #tool nuget:?package=Decepticon.ActiveConfiguration&version=1.0.0
Introduction
Provides current configuration value at build time that can be utilized for changing test environment for automation testing. The value is the current configuration dropdown value or the configuration variable.
Requirements
Requires .NetFramework 4.6 or higher or any version of .NetCore
Usage
If you have Debug
, Release
, Staging
in the configuration dropdown, then select Staging
. Then build the project. Then do
string stagingConfigName = ActiveConfiguration.Value;
Notes
If you're on .NetFramework, make sure your custom configuration is available for the project. See Configuration Manager
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 is compatible. netcoreapp1.1 is compatible. netcoreapp2.0 is compatible. netcoreapp2.1 is compatible. netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Framework | net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
This package has 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.
Required .NetFramework 4.6 or higher or any version of .NetCore