Skip to content

Commit

Permalink
Bump to dotnet/installer@dbdda95 7.0.100-preview.7.22370.3 (#7181)
Browse files Browse the repository at this point in the history
Changes: dotnet/installer@d2fff6d...dbdda95
Changes: dotnet/linker@ef2d0f2...33a76b8
Changes: dotnet/runtime@206dccb...db5d4df
Changes: dotnet/emsdk@40e7c62...7d27778

Updates:

* Microsoft.Dotnet.Sdk.Internal: from 7.0.100-preview.7.22362.31 to 7.0.100-preview.7.22370.3
* Microsoft.NET.ILLink.Tasks: from 7.0.100-1.22354.1 to 7.0.100-1.22362.1
* Microsoft.NETCore.App.Ref: from 7.0.0-preview.6.22356.1 to 7.0.0-preview.7.22369.4
* Microsoft.NET.Workload.Emscripten.Manifest-7.0.100: from 7.0.0-preview.7.22330.1 to 7.0.0-preview.7.22361.2

~~ Set `$(TrimMode)` `partial` by default (#7132) ~~

Companion to dotnet/linker#2856

* Update src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.DefaultProperties.targets
* Remove usages of `%(TrimMode)` for `$(AndroidLinkMode)` of `Full`
* Update .apkdesc files

~~ Set `$(LangVersion)` to 10 in Mono.Android.csproj ~~

There appears to be a C# 11 IL size regression in:

dotnet/roslyn#62832

We can use C# 10 for now to avoid this.

* Fixed `Mono.Android.dll` size in `.apkdesc` files

Co-authored-by: Andy Gocke <[email protected]>
Co-authored-by: Jonathan Peppers <[email protected]>
  • Loading branch information
3 people authored Jul 22, 2022
1 parent 3387f5e commit 31fe82b
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 74 deletions.
16 changes: 8 additions & 8 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="7.0.100-preview.7.22362.31">
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="7.0.100-preview.7.22370.3">
<Uri>https://github.com/dotnet/installer</Uri>
<Sha>d2fff6df585efa03cbe883b4fb6ce41be8d61342</Sha>
<Sha>dbdda951424aa9b4d299d60f161f040af56d9886</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="7.0.100-1.22354.1" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="7.0.100-1.22362.1" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Uri>https://github.com/dotnet/linker</Uri>
<Sha>ef2d0f25b72469b55925251a79f12bcbf98644bf</Sha>
<Sha>33a76b856466b96dd3d179e599a7fc0118389641</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App.Ref" Version="7.0.0-preview.6.22356.1" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Dependency Name="Microsoft.NETCore.App.Ref" Version="7.0.0-preview.7.22369.4" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>206dccb7945aaa3f26599fbe742de9022ca7ef91</Sha>
<Sha>db5d4dfd16d2b56fd557b44d7b9e172372b43454</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-7.0.100" Version="7.0.0-preview.7.22330.1" CoherentParentDependency="Microsoft.NETCore.App.Ref">
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-7.0.100" Version="7.0.0-preview.7.22361.2" CoherentParentDependency="Microsoft.NETCore.App.Ref">
<Uri>https://github.com/dotnet/emsdk</Uri>
<Sha>40e7c6226711ec616ee07e725563eda708630fe1</Sha>
<Sha>7d277787570614a3dd99e1d6022375d9ae43e6af</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
Expand Down
8 changes: 4 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project>
<!--Package versions-->
<PropertyGroup>
<MicrosoftDotnetSdkInternalPackageVersion>7.0.100-preview.7.22362.31</MicrosoftDotnetSdkInternalPackageVersion>
<MicrosoftNETILLinkTasksPackageVersion>7.0.100-1.22354.1</MicrosoftNETILLinkTasksPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>7.0.0-preview.6.22356.1</MicrosoftNETCoreAppRefPackageVersion>
<MicrosoftDotnetSdkInternalPackageVersion>7.0.100-preview.7.22370.3</MicrosoftDotnetSdkInternalPackageVersion>
<MicrosoftNETILLinkTasksPackageVersion>7.0.100-1.22362.1</MicrosoftNETILLinkTasksPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>7.0.0-preview.7.22369.4</MicrosoftNETCoreAppRefPackageVersion>
<MicrosoftDotNetApiCompatPackageVersion>7.0.0-beta.22103.1</MicrosoftDotNetApiCompatPackageVersion>
<MicrosoftDotNetBuildTasksFeedPackageVersion>7.0.0-beta.22103.1</MicrosoftDotNetBuildTasksFeedPackageVersion>
<MicrosoftNETWorkloadEmscriptenManifest70100Version>7.0.0-preview.7.22330.1</MicrosoftNETWorkloadEmscriptenManifest70100Version>
<MicrosoftNETWorkloadEmscriptenManifest70100Version>7.0.0-preview.7.22361.2</MicrosoftNETWorkloadEmscriptenManifest70100Version>
<MicrosoftNETWorkloadEmscriptenPackageVersion>$(MicrosoftNETWorkloadEmscriptenManifest70100Version)</MicrosoftNETWorkloadEmscriptenPackageVersion>
</PropertyGroup>
<PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Mono.Android/Mono.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<Nullable>enable</Nullable>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
<!-- Avoids the size increase for C# delegates -->
<LangVersion>10</LangVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'monoandroid10' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
<PublishTrimmed Condition=" '$(PublishTrimmed)' == '' and '$(Configuration)' == 'Release' and '$(AndroidLinkMode)' != 'None' ">true</PublishTrimmed>
<AndroidLinkMode Condition=" '$(AndroidLinkMode)' == '' and '$(PublishTrimmed)' == 'true' ">SdkOnly</AndroidLinkMode>
<AndroidLinkMode Condition=" '$(AndroidLinkMode)' == '' ">None</AndroidLinkMode>
<TrimmerDefaultAction Condition=" '$(TrimmerDefaultAction)' == '' and '$(AndroidLinkMode)' == 'Full' ">link</TrimmerDefaultAction>
<!-- For compat with user code not marked trimmable, only trim opt-in by default. -->
<TrimMode Condition=" '$(TrimMode)' == '' and '$(AndroidLinkMode)' == 'Full' ">link</TrimMode>
<TrimMode Condition="'$(TrimMode)' == ''">partial</TrimMode>
<SuppressTrimAnalysisWarnings Condition=" '$(SuppressTrimAnalysisWarnings)' == '' ">true</SuppressTrimAnalysisWarnings>
<!-- Prefer $(RuntimeIdentifiers) plural -->
<RuntimeIdentifiers Condition=" '$(RuntimeIdentifier)' == '' And '$(RuntimeIdentifiers)' == '' ">android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ This file contains the .NET 5-specific targets to customize ILLink
Condition="'$(VSAndroidDesigner)' != ''"
Value="$(VSAndroidDesigner)"
Trim="true" />
<!-- Mark all assemblies to be linked for AndroidLinkMode=Full -->
<ResolvedFileToPublish
Update="@(ResolvedFileToPublish)"
Condition=" '$(AndroidLinkMode)' == 'Full' and '%(ResolvedFileToPublish.Extension)' == '.dll' and '%(ResolvedFileToPublish.AssetType)' != 'native' "
TrimMode="link"
/>
<!-- TODO: remove setting the trim mode here, once the support packages are updated to NET6 and compatability packages not needed -->
<ResolvedFileToPublish
Condition=" '$(AndroidLinkMode)' == 'SdkOnly' and ( $([System.String]::Copy(%(Filename)).StartsWith ('Xamarin.AndroidX.')) or $([System.String]::Copy(%(Filename)).StartsWith ('Xamarin.Android.Support.')) or $([System.String]::Copy(%(Filename)).StartsWith ('Xamarin.Google.')) or $([System.String]::Copy(%(Filename)).StartsWith ('Xamarin.GooglePlayServices.')) ) ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@
"Size": 3032
},
"assemblies/Java.Interop.dll": {
"Size": 59419
"Size": 59536
},
"assemblies/Mono.Android.dll": {
"Size": 89327
"Size": 89397
},
"assemblies/rc.bin": {
"Size": 1083
},
"assemblies/System.Console.dll": {
"Size": 6484
"Size": 6492
},
"assemblies/System.Linq.dll": {
"Size": 9980
"Size": 9973
},
"assemblies/System.Private.CoreLib.dll": {
"Size": 532428
"Size": 533387
},
"assemblies/System.Runtime.dll": {
"Size": 2417
"Size": 2416
},
"assemblies/UnnamedProject.dll": {
"Size": 3560
"Size": 3601
},
"classes.dex": {
"Size": 360744
Expand All @@ -35,19 +35,19 @@
"Size": 512520
},
"lib/arm64-v8a/libmonosgen-2.0.so": {
"Size": 3083112
"Size": 3084536
},
"lib/arm64-v8a/libSystem.IO.Compression.Native.so": {
"Size": 723840
},
"lib/arm64-v8a/libSystem.Native.so": {
"Size": 87768
"Size": 92800
},
"lib/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so": {
"Size": 146128
"Size": 148696
},
"lib/arm64-v8a/libxamarin-app.so": {
"Size": 9528
"Size": 9552
},
"META-INF/BNDLTOOL.RSA": {
"Size": 1213
Expand Down Expand Up @@ -83,5 +83,5 @@
"Size": 1904
}
},
"PackageSize": 2738143
"PackageSize": 2742239
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,121 +8,121 @@
"Size": 7114
},
"assemblies/Java.Interop.dll": {
"Size": 66763
"Size": 66879
},
"assemblies/Mono.Android.dll": {
"Size": 447517
"Size": 447679
},
"assemblies/mscorlib.dll": {
"Size": 3899
"Size": 3888
},
"assemblies/netstandard.dll": {
"Size": 5621
"Size": 5610
},
"assemblies/rc.bin": {
"Size": 1083
},
"assemblies/System.Collections.Concurrent.dll": {
"Size": 10861
"Size": 10855
},
"assemblies/System.Collections.dll": {
"Size": 16170
"Size": 16165
},
"assemblies/System.Collections.NonGeneric.dll": {
"Size": 7955
"Size": 7949
},
"assemblies/System.ComponentModel.dll": {
"Size": 2021
"Size": 2013
},
"assemblies/System.ComponentModel.Primitives.dll": {
"Size": 2636
"Size": 2628
},
"assemblies/System.ComponentModel.TypeConverter.dll": {
"Size": 6114
"Size": 6106
},
"assemblies/System.Console.dll": {
"Size": 6683
"Size": 7375
},
"assemblies/System.Core.dll": {
"Size": 2063
"Size": 2052
},
"assemblies/System.Diagnostics.TraceSource.dll": {
"Size": 6579
"Size": 6576
},
"assemblies/System.dll": {
"Size": 2417
"Size": 2406
},
"assemblies/System.Drawing.dll": {
"Size": 2103
"Size": 2093
},
"assemblies/System.Drawing.Primitives.dll": {
"Size": 12188
"Size": 12187
},
"assemblies/System.IO.Compression.dll": {
"Size": 16867
"Size": 16857
},
"assemblies/System.IO.IsolatedStorage.dll": {
"Size": 10055
"Size": 10056
},
"assemblies/System.Linq.dll": {
"Size": 19806
"Size": 20029
},
"assemblies/System.Linq.Expressions.dll": {
"Size": 177416
"Size": 177417
},
"assemblies/System.Net.Http.dll": {
"Size": 66486
"Size": 66469
},
"assemblies/System.Net.Primitives.dll": {
"Size": 22061
"Size": 22055
},
"assemblies/System.Net.Requests.dll": {
"Size": 3675
"Size": 3665
},
"assemblies/System.ObjectModel.dll": {
"Size": 8552
"Size": 8545
},
"assemblies/System.Private.CoreLib.dll": {
"Size": 815279
"Size": 823756
},
"assemblies/System.Private.DataContractSerialization.dll": {
"Size": 185005
"Size": 184961
},
"assemblies/System.Private.Uri.dll": {
"Size": 42683
"Size": 42651
},
"assemblies/System.Private.Xml.dll": {
"Size": 216493
"Size": 216481
},
"assemblies/System.Private.Xml.Linq.dll": {
"Size": 16709
"Size": 16712
},
"assemblies/System.Runtime.dll": {
"Size": 2613
"Size": 2606
},
"assemblies/System.Runtime.Serialization.dll": {
"Size": 2027
"Size": 2016
},
"assemblies/System.Runtime.Serialization.Formatters.dll": {
"Size": 2564
"Size": 2554
},
"assemblies/System.Runtime.Serialization.Primitives.dll": {
"Size": 3840
"Size": 3833
},
"assemblies/System.Security.Cryptography.dll": {
"Size": 7799
"Size": 7795
},
"assemblies/System.Text.RegularExpressions.dll": {
"Size": 152582
"Size": 154177
},
"assemblies/System.Xml.dll": {
"Size": 1918
"Size": 1907
},
"assemblies/System.Xml.Linq.dll": {
"Size": 1939
"Size": 1928
},
"assemblies/UnnamedProject.dll": {
"Size": 117250
"Size": 117277
},
"assemblies/Xamarin.AndroidX.Activity.dll": {
"Size": 5941
Expand Down Expand Up @@ -197,19 +197,19 @@
"Size": 512520
},
"lib/arm64-v8a/libmonosgen-2.0.so": {
"Size": 3083112
"Size": 3084536
},
"lib/arm64-v8a/libSystem.IO.Compression.Native.so": {
"Size": 723840
},
"lib/arm64-v8a/libSystem.Native.so": {
"Size": 87768
"Size": 92800
},
"lib/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so": {
"Size": 146128
"Size": 148696
},
"lib/arm64-v8a/libxamarin-app.so": {
"Size": 98952
"Size": 98976
},
"META-INF/android.support.design_material.version": {
"Size": 12
Expand Down Expand Up @@ -1964,5 +1964,5 @@
"Size": 341228
}
},
"PackageSize": 8073625
"PackageSize": 8085913
}

0 comments on commit 31fe82b

Please sign in to comment.