Skip to content

Commit c249e4c

Browse files
committed
docs: add docs for breaking changes of disassembler native dependencies
1 parent e099c2e commit c249e4c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/articles/features/disassembler.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ The configuration options available from code level are:
1717
* `exportCombinedDisassemblyReport`: Exports all benchmarks to a single HTML report. Makes it easy to compare different runtimes or methods (each becomes a column in HTML table).
1818
* `exportDiff`: Exports a diff of the assembly code to the Github markdown format. False by default.
1919

20+
The configuration options available for MSBuild properties:
21+
22+
* `BenchmarkDotNetTargetPlatform`: Specify `all` to include all native dependencies of disassembler.
23+
24+
> [!NOTE]
25+
> By default, BenchmarkDotNet excludes disassembler's native dependencies that aren't used on current target platform.
26+
> Use the following settings when running the benchmark binary on multiple platforms.
27+
>
28+
> ```xml
29+
> <BenchmarkDotNetTargetPlatform>all</BenchmarkDotNetTargetPlatform>
30+
> ```
31+
2032
### Requirements
2133
2234
Disassembly Diagnoser requires following settings in your `.csproj` file:

0 commit comments

Comments
 (0)