Skip to content

Commit ae7ff03

Browse files
committed
Support .NET10
1 parent 5d07994 commit ae7ff03

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ AspNetCore.Components.WebView.Gtk is a library for building native clients using
88
Reference [Yu-Core.AspNetCore.Components.WebView.Gtk](https://www.nuget.org/packages/Yu-Core.AspNetCore.Components.WebView.Gtk)
99

1010
```
11-
<PackageReference Include="Yu-Core.AspNetCore.Components.WebView.Gtk" Version="0.1.1" />
11+
<PackageReference Include="Yu-Core.AspNetCore.Components.WebView.Gtk" Version="*" />
1212
```
1313

1414
Install `libwebkitgtk-6.0-4`

src/BlazorWebView/sample/BlazorGtkApp/BlazorGtkApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

src/BlazorWebView/src/AspNetCore.Components.WebView.Gtk.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<DefineConstants>$(DefineConstants);GTK;WEBKIT_GTK</DefineConstants>
@@ -18,14 +18,14 @@
1818
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
1919
</PropertyGroup>
2020

21-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
22-
<PackageReference Include="Microsoft.AspNetCore.Components.WebView" Version="8.0.*" />
23-
</ItemGroup>
24-
2521
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
2622
<PackageReference Include="Microsoft.AspNetCore.Components.WebView" Version="9.0.*" />
2723
</ItemGroup>
2824

25+
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
26+
<PackageReference Include="Microsoft.AspNetCore.Components.WebView" Version="10.0.*" />
27+
</ItemGroup>
28+
2929
<ItemGroup>
3030
<None Include="..\..\..\LICENSE.txt">
3131
<Pack>True</Pack>

0 commit comments

Comments
 (0)