LoadBenchmarkAssemblies Method
Definition
- Namespace
- Codebelt.Extensions.BenchmarkDotNet
- Assemblies
- Codebelt.Extensions.BenchmarkDotNet.dll
LoadBenchmarkAssemblies()
Loads benchmark assemblies discovered recursively in the tuning folder.
public Assembly[] LoadBenchmarkAssemblies()
Returns
Remarks
Assemblies are selected by matching the configured BenchmarkProjectSuffix, the build configuration (Debug/Release based on AllowDebugBuild), and the target framework moniker (TargetFrameworkMoniker).
Exceptions
- InvalidOperationException
Thrown when no matching assemblies could be loaded from the tuning folder. Ensure the tuning folder contains built benchmark assemblies for the configured build configuration and TFM.