dotnet / dotnet/BenchmarkDotNet

Running on Android and iOS devices with net6.0

Open
#2,242 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
11.5k
Forks
1.1k
Avg merge
4d 11h
Merged PRs (30d)
11

Description

Hi there,

with Xamarin it is possible to run Benchmarks directly on the Android or iOS device like also shown in the Xamarin.Forms sample in this repo. Unfortunately that is not possible anymore with dotnet maui with the project targeting net6.0-android and/or net6.0-ios. When running Benchmarks on Android the System.ArgumentOutOfRangeException: "Runtime not supported (Parameter 'runtime')
Actual value was MonoAOTLLVM." will get thrown. Same happens on iOS. Are there any workarounds?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.