Skip to content

Mvc.Performance benchmark failing to run: An assembly specified in the application dependencies manifest has already been found but with a different file extension #22915

@alefranz

Description

@alefranz

Describe the bug

I'm unable to run the benchmarks in Microsoft.AspNetCore.Mvc.Performance due to an issue resolving the dependencies.

To Reproduce

.\build.ps1 -BuildManaged -Configuration Release
cd src\Mvc\benchmarks\Microsoft.AspNetCore.Mvc.Performance
dotnet run -c Release
# run benchmark 2

Exceptions (if any)

// Execute: dotnet "32037691-5c3b-4f41-ae36-96fed54708cd.exe" --benchmarkName "Microsoft.AspNetCore.Mvc.Performance.HelperPerformanceBenchmark.RenderView(ViewPath: "~/Views/HelperPartialTagHelper.cshtml")" --job "Server=True, Toolchain=.NET Core 5.0, InvocationCount=1, RunStrategy=Throughput, UnrollFactor=1" --benchmarkId 4 in C:\dev\dotnet\aspnetcore\artifacts\bin\Microsoft.AspNetCore.Mvc.Performance\Release\net5.0\32037691-5c3b-4f41-ae36-96fed54708cd\bin\Release\net5.0
Error:
An assembly specified in the application dependencies manifest (32037691-5c3b-4f41-ae36-96fed54708cd.deps.json) has already been found but with a different file extension:
package: '32037691-5c3b-4f41-ae36-96fed54708cd', version: '5.0.0-dev'
path: '32037691-5c3b-4f41-ae36-96fed54708cd.dll'
previously found assembly: 'C:\dev\dotnet\aspnetcore\artifacts\bin\Microsoft.AspNetCore.Mvc.Performance\Release\net5.0\32037691-5c3b-4f41-ae36-96fed54708cd\bin\Release\net5.0\32037691-5c3b-4f41-ae36-96fed54708cd.exe'
ExitCode != 0
// Benchmark Process 5420 has exited with code -2147450740
No more Benchmark runs will be launched as NO measurements were obtained from the previous run!

Further technical details

This happens on current master 28b3ab8

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions