Skip to content

Instantly share code, notes, and snippets.

View mattleibow's full-sized avatar
🏠
Working from home

Matthew Leibowitz mattleibow

🏠
Working from home
View GitHub Profile
FROM mcr.microsoft.com/dotnet/framework/runtime:4.8
ARG TIZEN_VERSION=3.7
SHELL [ "powershell", "-Command" ]
RUN New-Item -ItemType Directory -Force -Path /tizen-data | Out-Null
# download Java because the installer breaks
RUN Invoke-WebRequest \
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Stuff
{
unsafe class Program
{
static void Main(string[] args)
{
Step 6/10 : RUN dotnet publish -c release -o /app -r linux-musl-x64 --self-contained false --no-restore
---> Running in 13fe8ad252bc
Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error MSB4018: The "ResolvePackageAssets" task failed unexpectedly. [/source/dotnetapp.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error MSB4018: NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder 'C:\Microsoft\Xamarin\NuGet\'. [/source/dotnetapp.csproj]
/usr/share/dotnet/sdk/3.1.301/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error MSB4018: at NuGet.Packaging.FallbackPackagePathResolver..ctor(String userPackageFolder, IEnumerable`1 fallbackPackageFolders) [/source/dotnetapp.csproj]
/usr/share
This file has been truncated, but you can view the full file.
2020-06-16T18:00:32.680975Z|cov-build|23468|info|> cov-build 2019.03 (build 2c0f9c8cf4 p-pacific1-push-35439.872)
2020-06-16T18:00:32.680975Z|cov-build|23468|info|> Coverity Build Capture (64-bit) version 2019.03 on Windows 10 Professional, 64-bit (build 19041)
2020-06-16T18:00:32.680975Z|cov-build|23468|info|> Internal version numbers: 2c0f9c8cf4 p-pacific1-push-35439.872
2020-06-16T18:00:32.680975Z|cov-build|23468|info|>
2020-06-16T18:00:32.680975Z|cov-build|23468|info|> Dumping from hostname : BLACK-MAMBA
2020-06-16T18:00:32.680975Z|cov-build|23468|info|>
2020-06-16T18:00:32.680975Z|cov-build|23468|info|> Platform info: Windows 10 Professional, 64-bit (build 19041)
2020-06-16T18:00:32.680975Z|cov-build|23468|info|>
2020-06-16T18:00:32.680975Z|cov-build|23468|info|> cov-build command: cov-build --dir cov-int msbuild /r source\SkiaSharpSource.sln /t:rebuild
2020-06-16T18:00:32.680975Z|cov-build|23468|info|> cov-build expanded command: cov-build --dir cov-int msbuild /r source\SkiaSharpSource.sln /t:rebui
[Managed to Native Transition]
> System.Private.CoreLib.dll!System.Runtime.Loader.AssemblyLoadContext.GetLoadContext(System.Reflection.Assembly assembly) Unknown
System.Private.CoreLib.dll!System.Runtime.Loader.AssemblyLoadContext.ResolveSatelliteAssembly(System.Reflection.AssemblyName assemblyName) Unknown
System.Private.CoreLib.dll!System.Runtime.Loader.AssemblyLoadContext.ResolveSatelliteAssembly(System.IntPtr gchManagedAssemblyLoadContext, System.Reflection.AssemblyName assemblyName) Unknown
[Native to Managed Transition]
[Managed to Native Transition]
System.Private.CoreLib.dll!System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(System.Globalization.CultureInfo culture, System.Version version, bool throwOnFileNotFound) Unknown
System.Private.CoreLib.dll!System.Resources.ManifestBasedResourceGroveler.InternalGetSatelliteAssembly(System.Reflection.Assembly mainAssembly, System.Globalization.CultureInfo culture, System.Version version) Unknown
System.Private.CoreLib.dll!System.
06-13 21:33:25.714 I/mono-stdout(10811): Android.Gms.Common.Apis.ApiException: 17: API: Nearby.EXPOSURE_NOTIFICATION_API is not available on this device. Connection failed with: ConnectionResult{statusCode=UNKNOWN_ERROR_CODE(39507), resolution=null, message=null}Android.Gms.Common.Apis.ApiException: 17: API: Nearby.EXPOSURE_NOTIFICATION_API is not available on this device. Connection failed with: ConnectionResult{statusCode=UNKNOWN_ERROR_CODE(39507), resolution=null, message=null}
at Xamarin.ExposureNotifications.ExposureNotification.PlatformDetectExposuresAsync (System.Collections.Generic.IEnumerable`1[T] keyFiles, System.Threading.CancellationToken cancellationToken) [0x00105] in <143a67ccd6054d5cb5cb671efc936341>:0
at Xamarin.ExposureNotifications.ExposureNotification+<>c__DisplayClass13_0.<UpdateKeysFromServer>b__0 (System.Collections.Generic.IEnumerable`1[T] downloadedFiles) [0x00198] in <143a67ccd6054d5cb5cb671efc936341>:0
at Mobile.ExposureNotificationHandler.FetchExposureKeyBatchFilesFromServe
{"temporaryExposureKeys":[{"key":"hxBovJQuuIx/6jD+r8Gn2g==","rollingStart":2650608,"rollingDuration":0,"transmissionRisk":0},{"key":"E9laA1Ckc9TWa8aPP7F4rg==","rollingStart":2650752,"rollingDuration":0,"transmissionRisk":0}],"regions":["ZA","CA"],"appPackageName":"com.xamarin.exposurenotification.sampleapp","platform":"android","deviceVerificationPayload":"eyJhbGciOiJSUzI1NiIsIng1YyI6WyJNSUlGa3pDQ0JIdWdBd0lCQWdJUkFOY1NramRzNW42K0NBQUFBQUFwYTBjd0RRWUpLb1pJaHZjTkFRRUxCUUF3UWpFTE1Ba0dBMVVFQmhNQ1ZWTXhIakFjQmdOVkJBb1RGVWR2YjJkc1pTQlVjblZ6ZENCVFpYSjJhV05sY3pFVE1CRUdBMVVFQXhNS1IxUlRJRU5CSURGUE1UQWVGdzB5TURBeE1UTXhNVFF4TkRsYUZ3MHlNVEF4TVRFeE1UUXhORGxhTUd3eEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxTmIzVnVkR0ZwYmlCV2FXVjNNUk13RVFZRFZRUUtFd3BIYjI5bmJHVWdURXhETVJzd0dRWURWUVFERXhKaGRIUmxjM1F1WVc1a2NtOXBaQzVqYjIwd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUUNXRXJCUVRHWkdOMWlaYk45ZWhSZ2lmV0J4cWkyUGRneHcwM1A3VHlKWmZNeGpwNUw3ajFHTmVQSzVIemRyVW9JZDF5Q0l5Qk15eHFnYXpxZ3RwWDVXcHNYV
Unable to find AndroidX type for .NET type Android.Support.Constraints.Solver.ArrayVariables.
Unable to find AndroidX type for .NET type Android.Support.Palette.Additions.
Unable to find AndroidX type for .NET type Android.Support.V4.Text.TextDirectionHeuristicsCompatITextDirectionAlgorithmExtensions.
Unable to find AndroidX type for Java type androidx.appcompat.view.menu.MenuHelper.
Unable to find AndroidX type for Java type androidx.appcompat.view.menu.MenuHelper.
Unable to find AndroidX type for Java type androidx.appcompat.view.menu.MenuWrapperFactory.
Unable to find AndroidX type for Java type androidx.appcompat.widget.AppCompatDrawableManager.AsldcInflateDelegate.
Unable to find AndroidX type for Java type androidx.appcompat.widget.AppCompatDrawableManager.InflateDelegate.
Unable to find AndroidX type for Java type androidx.appcompat.widget.AppCompatDrawableManager.InflateDelegate.
Unable to find AndroidX type for Java type androidx.cardview.widget.CardViewDelegate.

API diff: SkiaSharp.dll

SkiaSharp.dll

Namespace SkiaSharp

Type Changed: SkiaSharp.GRBackendTextureDesc

Added properties:

using Mono.Cecil;
using System;
using System.IO;
using System.Linq;
namespace ResourcesFixer
{
class Program
{
private const string OldAssemblyName = "Xamarin.AndroidX.AppCompat.Resources";