Class NetCoreAppSettings
custom settings used in the auto-generated project.json / .csproj file
Inheritance
NetCoreAppSettings
Assembly: BenchmarkDotNet.dll
public class NetCoreAppSettings
Constructors
sample values: netcoreapp2.0, netcoreapp2.1
used in the auto-generated .csproj file
simply ignored if null or empty
display name used for showing the results
customize dotnet cli path if default is not desired
simply ignored if null
the directory to restore packages to
path to a custom runtime pack
path to Mono AOT compiler
Mono AOT compiler moder
Declaration
public NetCoreAppSettings(string targetFrameworkMoniker, string runtimeFrameworkVersion, string name, string customDotNetCliPath = null, string packagesPath = null, string customRuntimePack = null, string aotCompilerPath = null, MonoAotCompilerMode aotCompilerMode = MonoAotCompilerMode.mini)
Parameters
Fields
Declaration
public static readonly NetCoreAppSettings NetCoreApp20
Field Value
Declaration
public static readonly NetCoreAppSettings NetCoreApp21
Field Value
Declaration
public static readonly NetCoreAppSettings NetCoreApp22
Field Value
Declaration
public static readonly NetCoreAppSettings NetCoreApp30
Field Value
Declaration
public static readonly NetCoreAppSettings NetCoreApp31
Field Value
Declaration
public static readonly NetCoreAppSettings NetCoreApp50
Field Value
Declaration
public static readonly NetCoreAppSettings NetCoreApp60
Field Value
Declaration
public static readonly NetCoreAppSettings NetCoreApp70
Field Value
Properties
Mono AOT Compiler mode, either 'mini' or 'llvm'
Declaration
public MonoAotCompilerMode AOTCompilerMode { get; }
Property Value
Path to the Mono AOT Compiler
Declaration
public string AOTCompilerPath { get; }
Property Value
Declaration
public string CustomDotNetCliPath { get; }
Property Value
Path to a custom runtime pack.
Declaration
public string CustomRuntimePack { get; }
Property Value
display name used for showing the results
Declaration
public string Name { get; }
Property Value
The directory to restore packages to.
Declaration
public string PackagesPath { get; }
Property Value
Declaration
public string RuntimeFrameworkVersion { get; }
Property Value
sample values: netcoreapp2.0, netcoreapp2.1
Declaration
public string TargetFrameworkMoniker { get; }
Property Value
Methods
Declaration
public NetCoreAppSettings WithCustomDotNetCliPath(string customDotNetCliPath, string displayName = null)
Parameters
Type |
Name |
Description |
String |
customDotNetCliPath |
|
String |
displayName |
|
Returns
Declaration
public NetCoreAppSettings WithCustomPackagesRestorePath(string packagesPath, string displayName = null)
Parameters
Type |
Name |
Description |
String |
packagesPath |
|
String |
displayName |
|
Returns