BenchmarkDotNet icon indicating copy to clipboard operation
BenchmarkDotNet copied to clipboard

BenchmarkDotNet requires dotnet SDK to be installed or path to local dotnet cli provided in explicit way using.. Error when running from VsTest

Open wouterroos opened this issue 1 month ago • 1 comments

Hi,

I followed the instructions outlined at https://benchmarkdotnet.org/articles/features/vstest.html using the latest version of BenchmarkDotNet but I'm getting the following error in my test output when attempting to run a benchmark from the test explorer:

BenchmarkDotNet requires dotnet SDK to be installed or path to local dotnet cli provided in explicit way using

I wasn't able to find any information on this error anywhere, does someone have any pointers to figure what's going on here? I can run the same benchmarks from the command line just fine.

Thanks

wouterroos avatar Nov 05 '25 09:11 wouterroos

Try re-install Visual Studio. Then update it and the sdk to latest stable versions.

timcassell avatar Nov 05 '25 18:11 timcassell