diff --git a/Examples/UICatalog/UICatalog.cs b/Examples/UICatalog/UICatalog.cs index ae546c1bc..71260edf2 100644 --- a/Examples/UICatalog/UICatalog.cs +++ b/Examples/UICatalog/UICatalog.cs @@ -468,6 +468,12 @@ public class UICatalog scenario.StartBenchmark (); } + // For benchmarking without ConfigurationManager, set ForceDriver directly + if (!ConfigurationManager.IsEnabled && !string.IsNullOrEmpty (_forceDriver)) + { + Application.ForceDriver = _forceDriver; + } + scenario.Main (); BenchmarkResults? results = null;