Skip to content

Commit dd540fa

Browse files
authored
Merge pull request #284 from enisn/enisn/4.0-target-framework
Add .NET 6.0 target framework and include symbols in nuget package
2 parents 6341855 + 49b25a0 commit dd540fa

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/InputKit.Maui/Handlers/IconView/IconViewHandler.Standard.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#if NETSTANDARD || (NET6_0 && !IOS && !MACCATALYST && !ANDROID && !UWP)
22
using InputKit.Shared.Controls;
33
using Microsoft.Maui.Handlers;
4-
using InputKit.Shared.Controls;
54
using System;
65
using System.Collections.Generic;
76
using System.Linq;
@@ -12,7 +11,6 @@ namespace InputKit.Handlers.IconView
1211
{
1312
public partial class IconViewHandler : ViewHandler<IIconView, object>
1413
{
15-
protected override object CreateNativeView() => throw new NotImplementedException();
1614

1715
static void MapSource(IIconViewHandler handler, IIconView view)
1816
{
@@ -27,6 +25,11 @@ static void MapFillColor(IIconViewHandler handler, IIconView view)
2725
static void MapIsVisible(IIconViewHandler handler, IIconView view)
2826
{
2927
}
28+
29+
protected override object CreatePlatformView()
30+
{
31+
throw new NotImplementedException();
32+
}
3033
}
3134
}
3235
#endif

src/InputKit.Maui/InputKit.Maui.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<RootNamespace>InputKit</RootNamespace>
77
<UseMaui>true</UseMaui>
88
<SingleProject>true</SingleProject>
99
<MauiVersion>6.0.486</MauiVersion>
1010
<PackageId>InputKit.Maui</PackageId>
11-
<Version>4.0.1</Version>
11+
<Version>4.0.2</Version>
1212
<DefineConstants Condition="$(TargetFramework.Contains('-windows'))">$(DefineConstants);UWP</DefineConstants>
1313

1414
<!-- NuGet Package Info -->

0 commit comments

Comments
 (0)