File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,4 +14,3 @@ branches:
1414 tag : rc
1515ignore :
1616 sha : []
17- next-version : 3.0.0
Original file line number Diff line number Diff line change @@ -394,18 +394,7 @@ Task("Generate-Benchmark-Report")
394394
395395 var assemblyLocation = MakeAbsolute ( File ( $ "{ publishDirectory } { libraryName } .Benchmark.dll") ) . FullPath ;
396396 var artifactsLocation = MakeAbsolute ( File ( benchmarkDir ) ) . FullPath ;
397- var benchmarkToolLocation = Context . Tools . Resolve ( "dotnet-benchmark.exe" ) ;
398-
399- var processResult = StartProcess (
400- benchmarkToolLocation ,
401- new ProcessSettings ( )
402- {
403- Arguments = $ "{ assemblyLocation } -f * --artifacts={ artifactsLocation } "
404- } ) ;
405- if ( processResult != 0 )
406- {
407- throw new Exception ( $ "dotnet-benchmark.exe did not complete successfully. Result code: { processResult } ") ;
408- }
397+ DotNetCoreTool ( benchmarkProject , "benchmark" , $ "{ assemblyLocation } -f * --artifacts={ artifactsLocation } ") ;
409398} ) ;
410399
411400
You can’t perform that action at this time.
0 commit comments