Benchmarkdotnet: Comparing project reference against package reference

Created on 5 Jul 2019  路  4Comments  路  Source: dotnet/BenchmarkDotNet

I know it is possible to compare between different NuGet versions, but is it possible to compare a local build of a library (a ProjectReference to Foo.csproj) against an existing NuGet package reference.

If not, is it possible to emit a custom MSBuild define on a Job that could be used in a csproj condition for the Reference block?

question

Most helpful comment

Tested it on a few projects and it seems to be working. Thanks again.

All 4 comments

I don't know about normal solution for this. But you can try to use local feeds as a workaround. You can publish new version of your package to local directory and then configure your nuget.config in benchmark project to use it.

I thought about doing this but didn't think of the nuget config, thanks.

Tested it on a few projects and it seems to be working. Thanks again.

@MihaZupan Thanks for the information.

Was this page helpful?
0 / 5 - 0 ratings