diff --git a/build-tools/mono-runtimes/mono-runtimes.projitems b/build-tools/mono-runtimes/mono-runtimes.projitems
index 4e69d5dc0..bcb50c34a 100644
--- a/build-tools/mono-runtimes/mono-runtimes.projitems
+++ b/build-tools/mono-runtimes/mono-runtimes.projitems
@@ -32,6 +32,7 @@
libmonosgen-2.0
so
libmono-profiler-log
+ libmono-profiler-aot
libmono-btls-shared
libMonoPosixHelper
$(_ArmeabiRuntimeBuild)
@@ -58,6 +59,7 @@
libmonosgen-2.0
so
libmono-profiler-log
+ libmono-profiler-aot
libmono-btls-shared
libMonoPosixHelper
true
@@ -87,6 +89,7 @@
libmonosgen-2.0
so
libmono-profiler-log
+ libmono-profiler-aot
libmono-btls-shared
libMonoPosixHelper
$(_Arm64RuntimeBuild)
@@ -117,6 +120,7 @@
so
libmono-btls-shared
libmono-profiler-log
+ libmono-profiler-aot
libMonoPosixHelper
$(_X86RuntimeBuild)
@@ -145,6 +149,7 @@
libmonosgen-2.0
so
libmono-profiler-log
+ libmono-profiler-aot
libmono-btls-shared
libMonoPosixHelper
$(_X8664RuntimeBuild)
@@ -171,6 +176,7 @@
dll
libmonosgen-2.0
+
libMonoPosixHelper
True
@@ -194,6 +200,7 @@
dll
libmonosgen-2.0
+
libMonoPosixHelper
True
@@ -215,6 +222,7 @@
libmonosgen-2.0
dylib
libmono-profiler-log
+ libmono-profiler-aot
libMonoPosixHelper
True
@@ -236,6 +244,7 @@
libmonosgen-2.0
so
libmono-profiler-log
+ libmono-profiler-aot
libMonoPosixHelper
True
diff --git a/build-tools/mono-runtimes/mono-runtimes.targets b/build-tools/mono-runtimes/mono-runtimes.targets
index 2f71cd265..d2e73f575 100644
--- a/build-tools/mono-runtimes/mono-runtimes.targets
+++ b/build-tools/mono-runtimes/mono-runtimes.targets
@@ -241,14 +241,26 @@
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\mono\profiler\.libs\%(OutputProfilerFilename).%(NativeLibraryExtension)')"
/>
+ <_ProfilerSource
+ Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputAotProfilerFilename)' != '' "
+ Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\mono\profiler\.libs\%(OutputAotProfilerFilename).%(NativeLibraryExtension)')"
+ />
<_InstallProfilerOutput
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputProfilerFilename).%(NativeLibraryExtension)')"
/>
+ <_InstallProfilerOutput
+ Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputAotProfilerFilename)' != '' "
+ Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputAotProfilerFilename).%(NativeLibraryExtension)')"
+ />
<_InstallUnstrippedProfilerOutput
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputProfilerFilename).d.%(NativeLibraryExtension)')"
/>
+ <_InstallUnstrippedProfilerOutput
+ Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputAotProfilerFilename)' != '' "
+ Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputAotProfilerFilename).d.%(NativeLibraryExtension)')"
+ />
<_MonoBtlsSource
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputMonoBtlsFilename)' != '' "
Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\mono\btls\build-shared\%(OutputMonoBtlsFilename).%(NativeLibraryExtension)')"