Skip to content

[XABT] introduce $(EnableProfiler) property #10083

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Documentation/docs-mobile/building-apps/build-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,17 @@ final `.apk`.

This property is `False` by default.

## AndroidEnableProfiler

Synonym for the [`$(EnableProfiler)`](#enableprofiler) property.

Required for using `dotnet-trace` or `dotnet-gcdump` in Android
applications. If set to `true`, it includes the Mono diagnostic
component in the application. This component is the
`libmono-component-diagnostics_tracing.so` native library.

This property is `False` by default.

## AndroidEnableObsoleteOverrideInheritance

A boolean property that determines if bound methods automatically inherit `[Obsolete]`
Expand Down Expand Up @@ -1548,6 +1559,18 @@ This property is `False` by default.
This property is ignored unless the
[`$(AotAssemblies)`](#aotassemblies) MSBuild property is `True`.

## EnableProfiler

Synonym for the [`$(AndroidEnableProfiler)`](#androidenableprofiler)
property.

Required for using `dotnet-trace` or `dotnet-gcdump` in Android
applications. If set to `true`, it includes the Mono diagnostic
component in the application. This component is the
`libmono-component-diagnostics_tracing.so` native library.

This property is `False` by default.

## EnableProguard

A boolean property that determines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<AndroidEnableRestrictToAttributes Condition=" '$(AndroidEnableRestrictToAttributes)' == '' ">obsolete</AndroidEnableRestrictToAttributes>

<!-- Mono components -->
<AndroidEnableProfiler Condition=" '$(AndroidEnableProfiler)' == ''">$(EnableProfiler)</AndroidEnableProfiler>
<AndroidEnableProfiler Condition=" '$(AndroidEnableProfiler)' == ''">false</AndroidEnableProfiler>

<!--
Expand Down
Loading