Skip to content

Commit

Permalink
Bump to xamarin/xamarin-android-tools/main@fa3711b (#7501)
Browse files Browse the repository at this point in the history
(It's just NuGet package bumps!  How hard could it be? 🙃)

Changes: dotnet/android-tools@59cac90...fa3711b

  * amarin/xamarin-android-tools@fa3711b: [build] Update NuGet package versions (amarin/xamarin-android-tools#196)

What *are* the NuGet package version bumps in
dotnet/android-tools@fa3711b?

> NuGet Package Version Bumps:
> 
>   * Microsoft.Build                     : `16.10.0`   -> `17.3.2`
>   * Microsoft.Build.Framework           : `16.10.0`   -> `17.3.2`
>   * Microsoft.Build.Tasks.Core          : `16.10.0`   -> `17.3.2`
>   * Microsoft.Build.Utilities.Core      : `16.10.0`   -> `17.3.2`
>   * Microsoft.NET.Test.Sdk              : `16.5.0`    -> `17.5.0-preview-20221003-04`
>   * nunit                               : `3.12.0`    -> `3.13.2`
>   * NUnit3TestAdapter                   : `3.16.1`    -> `4.0.0`

The `nunit` and `NUnit3TestAdapter` versions differed from what
`Xamarin.Android.Tools.Aidl-Tests.csproj` was using, which resulted
in some tests failing with:

	NUnit.Engine.NUnitEngineException : An exception occurred in the driver while loading tests.
	  ----> System.IO.FileLoadException : Could not load file or assembly 'nunit.framework, Version=3.13.2.0, Culture=neutral, PublicKeyToken=2638cd05610744eb' or one of its dependencies.
	    The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
	--NUnitEngineException
	An exception occurred in the driver while loading tests.

Fix by harmonizing `nunit` and `NUnit3TestAdapter` package versions.

Then came a fair bit of time trying to get the
`SixColors.ImageSharp` NuGet package working with the updated
packages, in particular the new `Microsoft.Build*` packages:

	System.TypeInitializationException : The type initializer for 'Xamarin.ProjectTools.XamarinAndroidCommonProject' threw an exception.
	----> System.TypeInitializationException : The type initializer for 'SixLabors.ImageSharp.Configuration' threw an exception.
	----> System.IO.FileLoadException : Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
	   at Xamarin.ProjectTools.XamarinAndroidCommonProject..ctor(String debugConfigurationName, String releaseConfigurationName)
	   at Xamarin.ProjectTools.XamarinAndroidApplicationProject..ctor(String debugConfigurationName, String releaseConfigurationName, String packageName) in C:\a\_work\1\s\src\Xamarin.Android.Build.Tasks\Tests\Xamarin.ProjectTools\Android\XamarinAndroidApplicationProject.cs:line 41
	   at Xamarin.Android.Build.Tests.PackagingTest.CheckSignApk(Boolean useApkSigner, Boolean perAbiApk) in C:\a\_work\1\s\src\Xamarin.Android.Build.Tasks\Tests\Xamarin.Android.Build.Tests\PackagingTest.cs:line 381
	--TypeInitializationException
	   at SixLabors.ImageSharp.Image.Load(Stream stream, IImageFormat& format)
	   at Xamarin.ProjectTools.XamarinAndroidCommonProject..cctor() in C:\a\_work\1\s\src\Xamarin.Android.Build.Tasks\Tests\Xamarin.ProjectTools\Android\XamarinAndroidCommonProject.cs:line 40
	--FileLoadException
	   at SixLabors.ImageSharp.Configuration..ctor(IConfigurationModule[] configurationModules)
	   at SixLabors.ImageSharp.Configuration.CreateDefaultInstance()
	   at System.Lazy`1.CreateValue()
	   at System.Lazy`1.LazyInitValue()
	   at SixLabors.ImageSharp.Configuration..cctor()

I could not figure out a way to make `SixColors.ImageSharp` work with
the other newer NuGet package versions.

*Remove* use of `SixColors.ImageSharp`, and instead have
`Xamarin.ProjectTools.dll` reference the various `.png` resources
contained in the `dotnet new android` template, in
`src\Microsoft.Android.Templates\android\Resources\**\appicon.png`.
In order to ensure sane `%(LogicalName)` values, `%(RecursiveDir)`
is used as part of the logical name, resulting in resource names
on macOS such as:

  * `mipmap-hdpi/appicon.png`
  * `mipmap-mdpi/appicon.png`
  * `mipmap-xhdpi/appicon.png`
  * `mipmap-xxhdpi/appicon.png`
  * `mipmap-xxxhdpi/appicon.png`

Xamarin.ProjectTools.dll *also* looks for a resource name with
`/` replaced by `\` (`Path.DirectorySeparatorChar`) so that this
logic works on Windows as well.

Using the same icons as the `dotnet new android` template sounded
like a good idea, except those resources caused XA0102 warnings when
validating with lint (?!):

	dotnet new android -n lint-check
	cd lint-check
	dotnet build -p:AndroidLintEnabled=True \
	  "-p:AndroidLintDisabledIssues=StaticFieldLeak%2cObsoleteSdkInt%2cAllowBackup%2cExportedReceiver%2cRedundantLabel"

results in:

	warning XA0102: Launcher icons should not fill every pixel of their square region; see the design guide for details [IconLauncherShape]
	warning XA0102: Launcher icons should not fill every pixel of their square region; see the design guide for details [IconLauncherShape]
	warning XA0102: Launcher icons should not fill every pixel of their square region; see the design guide for details [IconLauncherShape]
	warning XA0102: Launcher icons should not fill every pixel of their square region; see the design guide for details [IconLauncherShape]

(Note use of hex-encoded `,` as `%2c` so that
`$(AndroidLintDisabledIssues)` can be specified on the command-line.)

Update the `appicon.png` resources in
`src/Microsoft.Android.Templates/android` so that these lint warnings
are no longer generated.  This in turn requires updating various
`.apkdesc` files, as the new `appicon.png` files are smaller than the
images produced by `SixColors.ImageSharp`, resulting in smaller
`.apk` files in our unit tests.

Then we hit a set of assembly resolution errors around
`System.Runtime.CompilerServices.Unsafe`:

	System.IO.FileLoadException : Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
	----> System.IO.FileLoadException : Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
	   at System.MemoryExtensions.AsSpan(String text)
	   at Microsoft.Build.Evaluation.Expander`2.Function`1.ExtractPropertyFunction(String expressionFunction, IElementLocation elementLocation, Object propertyValue, UsedUninitializedProperties usedUnInitializedProperties, IFileSystem fileSystem)
	   at Microsoft.Build.Evaluation.Expander`2.PropertyExpander`1.ExpandPropertyBody(String propertyBody, Object propertyValue, IPropertyProvider`1 properties, ExpanderOptions options, IElementLocation elementLocation, UsedUninitializedProperties usedUninitializedProperties, IFileSystem fileSystem)
	   at Microsoft.Build.Evaluation.Expander`2.PropertyExpander`1.ExpandPropertiesLeaveTypedAndEscaped(String expression, IPropertyProvider`1 properties, ExpanderOptions options, IElementLocation elementLocation, UsedUninitializedProperties usedUninitializedProperties, IFileSystem fileSystem)
	   at Microsoft.Build.Evaluation.Expander`2.PropertyExpander`1.ExpandPropertiesLeaveEscaped(String expression, IPropertyProvider`1 properties, ExpanderOptions options, IElementLocation elementLocation, UsedUninitializedProperties usedUninitializedProperties, IFileSystem fileSystem)
	   at Microsoft.Build.Evaluation.Expander`2.ExpandIntoStringLeaveEscaped(String expression, ExpanderOptions options, IElementLocation elementLocation)
	   at Microsoft.Build.Evaluation.ToolsetReader.ExpandPropertyUnescaped(ToolsetPropertyDefinition property, Expander`2 expander)
	   at Microsoft.Build.Evaluation.ToolsetReader.EvaluateAndSetProperty(ToolsetPropertyDefinition property, PropertyDictionary`1 properties, PropertyDictionary`1 globalProperties, PropertyDictionary`1 initialProperties, Boolean accumulateProperties, String& toolsPath, String& binPath, Expander`2& expander)
	   at Microsoft.Build.Evaluation.ToolsetReader.ReadToolset(ToolsetPropertyDefinition toolsVersion, PropertyDictionary`1 globalProperties, PropertyDictionary`1 initialProperties, Boolean accumulateProperties)
	   at Microsoft.Build.Evaluation.ToolsetReader.ReadEachToolset(Dictionary`2 toolsets, PropertyDictionary`1 globalProperties, PropertyDictionary`1 initialProperties, Boolean accumulateProperties)
	   at Microsoft.Build.Evaluation.ToolsetReader.ReadToolsets(Dictionary`2 toolsets, PropertyDictionary`1 globalProperties, PropertyDictionary`1 initialProperties, Boolean accumulateProperties, String& msBuildOverrideTasksPath, String& defaultOverrideToolsVersion)
	   at Microsoft.Build.Evaluation.ToolsetReader.<ReadAllToolsets>g__ReadConfigToolset|12_0(<>c__DisplayClass12_0& )
	   at Microsoft.Build.Evaluation.ToolsetReader.ReadAllToolsets(Dictionary`2 toolsets, ToolsetRegistryReader registryReader, ToolsetConfigurationReader configurationReader, PropertyDictionary`1 environmentProperties, PropertyDictionary`1 globalProperties, ToolsetDefinitionLocations locations)
	   at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetRegistryReader registryReader, ToolsetConfigurationReader configReader)
	   at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging)
	   at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection()
	   at Xamarin.ProjectTools.DotNetXamarinProject.Construct() in C:\a\_work\1\s\src\Xamarin.Android.Build.Tasks\Tests\Xamarin.ProjectTools\Common\DotNetXamarinProject.cs:line 101
	   at Xamarin.ProjectTools.XamarinAndroidCommonProject.Construct() in C:\a\_work\1\s\src\Xamarin.Android.Build.Tasks\Tests\Xamarin.ProjectTools\Android\XamarinAndroidCommonProject.cs:line 53
	   at Xamarin.ProjectTools.DotNetXamarinProject.SaveProject() in C:\a\_work\1\s\src\Xamarin.Android.Build.Tasks\Tests\Xamarin.ProjectTools\Common\DotNetXamarinProject.cs:line 141
	   at Xamarin.ProjectTools.XamarinProject.Save(Boolean saveProject) in C:\a\_work\

Resolve these errors by updating the various `App.config` files so
that they use `<bindingRedirect/>` versions which match
`MSBuild.exe.config` in Visual Studio, and ensure that the referenced
NuGet packages use the same versions as the `<bindingRedirect/>`.

NuGet Package Version Bumps:

  * Microsoft.NET.Test.Sdk                      : `16.*`      -> `17.5.0-preview-20221003-04`
  * Microsoft.Win32.Registry                    : `4.7.0`     -> `5.0.0`
  * nunit                                       : `3.12.0`    -> `3.13.2`
  * NUnit.ConsoleRunner                         : `3.11.1`    -> `3.12.0`
  * NUnit3TestAdapter                           : `3.16.1`    -> `4.0.0`
  * System.CodeDom                              : `4.7.0`     -> `6.0.0`
  * System.Configuration.ConfigurationManager   : `4.7.0`     -> `6.0.1`
  * System.Reflection.Metdata                   : `1.8.0`     -> `6.0.1`

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
  • Loading branch information
jonpryor and jonathanpeppers authored Nov 18, 2022
1 parent 9836f36 commit 4221c07
Show file tree
Hide file tree
Showing 17 changed files with 79 additions and 80 deletions.
2 changes: 1 addition & 1 deletion Configuration.props
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
<!-- Unit Test Properties -->
<PropertyGroup>
<!-- When changing the version below, please also update the 'build-tools/scripts/nunit3-console*' scripts -->
<NUnitConsoleVersion Condition=" '$(NUnitConsoleVersion)' == '' ">3.11.1</NUnitConsoleVersion>
<NUnitConsoleVersion Condition=" '$(NUnitConsoleVersion)' == '' ">3.12.0</NUnitConsoleVersion>
<_Runtime Condition=" '$(HostOS)' != 'Windows' ">$(ManagedRuntime) $(ManagedRuntimeArgs)</_Runtime>
<_NUnit>$(_Runtime) $(XAPackagesDir)\nunit.consolerunner\$(NUnitConsoleVersion)\tools\nunit3-console.exe</_NUnit>
</PropertyGroup>
Expand Down
10 changes: 10 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project>

<!-- NuGet Package Versions -->
<ItemGroup>
<PackageReference Update="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Update="System.CodeDom" Version="6.0.0" />
<PackageReference Update="Irony" Version="1.1.0" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions build-tools/scripts/NUnitReferences.projitems
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project>
<!-- This file assumes Configuration.props has been imported -->
<ItemGroup>
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit.ConsoleRunner" Version="$(NUnitConsoleVersion)" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
</ItemGroup>
<!-- Required packages for .NET Core -->
<ItemGroup Condition=" '$(TargetFramework)' != 'net472' and '$(TargetFramework)' != 'netstandard2.0' ">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0-preview-20221003-04" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion external/xamarin-android-tools
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="5.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="5.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
using System.Collections.Generic;
using System.IO;
using Microsoft.Build.Construction;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Processing;

namespace Xamarin.ProjectTools
{
Expand All @@ -20,28 +17,27 @@ public abstract class XamarinAndroidCommonProject : XamarinAndroidProject

BuildItem.Source resourceDesigner;

static byte [] ScaleIcon (Image image, IImageFormat format, int width, int height)
static XamarinAndroidCommonProject ()
{
float scale = Math.Min (width / image.Width, height / image.Height);
using (var ms = new MemoryStream ()) {
var clone = image.Clone (i => i.Resize (width, height));
clone.Save (ms, format);
return ms.ToArray ();
}
icon_binary_mdpi = GetResourceContents ("mipmap-mdpi/appicon.png");
icon_binary_hdpi = GetResourceContents ("mipmap-hdpi/appicon.png");
icon_binary_xhdpi = GetResourceContents ("mipmap-xhdpi/appicon.png");
icon_binary_xxhdpi = GetResourceContents ("mipmap-xxhdpi/appicon.png");
icon_binary_xxxhdpi = GetResourceContents ("mipmap-xxxhdpi/appicon.png");
}

static XamarinAndroidCommonProject ()
static byte[] GetResourceContents (string resourceName)
{
var stream = typeof(XamarinAndroidCommonProject).Assembly.GetManifestResourceStream ("Xamarin.ProjectTools.Resources.Base.Icon.png");
icon_binary_mdpi = new byte [stream.Length];
stream.Read (icon_binary_mdpi, 0, (int) stream.Length);

stream.Position = 0;
using (var icon = Image.Load (stream, out var format)) {
icon_binary_hdpi = ScaleIcon (icon, format, 72, 72);
icon_binary_xhdpi = ScaleIcon (icon, format, 96, 96);
icon_binary_xxhdpi = ScaleIcon (icon, format, 144, 144);
icon_binary_xxxhdpi = ScaleIcon (icon, format, 192, 192);
var assembly = typeof (XamarinAndroidCommonProject).Assembly;
var stream = assembly.GetManifestResourceStream (resourceName) ??
assembly.GetManifestResourceStream (resourceName.Replace ('/', Path.DirectorySeparatorChar));
if (stream == null) {
return Array.Empty<byte>();
}
using (stream) {
var contents = new byte [stream.Length];
stream.Read (contents, 0, (int) stream.Length);
return contents;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"Size": 2604
},
"assemblies/Java.Interop.dll": {
"Size": 69028
"Size": 68913
},
"assemblies/Mono.Android.dll": {
"Size": 264788
"Size": 265169
},
"assemblies/mscorlib.dll": {
"Size": 769017
"Size": 769018
},
"assemblies/System.Core.dll": {
"Size": 28199
Expand All @@ -20,10 +20,10 @@
"Size": 9180
},
"assemblies/UnnamedProject.dll": {
"Size": 2881
"Size": 2882
},
"classes.dex": {
"Size": 370480
"Size": 370828
},
"lib/arm64-v8a/libmono-btls-shared.so": {
"Size": 1613872
Expand All @@ -32,16 +32,16 @@
"Size": 750976
},
"lib/arm64-v8a/libmonodroid.so": {
"Size": 332880
"Size": 332936
},
"lib/arm64-v8a/libmonosgen-2.0.so": {
"Size": 4051864
"Size": 4039176
},
"lib/arm64-v8a/libxa-internal-api.so": {
"Size": 66184
},
"lib/arm64-v8a/libxamarin-app.so": {
"Size": 21112
"Size": 21256
},
"META-INF/ANDROIDD.RSA": {
"Size": 1213
Expand All @@ -53,19 +53,19 @@
"Size": 2098
},
"res/drawable-hdpi-v4/icon.png": {
"Size": 4762
"Size": 2178
},
"res/drawable-mdpi-v4/icon.png": {
"Size": 2200
"Size": 1490
},
"res/drawable-xhdpi-v4/icon.png": {
"Size": 7462
"Size": 3098
},
"res/drawable-xxhdpi-v4/icon.png": {
"Size": 13092
"Size": 4674
},
"res/drawable-xxxhdpi-v4/icon.png": {
"Size": 20118
"Size": 6832
},
"res/layout/main.xml": {
"Size": 544
Expand All @@ -74,5 +74,5 @@
"Size": 1724
}
},
"PackageSize": 4036308
"PackageSize": 4003540
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
"Size": 7215
},
"assemblies/Java.Interop.dll": {
"Size": 70056
"Size": 69956
},
"assemblies/Mono.Android.dll": {
"Size": 571897
"Size": 572709
},
"assemblies/Mono.Security.dll": {
"Size": 68433
"Size": 68432
},
"assemblies/mscorlib.dll": {
"Size": 915406
"Size": 915408
},
"assemblies/System.Core.dll": {
"Size": 164047
"Size": 164046
},
"assemblies/System.dll": {
"Size": 388864
Expand All @@ -38,13 +38,13 @@
"Size": 186660
},
"assemblies/System.ServiceModel.Internals.dll": {
"Size": 26593
"Size": 26594
},
"assemblies/System.Xml.dll": {
"Size": 395656
},
"assemblies/UnnamedProject.dll": {
"Size": 116897
"Size": 116899
},
"assemblies/Xamarin.AndroidX.Activity.dll": {
"Size": 7697
Expand All @@ -65,7 +65,7 @@
"Size": 131930
},
"assemblies/Xamarin.AndroidX.DrawerLayout.dll": {
"Size": 15425
"Size": 15426
},
"assemblies/Xamarin.AndroidX.Fragment.dll": {
"Size": 43135
Expand All @@ -77,7 +77,7 @@
"Size": 7062
},
"assemblies/Xamarin.AndroidX.Lifecycle.LiveData.Core.dll": {
"Size": 7194
"Size": 7193
},
"assemblies/Xamarin.AndroidX.Lifecycle.ViewModel.dll": {
"Size": 4873
Expand All @@ -92,7 +92,7 @@
"Size": 6268
},
"assemblies/Xamarin.AndroidX.SwipeRefreshLayout.dll": {
"Size": 11272
"Size": 11271
},
"assemblies/Xamarin.AndroidX.ViewPager.dll": {
"Size": 19424
Expand All @@ -113,7 +113,7 @@
"Size": 43497
},
"classes.dex": {
"Size": 3482568
"Size": 3482812
},
"lib/arm64-v8a/libmono-btls-shared.so": {
"Size": 1613872
Expand All @@ -122,16 +122,16 @@
"Size": 750976
},
"lib/arm64-v8a/libmonodroid.so": {
"Size": 332880
"Size": 332936
},
"lib/arm64-v8a/libmonosgen-2.0.so": {
"Size": 4051864
"Size": 4039176
},
"lib/arm64-v8a/libxa-internal-api.so": {
"Size": 66184
},
"lib/arm64-v8a/libxamarin-app.so": {
"Size": 106160
"Size": 107024
},
"META-INF/android.support.design_material.version": {
"Size": 12
Expand Down Expand Up @@ -698,7 +698,7 @@
"Size": 470
},
"res/drawable-hdpi-v4/icon.png": {
"Size": 4762
"Size": 2178
},
"res/drawable-hdpi-v4/notification_bg_low_normal.9.png": {
"Size": 212
Expand Down Expand Up @@ -908,7 +908,7 @@
"Size": 309
},
"res/drawable-mdpi-v4/icon.png": {
"Size": 2200
"Size": 1490
},
"res/drawable-mdpi-v4/notification_bg_low_normal.9.png": {
"Size": 215
Expand Down Expand Up @@ -1136,7 +1136,7 @@
"Size": 593
},
"res/drawable-xhdpi-v4/icon.png": {
"Size": 7462
"Size": 3098
},
"res/drawable-xhdpi-v4/notification_bg_low_normal.9.png": {
"Size": 221
Expand Down Expand Up @@ -1301,7 +1301,7 @@
"Size": 868
},
"res/drawable-xxhdpi-v4/icon.png": {
"Size": 13092
"Size": 4674
},
"res/drawable-xxxhdpi-v4/abc_btn_check_to_on_mtrl_000.png": {
"Size": 275
Expand Down Expand Up @@ -1388,7 +1388,7 @@
"Size": 1155
},
"res/drawable-xxxhdpi-v4/icon.png": {
"Size": 20118
"Size": 6832
},
"res/drawable/abc_btn_borderless_material.xml": {
"Size": 588
Expand Down Expand Up @@ -1883,5 +1883,5 @@
"Size": 341040
}
},
"PackageSize": 9549982
"PackageSize": 9521310
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<Compile Remove="Resources\**\*.cs" />
<Compile Include="..\..\..\..\bin\Build$(Configuration)\XABuildConfig.cs" />
<EmbeddedResource Include="Resources\**\*" />
<EmbeddedResource Include="..\..\..\Microsoft.Android.Templates\android\Resources\**\appicon.png">
<LogicalName>%(RecursiveDir)appicon.png</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\..\..\.nuget\NuGet.exe">
Expand All @@ -25,8 +28,7 @@
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0" />
<PackageReference Include="Microsoft.Win32.Registry" Version="4.7.0" />
<PackageReference Include="Microsoft.Win32.Registry" />
<ProjectReference Include="..\..\..\..\external\xamarin-android-tools\src\Xamarin.Android.Tools.AndroidSdk\Xamarin.Android.Tools.AndroidSdk.csproj">
<Project>{E34BCFA0-CAA4-412C-AA1C-75DB8D67D157}</Project>
<Name>Xamarin.Android.Tools.AndroidSdk</Name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<ItemGroup>
<PackageReference Include="ILRepack" Version="2.0.18" />
<PackageReference Include="Irony" Version="1.1.0" />
<PackageReference Include="Irony" />
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonPackageVersion)" />
<PackageReference Include="NuGet.Common" Version="$(NuGetApiPackageVersion)" />
<PackageReference Include="NuGet.Configuration" Version="$(NuGetApiPackageVersion)" />
Expand All @@ -51,8 +51,8 @@
<PackageReference Include="NuGet.ProjectModel" Version="$(NuGetApiPackageVersion)" />
<PackageReference Include="NuGet.Protocol" Version="$(NuGetApiPackageVersion)" />
<PackageReference Include="NuGet.Versioning" Version="$(NuGetApiPackageVersion)" />
<PackageReference Include="System.CodeDom" Version="4.7.0" />
<PackageReference Include="System.Reflection.Metadata" Version="1.8.0" />
<PackageReference Include="System.CodeDom" />
<PackageReference Include="System.Reflection.Metadata" Version="6.0.1" />
<PackageReference Include="System.Runtime" Version="4.3.1" />
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
<PackageReference Include="K4os.Hash.xxHash" Version="1.0.6" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Reference Include="Xamarin.Android.Cecil">
<HintPath>$(MicrosoftAndroidSdkOutDir)Xamarin.Android.Cecil.dll</HintPath>
</Reference>
<PackageReference Include="Irony" Version="1.1.0" />
<PackageReference Include="System.CodeDom" Version="4.7.0" />
<PackageReference Include="Irony" />
<PackageReference Include="System.CodeDom" />
</ItemGroup>
</Project>
Loading

0 comments on commit 4221c07

Please sign in to comment.