Skip to content

Commit

Permalink
Merge pull request #284 from enisn/enisn/4.0-target-framework
Browse files Browse the repository at this point in the history
Add .NET 6.0 target framework and include symbols in nuget package
  • Loading branch information
enisn authored Aug 31, 2022
2 parents 6341855 + 49b25a0 commit dd540fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -12,7 +11,6 @@ namespace InputKit.Handlers.IconView
{
public partial class IconViewHandler : ViewHandler<IIconView, object>
{
protected override object CreateNativeView() => throw new NotImplementedException();

static void MapSource(IIconViewHandler handler, IIconView view)
{
Expand All @@ -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
4 changes: 2 additions & 2 deletions src/InputKit.Maui/InputKit.Maui.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041</TargetFrameworks>
<TargetFrameworks>net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>InputKit</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<MauiVersion>6.0.486</MauiVersion>
<PackageId>InputKit.Maui</PackageId>
<Version>4.0.1</Version>
<Version>4.0.2</Version>
<DefineConstants Condition="$(TargetFramework.Contains('-windows'))">$(DefineConstants);UWP</DefineConstants>

<!-- NuGet Package Info -->
Expand Down

0 comments on commit dd540fa

Please sign in to comment.