These are chat archives for PerfDotNet/BenchmarkDotNet

18th
Mar 2016
Matt Warren
@mattwarren
Mar 18 2016 11:11
yeah that's not a bad idea. If we do that we will have to allow them to be specified on the cmd line, at the moment you can't. We could also allow exporters=all if people want the old behaviour?
Adam Sitnik
@adamsitnik
Mar 18 2016 11:12
good point with the parsing, I forgot about that
Matt Warren
@mattwarren
Mar 18 2016 12:42
I'm going to do a bit of work on the cmd-line stuff as part of PerfDotNet/BenchmarkDotNet#27 and PerfDotNet/BenchmarkDotNet#83, so I'll include the exporters work in that
Matt Warren
@mattwarren
Mar 18 2016 17:07

@adamsitnik one other thing I've just noticed with dnx/dotnet, if I run a program like so dnx run --framework Dnx451 jobs=dry. Dnx see the argument --framework Dnx451 and does the right thing

However inside BenchmarkDotNet if we access the cmd-line parameters we get all 3 arguments, i.e. --framework, Dnx451 and jobs=dry.

Do you know if we need to write code to ignore the dnx/dotnet arguments or is there a better way?

damageboy
@damageboy
Mar 18 2016 17:39

@adamsitnik so...:
dotnet --version (Per @AndreyAkinshin suggestion):

19:38 $ dotnet --version
.NET Command Line Tools (1.0.0-beta-001598)

Product Information:
 Version:     1.0.0-beta-001598
 Commit Sha:  N/A

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  14.04
 OS Platform: Linux
 Runtime Id:  ubuntu.14.04-x64

My local NuGet.config (top level of the projects):

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
</configuration>

The output from dotnet -v restore:

19:38 $ dotnet -v restore 
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.Diagnostics/project.json...
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.Tests/project.json...
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/Dia2Lib/project.json...
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.IntegrationTests.FSharp/project.json...
info : Committing restore...
info : Committing restore...
warn : Dependency specified was BenchmarkDotNet  but ended up with BenchmarkDotNet 0.9.3.
warn : Dependency specified was BenchmarkDotNet  but ended up with BenchmarkDotNet 0.9.3.
log  : Restore completed in 449ms.
error: Unable to resolve xunit.extensibility.core (= 2.1.0) for .NETFramework,Version=v4.5.
error: Unable to resolve xunit.extensibility.execution (= 2.1.0) for .NETFramework,Version=v4.5.
error: Unable to resolve FSharp.Dnx (>= 1.0.0) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.extensibility.core (= 2.1.0) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.extensibility.execution (= 2.1.0) for DNX,Version=v4.5.1.
log  : Restore completed in 458ms.
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.IntegrationTests/project.json...
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet/project.json...
error: Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
error: Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve xunit.extensibility.core (>= 2.1.0) for .NETFramework,Version=v4.5.
error: Unable to resolve xunit.extensibility.execution (>= 2.1.0) for .NETFramework,Version=v4.5.
error: Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNXCore,Version=v5.0.
error: Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNXCore,Version=v5.0.
error: Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNXCore,Version=v5.0.
error: Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
error: Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.ObjectModel (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Reflection.Extensions (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Text.RegularExpressions (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading.Tasks (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve xunit.extensibility.core (>= 2.1.0) for .NETFramework,Version=v4.5.
error: Unable to resolve xunit.extensibility.execution (>= 2.1.0) for .NETFramework,Version=v4.5.
error: Unable to resolve xunit.runner.console (>= 2.1.0) for .NETFramework,Version=v4.5.
error: Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNX,Version=v4.5.1.
error: Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNXCore,Version=v5.0.
error: Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNXCore,Version=v5.0.
error: Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
error: Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNXCore,Version=v5.0.
error: Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.ObjectModel (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Reflection.Extensions (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Text.RegularExpressions (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading.Tasks (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.
info : Committing restore...
log  : Restore failed in 90ms.
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.Samples/project.json...
error: Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
error: Unable to resolve System.Security.Cryptography.Hashing.Algorithms (>= 4.0.0-beta-23225) for DNXCore,Version=v5.0.
error: Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
error: Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.
error: Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.
info : Committing restore...
log  : Restore failed in 13ms.
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.Samples.FSharp/project.json...
error: Unable to resolve FSharp.Dnx (>= 1.0.0) for DNX,Version=v4.5.1.
info : Committing restore...
log  : Restore failed in 1ms.
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/Interop.Dia2Lib/project.json...
info : Committing restore...
log  : Restore completed in 1ms.
log  : Restoring packages for /home/dans/projects/public/benchmarkdotnet.git/Microsoft.Diagnostics.Runtime/project.json...
info : Committing restore...
log  : Restore completed in 1ms.
info : Committing restore...
log  : Restore failed in 580ms.
info : Committing restore...
log  : Restore failed in 137ms.
info : Committing restore...
log  : Restore failed in 607ms.

Errors in /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet/project.json
    Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
    Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.

Errors in /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.Samples/project.json
    Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
    Unable to resolve System.Security.Cryptography.Hashing.Algorithms (>= 4.0.0-beta-23225) for DNXCore,Version=v5.0.
    Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.

Errors in /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.Samples.FSharp/project.json
    Unable to resolve FSharp.Dnx (>= 1.0.0) for DNX,Version=v4.5.1.

Errors in /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.IntegrationTests.FSharp/project.json
    Unable to resolve xunit.extensibility.core (= 2.1.0) for .NETFramework,Version=v4.5.
    Unable to resolve xunit.extensibility.execution (= 2.1.0) for .NETFramework,Version=v4.5.
    Unable to resolve FSharp.Dnx (>= 1.0.0) for DNX,Version=v4.5.1.
    Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNX,Version=v4.5.1.
    Unable to resolve xunit.extensibility.core (= 2.1.0) for DNX,Version=v4.5.1.
    Unable to resolve xunit.extensibility.execution (= 2.1.0) for DNX,Version=v4.5.1.

Errors in /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.IntegrationTests/project.json
    Unable to resolve xunit.extensibility.core (>= 2.1.0) for .NETFramework,Version=v4.5.
    Unable to resolve xunit.extensibility.execution (>= 2.1.0) for .NETFramework,Version=v4.5.
    Unable to resolve xunit.runner.console (>= 2.1.0) for .NETFramework,Version=v4.5.
    Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNX,Version=v4.5.1.
    Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNX,Version=v4.5.1.
    Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNX,Version=v4.5.1.
    Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNXCore,Version=v5.0.
    Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNXCore,Version=v5.0.
    Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
    Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNXCore,Version=v5.0.
    Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.ObjectModel (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Reflection.Extensions (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Text.RegularExpressions (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading.Tasks (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.

Errors in /home/dans/projects/public/benchmarkdotnet.git/BenchmarkDotNet.Tests/project.json
    Unable to resolve xunit.extensibility.core (>= 2.1.0) for .NETFramework,Version=v4.5.
    Unable to resolve xunit.extensibility.execution (>= 2.1.0) for .NETFramework,Version=v4.5.
    Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNX,Version=v4.5.1.
    Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNX,Version=v4.5.1.
    Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNX,Version=v4.5.1.
    Unable to resolve xunit.extensibility.core (>= 2.1.0) for DNXCore,Version=v5.0.
    Unable to resolve xunit.extensibility.execution (>= 2.1.0) for DNXCore,Version=v5.0.
    Unable to resolve xunit.runner.dnx (>= 2.1.0-rc1-build204) for DNXCore,Version=v5.0.
    Unable to resolve NETStandard.Library (>= 1.0.0-rc2-23811) for DNXCore,Version=v5.0.
    Unable to resolve Microsoft.CSharp (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Collections (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Console (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading.Thread (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Process (>= 4.1.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.IO (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem.Primitives (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.IO.FileSystem (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime (>= 4.0.20) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.Extensions (>= 4.0.10) for DNXCore,Version=v5.0.
    Unable to resolve System.Runtime.InteropServices.RuntimeInformation (>= 4.0.0-beta-23516) for DNXCore,Version=v5.0.
    Unable to resolve System.ObjectModel (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Reflection (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Reflection.Extensions (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Text.RegularExpressions (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Threading.Tasks (>= 4.0.0) for DNXCore,Version=v5.0.
    Unable to resolve System.Diagnostics.Debug (>= 4.0.10) for DNXCore,Version=v5.0.

NuGet Config files used:
    /home/dans/projects/public/benchmarkdotnet.git/NuGet.Config
    /home/dans/.nuget/NuGet/NuGet.Config
damageboy
@damageboy
Mar 18 2016 19:27
Btw: What happenned to the old OperationsPerInvoke attribute (i.e. how can I do something like that in the new API?)
damageboy
@damageboy
Mar 18 2016 20:08
NM, found it
Adam Sitnik
@adamsitnik
Mar 18 2016 21:42
@mattwarren I am sorry, but I don't know how to reduce the arguments. Maybe we could post a feature request to dotnet cli repo? Or even a PR? Or filter it on our own.
Sander Rijken
@srijken
Mar 18 2016 21:52
how can I run some init code in a benchmark class? Is it good enough to put it in the constructor? Want to avoid having this bit of code be part of the measured code
Adam Sitnik
@adamsitnik
Mar 18 2016 21:52
@damageboy Thanks for the detailed output! It is really weird that resolve NETStandard.Library (>= 1.0.0-rc2-23811) fails, because it is part of the sample app that is generated with "dotnet new". I am afraid that I can not help you ;/ I expected that something is going to work and we can find the root cause, but it seems that every single package restore fails?!
@srijken Parameterless constructor is going to be executed once, you can also mark some method with [Setup] attribute and as far as I remember it is going to be executed before each benchmark execution.
Sander Rijken
@srijken
Mar 18 2016 21:55
great, thanks
Adam Sitnik
@adamsitnik
Mar 18 2016 21:57
you welcome! You can also take a look at Samples
Johan Larsson
@JohanLarsson
Mar 18 2016 23:54
Got an NRE:
   at BenchmarkDotNet.Columns.BaselineDiffColumn.GetValue(Summary summary, Benchmark benchmark)
   at BenchmarkDotNet.Reports.SummaryTable.<>c__DisplayClass18_2.<.ctor>b__8(IColumn c)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at BenchmarkDotNet.Reports.SummaryTable.<>c__DisplayClass18_1.<.ctor>b__7(BenchmarkReport r)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at BenchmarkDotNet.Reports.SummaryTable..ctor(Summary summary)
   at BenchmarkDotNet.Reports.Summary..ctor(String title, IList`1 reports, EnvironmentHelper hostEnvironmentHelper, IConfig config, String currentDirectory, TimeSpan totalTime)
   at BenchmarkDotNet.Running.BenchmarkRunner.Run(IList`1 benchmarks, ILogger logger, String title, IConfig config)
   at BenchmarkDotNet.Running.BenchmarkRunner.Run(IList`1 benchmarks, IConfig config)
   at BenchmarkDotNet.Running.BenchmarkRunner.Run[T](IConfig config)
   at Gu.Wpf.Geometry.Benchmarks.Program.Main(String[] args) in C:\Git\Gu.Wpf.Geometry\Gu.Wpf.Geometry.Benchmarks\Program.cs:line 9