From 2b16880e92a8086b428eb924f2074be626f4d495 Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Wed, 31 Aug 2022 16:43:17 +0300 Subject: [PATCH 1/2] Add .Net 6 to MAUI target frameworks --- .../Handlers/IconView/IconViewHandler.Standard.cs | 7 +++++-- src/InputKit.Maui/InputKit.Maui.csproj | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/InputKit.Maui/Handlers/IconView/IconViewHandler.Standard.cs b/src/InputKit.Maui/Handlers/IconView/IconViewHandler.Standard.cs index ce47948..9e424e0 100644 --- a/src/InputKit.Maui/Handlers/IconView/IconViewHandler.Standard.cs +++ b/src/InputKit.Maui/Handlers/IconView/IconViewHandler.Standard.cs @@ -1,7 +1,6 @@ #if NETSTANDARD || (NET6_0 && !IOS && !MACCATALYST && !ANDROID && !UWP) using InputKit.Shared.Controls; using Microsoft.Maui.Handlers; -using InputKit.Shared.Controls; using System; using System.Collections.Generic; using System.Linq; @@ -12,7 +11,6 @@ namespace InputKit.Handlers.IconView { public partial class IconViewHandler : ViewHandler { - protected override object CreateNativeView() => throw new NotImplementedException(); static void MapSource(IIconViewHandler handler, IIconView view) { @@ -27,6 +25,11 @@ static void MapFillColor(IIconViewHandler handler, IIconView view) static void MapIsVisible(IIconViewHandler handler, IIconView view) { } + + protected override object CreatePlatformView() + { + throw new NotImplementedException(); + } } } #endif \ No newline at end of file diff --git a/src/InputKit.Maui/InputKit.Maui.csproj b/src/InputKit.Maui/InputKit.Maui.csproj index 9d2a37a..097804e 100644 --- a/src/InputKit.Maui/InputKit.Maui.csproj +++ b/src/InputKit.Maui/InputKit.Maui.csproj @@ -1,7 +1,7 @@  - net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041 + net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041 enable InputKit true From 49b25a0cd2866c67bb307d56b9db2f6700c45b4f Mon Sep 17 00:00:00 2001 From: Enis Necipoglu Date: Wed, 31 Aug 2022 20:23:30 +0300 Subject: [PATCH 2/2] Update version to `4.0.2` --- src/InputKit.Maui/InputKit.Maui.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InputKit.Maui/InputKit.Maui.csproj b/src/InputKit.Maui/InputKit.Maui.csproj index 097804e..2c76b37 100644 --- a/src/InputKit.Maui/InputKit.Maui.csproj +++ b/src/InputKit.Maui/InputKit.Maui.csproj @@ -8,7 +8,7 @@ true 6.0.486 InputKit.Maui - 4.0.1 + 4.0.2 $(DefineConstants);UWP