Skip to content

Commit

Permalink
Merge pull request #323 from enisn/dotnet7-update
Browse files Browse the repository at this point in the history
Update to .NET 7 for MAUI
  • Loading branch information
enisn authored Nov 18, 2022
2 parents dc5d949 + 16ca776 commit 1e1ecd4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 3 additions & 4 deletions sandbox/SandboxMAUI/SandboxMAUI.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041</TargetFrameworks>
<TargetFrameworks>net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net7.0-windows10.0.19041</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>InputKit</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<MauiVersion>6.0.486</MauiVersion>
<MauiVersion>7.0.49</MauiVersion>
<PackageId>InputKit.Maui</PackageId>
<Version>4.1.6</Version>
<DefineConstants Condition="$(TargetFramework.Contains('-windows'))">$(DefineConstants);UWP</DefineConstants>
<!-- NuGet Package Info -->
<PackageLicenseUrl></PackageLicenseUrl>
Expand Down
8 changes: 4 additions & 4 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;net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041</TargetFrameworks>
<TargetFrameworks>net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net7.0-windows10.0.19041</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>InputKit</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<MauiVersion>6.0.486</MauiVersion>
<MauiVersion>7.0.49</MauiVersion>
<PackageId>InputKit.Maui</PackageId>
<Version>4.1.6</Version>
<Version>4.2.0</Version>
<DefineConstants Condition="$(TargetFramework.Contains('-windows'))">$(DefineConstants);UWP</DefineConstants>

<!-- NuGet Package Info -->
Expand Down Expand Up @@ -61,6 +61,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions test/InputKit.Maui.Test/InputKit.Maui.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<!--<TargetFrameworks>net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst;net6.0-windows10.0.19041</TargetFrameworks>-->
<ImplicitUsings>enable</ImplicitUsings>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<MauiVersion>6.0.486</MauiVersion>
<MauiVersion>7.0.49</MauiVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit 1e1ecd4

Please sign in to comment.