Class CsProjClassicNetToolchain
- Namespace
- BenchmarkDotNet.Toolchains.CsProj
- Assembly
- BenchmarkDotNet.dll
this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
public class CsProjClassicNetToolchain : Toolchain, IToolchain
- Inheritance
-
CsProjClassicNetToolchain
- Implements
- Inherited Members
Fields
Net461
public static readonly IToolchain Net461
Field Value
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Net462
public static readonly IToolchain Net462
Field Value
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Net47
public static readonly IToolchain Net47
Field Value
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Net471
public static readonly IToolchain Net471
Field Value
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Net472
public static readonly IToolchain Net472
Field Value
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Net48
public static readonly IToolchain Net48
Field Value
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Net481
public static readonly IToolchain Net481
Field Value
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Methods
From(string, string?, string?)
public static IToolchain From(string targetFrameworkMoniker, string? packagesPath = null, string? customDotNetCliPath = null)
Parameters
targetFrameworkMoniker
string- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
packagesPath
string- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
customDotNetCliPath
string- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Returns
- IToolchain
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Validate(BenchmarkCase, IResolver)
public override IEnumerable<ValidationError> Validate(BenchmarkCase benchmarkCase, IResolver resolver)
Parameters
benchmarkCase
BenchmarkCase- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
resolver
IResolver- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!
Returns
- IEnumerable<ValidationError>
- this toolchain is designed for the new .csprojs, to build .NET 4.x benchmarks from the context of .NET Core host process it does not work with the old .csprojs or project.json!