Skip to content
14 changes: 6 additions & 8 deletions dotnet/targets/Microsoft.Sdk.R2R.targets
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,20 @@
</PropertyGroup>


<!-- Exclude user assemblies from R2R composite so they run interpreted for debugging -->
<!--
Exclude user assemblies from R2R composite so they run interpreted for debugging.
User assembly is defined as anything not coming from a NuGet package.
-->
<Target Name="_SelectR2RAssemblies"
Condition="'$(FilterReadyToRunAssemblies)' == 'true'"
BeforeTargets="ResolveReadyToRunCompilers">
<ItemGroup>
<_ResolvedAssembliesToPublish Include="@(ResolvedFileToPublish)" Condition="'%(Extension)' == '.dll' And '%(ResolvedFileToPublish.Culture)' == '' And '%(ResolvedFileToPublish.DestinationSubDirectory)' == ''" />
<_NonUserAssemblies
Include="@(_ResolvedAssembliesToPublish)"
Condition="(
'%(_ResolvedAssembliesToPublish.NuGetPackageId)' == 'Microsoft.NETCore.App.Ref' Or
'%(_ResolvedAssembliesToPublish.NuGetPackageId)' == '$(_MonoNugetPackageId)' Or
'%(_ResolvedAssembliesToPublish.NuGetPackageId)' == '$(_XamarinNugetPackageId)' Or
'%(_ResolvedAssembliesToPublish.NuGetPackageId)' == '$(_XamarinNugetManagedPackageId)'
)" />
Condition="'%(_ResolvedAssembliesToPublish.NuGetPackageId)' != ''" />
Comment thread
kotlarmilos marked this conversation as resolved.
<_UserAssemblies Include="@(_ResolvedAssembliesToPublish)" Exclude="@(_NonUserAssemblies)" />
<PublishReadyToRunExcludeTest Include="@(_UserAssemblies -> '%(Filename)')" />
<PublishReadyToRunExclude Include="@(_UserAssemblies -> '%(Filename)%(Extension)')" />
</ItemGroup>

<!-- Hash the R2R input assemblies so we can detect when the set actually changes -->
Expand Down
16 changes: 8 additions & 8 deletions tests/dotnet/UnitTests/expected/iOS-CoreCLR-Interpreter-size.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
AppBundleSize: 9,240,684 bytes (9,024.1 KB = 8.8 MB)
AppBundleSize: 9,240,614 bytes (9,024.0 KB = 8.8 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
_CodeSignature/CodeResources: 10,847 bytes (10.6 KB = 0.0 MB)
archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB)
Frameworks/libcoreclr.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libcoreclr.framework/Info.plist: 818 bytes (0.8 KB = 0.0 MB)
Frameworks/libcoreclr.framework/Info.plist: 808 bytes (0.8 KB = 0.0 MB)
Frameworks/libcoreclr.framework/libcoreclr: 5,204,000 bytes (5,082.0 KB = 5.0 MB)
Frameworks/libSystem.Globalization.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Globalization.Native.framework/Info.plist: 860 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Globalization.Native.framework/Info.plist: 850 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Globalization.Native.framework/libSystem.Globalization.Native: 109,248 bytes (106.7 KB = 0.1 MB)
Frameworks/libSystem.IO.Compression.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.IO.Compression.Native.framework/Info.plist: 862 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.IO.Compression.Native.framework/Info.plist: 852 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.IO.Compression.Native.framework/libSystem.IO.Compression.Native: 1,431,296 bytes (1,397.8 KB = 1.4 MB)
Frameworks/libSystem.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Native.framework/Info.plist: 832 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Native.framework/Info.plist: 822 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Native.framework/libSystem.Native: 161,920 bytes (158.1 KB = 0.2 MB)
Frameworks/libSystem.Net.Security.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Net.Security.Native.framework/Info.plist: 858 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Net.Security.Native.framework/Info.plist: 848 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Net.Security.Native.framework/libSystem.Net.Security.Native: 88,016 bytes (86.0 KB = 0.1 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/Info.plist: 888 bytes (0.9 KB = 0.0 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/Info.plist: 878 bytes (0.9 KB = 0.0 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/libSystem.Security.Cryptography.Native.Apple: 194,256 bytes (189.7 KB = 0.2 MB)
Info.plist: 1,146 bytes (1.1 KB = 0.0 MB)
Info.plist: 1,136 bytes (1.1 KB = 0.0 MB)
Microsoft.iOS.dll: 98,816 bytes (96.5 KB = 0.1 MB)
PkgInfo: 8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin: 1,481 bytes (1.4 KB = 0.0 MB)
Expand Down
18 changes: 9 additions & 9 deletions tests/dotnet/UnitTests/expected/iOS-CoreCLR-R2R-size.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
AppBundleSize: 13,826,109 bytes (13,502.1 KB = 13.2 MB)
AppBundleSize: 13,826,029 bytes (13,502.0 KB = 13.2 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
_CodeSignature/CodeResources: 11,701 bytes (11.4 KB = 0.0 MB)
archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB)
Frameworks/libcoreclr.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libcoreclr.framework/Info.plist: 818 bytes (0.8 KB = 0.0 MB)
Frameworks/libcoreclr.framework/Info.plist: 808 bytes (0.8 KB = 0.0 MB)
Frameworks/libcoreclr.framework/libcoreclr: 5,204,000 bytes (5,082.0 KB = 5.0 MB)
Frameworks/libSystem.Globalization.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Globalization.Native.framework/Info.plist: 860 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Globalization.Native.framework/Info.plist: 850 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Globalization.Native.framework/libSystem.Globalization.Native: 109,248 bytes (106.7 KB = 0.1 MB)
Frameworks/libSystem.IO.Compression.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.IO.Compression.Native.framework/Info.plist: 862 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.IO.Compression.Native.framework/Info.plist: 852 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.IO.Compression.Native.framework/libSystem.IO.Compression.Native: 1,431,296 bytes (1,397.8 KB = 1.4 MB)
Frameworks/libSystem.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Native.framework/Info.plist: 832 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Native.framework/Info.plist: 822 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Native.framework/libSystem.Native: 161,920 bytes (158.1 KB = 0.2 MB)
Frameworks/libSystem.Net.Security.Native.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Net.Security.Native.framework/Info.plist: 858 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Net.Security.Native.framework/Info.plist: 848 bytes (0.8 KB = 0.0 MB)
Frameworks/libSystem.Net.Security.Native.framework/libSystem.Net.Security.Native: 88,016 bytes (86.0 KB = 0.1 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/Info.plist: 888 bytes (0.9 KB = 0.0 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/Info.plist: 878 bytes (0.9 KB = 0.0 MB)
Frameworks/libSystem.Security.Cryptography.Native.Apple.framework/libSystem.Security.Cryptography.Native.Apple: 194,256 bytes (189.7 KB = 0.2 MB)
Frameworks/SizeTestApp.framework/_CodeSignature/CodeResources: 1,798 bytes (1.8 KB = 0.0 MB)
Frameworks/SizeTestApp.framework/Info.plist: 821 bytes (0.8 KB = 0.0 MB)
Frameworks/SizeTestApp.framework/Info.plist: 811 bytes (0.8 KB = 0.0 MB)
Frameworks/SizeTestApp.framework/SizeTestApp: 3,913,744 bytes (3,822.0 KB = 3.7 MB)
Info.plist: 1,146 bytes (1.1 KB = 0.0 MB)
Info.plist: 1,136 bytes (1.1 KB = 0.0 MB)
Microsoft.iOS.dll: 163,840 bytes (160.0 KB = 0.2 MB)
PkgInfo: 8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin: 1,481 bytes (1.4 KB = 0.0 MB)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
AppBundleSize: 3,618,233 bytes (3,533.4 KB = 3.5 MB)
AppBundleSize: 3,617,184 bytes (3,532.4 KB = 3.4 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
_CodeSignature/CodeResources: 3,997 bytes (3.9 KB = 0.0 MB)
archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB)
Info.plist: 1,159 bytes (1.1 KB = 0.0 MB)
Microsoft.iOS.dll: 154,112 bytes (150.5 KB = 0.1 MB)
Info.plist: 1,134 bytes (1.1 KB = 0.0 MB)
Microsoft.iOS.dll: 153,088 bytes (149.5 KB = 0.1 MB)
PkgInfo: 8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin: 1,405 bytes (1.4 KB = 0.0 MB)
SizeTestApp: 2,391,264 bytes (2,335.2 KB = 2.3 MB)
Expand Down
8 changes: 4 additions & 4 deletions tests/dotnet/UnitTests/expected/iOS-MonoVM-size.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
AppBundleSize: 9,436,901 bytes (9,215.7 KB = 9.0 MB)
AppBundleSize: 9,436,348 bytes (9,215.2 KB = 9.0 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
_CodeSignature/CodeResources: 5,229 bytes (5.1 KB = 0.0 MB)
aot-instances.aotdata.arm64: 816,880 bytes (797.7 KB = 0.8 MB)
archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB)
Info.plist: 1,159 bytes (1.1 KB = 0.0 MB)
Microsoft.iOS.aotdata.arm64: 22,888 bytes (22.4 KB = 0.0 MB)
Microsoft.iOS.dll: 49,152 bytes (48.0 KB = 0.0 MB)
Info.plist: 1,134 bytes (1.1 KB = 0.0 MB)
Microsoft.iOS.aotdata.arm64: 22,872 bytes (22.3 KB = 0.0 MB)
Microsoft.iOS.dll: 48,640 bytes (47.5 KB = 0.0 MB)
PkgInfo: 8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin: 1,481 bytes (1.4 KB = 0.0 MB)
SizeTestApp: 7,317,696 bytes (7,146.2 KB = 7.0 MB)
Expand Down
4 changes: 2 additions & 2 deletions tests/dotnet/UnitTests/expected/iOS-NativeAOT-size.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
AppBundleSize: 2,470,060 bytes (2,412.2 KB = 2.4 MB)
AppBundleSize: 2,470,035 bytes (2,412.1 KB = 2.4 MB)
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
_CodeSignature/CodeResources: 2,589 bytes (2.5 KB = 0.0 MB)
archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB)
Info.plist: 1,159 bytes (1.1 KB = 0.0 MB)
Info.plist: 1,134 bytes (1.1 KB = 0.0 MB)
PkgInfo: 8 bytes (0.0 KB = 0.0 MB)
runtimeconfig.bin: 1,808 bytes (1.8 KB = 0.0 MB)
SizeTestApp: 2,464,112 bytes (2,406.4 KB = 2.3 MB)
Loading