Skip to content

Commit 3eb8507

Browse files
committed
Updated to target .NET 10 as well
1 parent 68feffb commit 3eb8507

File tree

6 files changed

+17
-9
lines changed

6 files changed

+17
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
dotnet-version: |
2020
6.0.x
2121
8.0.x
22+
10.0.x
2223
2324
- name: Build
2425
run: ./build.sh
@@ -35,6 +36,7 @@ jobs:
3536
dotnet-version: |
3637
6.0.x
3738
8.0.x
39+
10.0.x
3840
3941
- name: Build
4042
run: |

docs/GettingStarted/Console-App.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ Add the Electron.NET configuration to your `.csproj` file:
4949
```xml
5050
<PropertyGroup>
5151
<OutputType>Exe</OutputType>
52-
<TargetFramework>net8.0</TargetFramework>
52+
<TargetFramework>net10.0</TargetFramework>
5353
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
5454
</PropertyGroup>
5555

5656
<ItemGroup>
57-
<PackageReference Include="ElectronNET.Core" Version="1.0.0" />
57+
<PackageReference Include="ElectronNET.Core" Version="0.1.0" />
5858
</ItemGroup>
5959
```
6060

docs/Using/Package-Building.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Add publish profiles to `Properties/PublishProfiles/`:
2828
<Platform>Any CPU</Platform>
2929
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
3030
<PublishProtocol>FileSystem</PublishProtocol>
31-
<TargetFramework>net8.0</TargetFramework>
31+
<TargetFramework>net10.0</TargetFramework>
3232
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
3333
<SelfContained>true</SelfContained>
3434
<PublishSingleFile>false</PublishSingleFile>
@@ -48,7 +48,7 @@ Add publish profiles to `Properties/PublishProfiles/`:
4848
<Platform>Any CPU</Platform>
4949
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
5050
<PublishProtocol>FileSystem</PublishProtocol>
51-
<TargetFramework>net8.0</TargetFramework>
51+
<TargetFramework>net10.0</TargetFramework>
5252
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
5353
<SelfContained>true</SelfContained>
5454
<PublishSingleFile>false</PublishSingleFile>
@@ -68,7 +68,7 @@ Add publish profiles to `Properties/PublishProfiles/`:
6868
<Platform>Any CPU</Platform>
6969
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
7070
<PublishProtocol>FileSystem</PublishProtocol>
71-
<TargetFramework>net8.0</TargetFramework>
71+
<TargetFramework>net10.0</TargetFramework>
7272
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
7373
<SelfContained>false</SelfContained>
7474
<PublishSingleFile>false</PublishSingleFile>
@@ -89,7 +89,7 @@ Add publish profiles to `Properties/PublishProfiles/`:
8989
<Platform>Any CPU</Platform>
9090
<PublishDir>publish\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\</PublishDir>
9191
<PublishProtocol>FileSystem</PublishProtocol>
92-
<TargetFramework>net8.0</TargetFramework>
92+
<TargetFramework>net10.0</TargetFramework>
9393
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
9494
<SelfContained>false</SelfContained>
9595
<PublishSingleFile>false</PublishSingleFile>

src/ElectronNET.API/ElectronNET.API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="..\common.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
6+
<TargetFrameworks>net6.0;net8.0;net10.0</TargetFrameworks>
77
<PackageOutputPath>..\..\artifacts</PackageOutputPath>
88
<PackageId>$(PackageNamePrefix).API</PackageId>
99
<Title>$(PackageId)</Title>

src/ElectronNET.AspNet/ElectronNET.AspNet.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="..\common.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
6+
<TargetFrameworks>net6.0;net8.0;net10.0</TargetFrameworks>
77
<PackageOutputPath>..\..\artifacts</PackageOutputPath>
88
<PackageId>$(PackageNamePrefix).AspNet</PackageId>
99
<Title>$(PackageId)</Title>
@@ -20,12 +20,18 @@
2020
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0|AnyCPU'">
2121
<NoWarn>1701;1702;4014;CS4014;CA1416;CS1591</NoWarn>
2222
</PropertyGroup>
23+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net10.0|AnyCPU'">
24+
<NoWarn>1701;1702;4014;CS4014;CA1416;CS1591</NoWarn>
25+
</PropertyGroup>
2326
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
2427
<NoWarn>1701;1702;4014;CS4014;CA1416;CS1591</NoWarn>
2528
</PropertyGroup>
2629
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
2730
<NoWarn>1701;1702;4014;CS4014;CA1416;CS1591</NoWarn>
2831
</PropertyGroup>
32+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
33+
<NoWarn>1701;1702;4014;CS4014;CA1416;CS1591</NoWarn>
34+
</PropertyGroup>
2935
<ItemGroup>
3036
<FrameworkReference Include="Microsoft.AspNetCore.App" />
3137
</ItemGroup>

src/ElectronNET/ElectronNET.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="..\common.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
6+
<TargetFrameworks>net6.0;net8.0;net10.0</TargetFrameworks>
77
<PackageOutputPath>..\..\artifacts</PackageOutputPath>
88
<PackageId>$(PackageNamePrefix)</PackageId>
99
<Title>$(PackageId)</Title>

0 commit comments

Comments
 (0)