IS there a good strategy to benchmark against previous versions of a library? #2990
Answered
by
timcassell
paulomorgado
asked this question in
Q&A
-
|
I'd like to compare the current branch with the latest published NuGet. Is there a good strategy for that? |
Beta Was this translation helpful? Give feedback.
Answered by
timcassell
Feb 3, 2026
Replies: 1 comment 1 reply
-
|
See https://benchmarkdotnet.org/articles/samples/IntroNuGet.html You can use a <ProjectReference Include="MyLib.csproj" Condition="'$(MyLibVersion)' == 'develop'">
<PackageReference Include="MyLib" Version="'$(MyLibVersion)'" Condition="'$(MyLibVersion)' != 'develop'"> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
paulomorgado
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://benchmarkdotnet.org/articles/samples/IntroNuGet.html
You can use a
Conditionto select a package reference or project reference depending on your customMsBuildArguments.