Skip to content

Commit 4cfcfe5

Browse files
author
CIS Guru
committed
Upgrade to ElectronNET.Core 0.4.1.
1 parent 39bf6c4 commit 4cfcfe5

12 files changed

Lines changed: 176 additions & 275 deletions

File tree

1-Nine.Infrastructure/Nine.Infrastructure.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
<Version>0.2.0</Version>
88
</PropertyGroup>
99

10+
<ItemGroup>
11+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
12+
</ItemGroup>
13+
1014
<ItemGroup>
1115
<ProjectReference Include="..\0-Nine.Core\Nine.Core.csproj" />
1216
</ItemGroup>
1317

1418
<ItemGroup>
1519
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.1" />
1620
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.1" />
17-
<PackageReference Include="ElectronNET.API" Version="23.6.2" />
1821
<PackageReference Include="SendGrid" Version="9.29.3" />
1922
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.11" />
2023
<PackageReference Include="Twilio" Version="7.14.0" />

4-Nine/ElectronHostHook/package-lock.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

4-Nine/ElectronHostHook/package.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

4-Nine/ElectronHostHook/tsconfig.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

4-Nine/Nine.csproj

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>net10.0</TargetFramework>
5+
<!-- Must be set explicitly to override ElectronNET.Core.props default of win-x64 -->
6+
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
57
<Nullable>enable</Nullable>
68
<ImplicitUsings>enable</ImplicitUsings>
79
<UserSecretsId>aspnet-Nine-c69b6efe-bb20-41de-8cba-044207ebdce1</UserSecretsId>
@@ -14,6 +16,20 @@
1416
<InformationalVersion>1.0.0</InformationalVersion>
1517
</PropertyGroup>
1618

19+
<PropertyGroup Label="ElectronNetCommon">
20+
<ElectronVersion>30.4.0</ElectronVersion>
21+
<ElectronBuilderVersion>26.0</ElectronBuilderVersion>
22+
<ElectronSingleInstance>false</ElectronSingleInstance>
23+
<ElectronSplashScreen>wwwroot/assets/splash.png</ElectronSplashScreen>
24+
<ElectronIcon>Assets/icon.png</ElectronIcon>
25+
<ElectronPackageId>co.nineapp.nine</ElectronPackageId>
26+
<Title>Nine</Title>
27+
</PropertyGroup>
28+
29+
<ItemGroup>
30+
<AssemblyMetadata Include="AspNetHttpPort" Value="8888" />
31+
</ItemGroup>
32+
1733
<ItemGroup>
1834
<!-- Copy wwwroot assets to Assets folder for Electron -->
1935
<None Update="wwwroot\assets\splash.png">
@@ -44,7 +60,8 @@
4460
</ItemGroup>
4561

4662
<ItemGroup>
47-
<PackageReference Include="ElectronNET.API" Version="23.6.2" />
63+
<PackageReference Include="ElectronNET.Core" Version="0.4.1" />
64+
<PackageReference Include="ElectronNET.Core.AspNet" Version="0.4.1" />
4865
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="10.0.1" />
4966
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.0.1" />
5067
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.1">

0 commit comments

Comments
 (0)