File tree 9 files changed +21
-22
lines changed
9 files changed +21
-22
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,13 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v4
15
15
16
16
- name : Setup dotnet
17
- uses : actions/setup-dotnet@v1
17
+ uses : actions/setup-dotnet@v4
18
18
with :
19
19
dotnet-version : |
20
- 6.0.x
21
- 7.0.x
20
+ 8.0.x
22
21
23
22
- name : Build
24
23
run : ./build.sh
@@ -27,14 +26,13 @@ jobs:
27
26
runs-on : windows-latest
28
27
29
28
steps :
30
- - uses : actions/checkout@v2
29
+ - uses : actions/checkout@v4
31
30
32
31
- name : Setup dotnet
33
- uses : actions/setup-dotnet@v1
32
+ uses : actions/setup-dotnet@v4
34
33
with :
35
34
dotnet-version : |
36
- 6.0.x
37
- 7.0.x
35
+ 8.0.x
38
36
39
37
- name : Build
40
38
run : |
Original file line number Diff line number Diff line change 10
10
"request" : " launch" ,
11
11
"preLaunchTask" : " build" ,
12
12
// If you have changed target frameworks, make sure to update the program path.
13
- "program" : " ${workspaceRoot}/ElectronNET.CLI/bin/Debug/netcoreapp2 .0/dotnet-electronize.dll" ,
13
+ "program" : " ${workspaceRoot}/src/ ElectronNET.CLI/bin/Debug/net8 .0/dotnet-electronize.dll" ,
14
14
"args" : [],
15
- "cwd" : " ${workspaceRoot}/ElectronNET.CLI" ,
15
+ "cwd" : " ${workspaceRoot}/src/ ElectronNET.CLI" ,
16
16
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
17
17
"console" : " internalConsole" ,
18
18
"stopAtEntry" : false ,
Original file line number Diff line number Diff line change 7
7
"label" : " build" ,
8
8
"type" : " shell" ,
9
9
"command" : " dotnet" ,
10
- "args" : [" build" , " ${workspaceRoot}/ElectronNET.CLI/ElectronNET.CLI.csproj" ],
10
+ "args" : [" build" , " ${workspaceRoot}/src/ ElectronNET.CLI/ElectronNET.CLI.csproj" ],
11
11
"problemMatcher" : " $msCompile" ,
12
12
"group" : {
13
13
"_id" : " build" ,
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ donate] ( https://img.shields.io/badge/Donate-Donorbox-green.svg )] ( https://donorbox.org/electron-net ) [ ![ Gitter] ( https://badges.gitter.im/ElectronNET/community.svg )] ( https://gitter.im/ElectronNET/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge ) [ ![ Build status] ( https://github.com/ElectronNET/Electron.NET/actions/workflows/ci.yml/badge.svg )] ( https://github.com/ElectronNET/Electron.NET/actions/workflows/ci.yml )
4
4
5
- Build cross platform desktop apps with .NET 6 and Blazor, ASP.NET Core (Razor Pages, MVC).
5
+ Build cross platform desktop apps with .NET 8 and Blazor, ASP.NET Core (Razor Pages, MVC).
6
6
7
7
Electron.NET is a __ wrapper__ around a native Electron application with an embedded ASP.NET Core application. Via our Electron.NET IPC bridge we can invoke Electron APIs from .NET.
8
8
@@ -18,7 +18,7 @@ Well... there are lots of different approaches how to get a X-plat desktop app r
18
18
19
19
## 🛠 Requirements to Run
20
20
21
- The current Electron.NET CLI builds Windows/macOS/Linux binaries. Our API uses .NET 6 , so our minimum base OS is the same as [ .NET 6 ] ( https://github.com/dotnet/core/blob/main/release-notes/6 .0/supported-os.md ) .
21
+ The current Electron.NET CLI builds Windows/macOS/Linux binaries. Our API uses .NET 8 , so our minimum base OS is the same as [ .NET 8 ] ( https://github.com/dotnet/core/blob/main/release-notes/8 .0/supported-os.md ) .
22
22
23
23
Also you should have installed:
24
24
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ protected override void OnBuildInitialized()
109
109
. Before ( Restore )
110
110
. Executes ( ( ) =>
111
111
{
112
- SourceDirectory . GlobDirectories ( "**/bin" , "**/obj" ) . ForEach ( DeleteDirectory ) ;
112
+ SourceDirectory . GlobDirectories ( "**/bin" , "**/obj" ) . ForEach ( dir => dir . DeleteDirectory ( ) ) ;
113
113
} ) ;
114
114
115
115
Target Restore => _ => _
@@ -244,7 +244,7 @@ protected override void OnBuildInitialized()
244
244
throw new BuildAbortedException ( "Could not resolve the NuGet API key." ) ;
245
245
}
246
246
247
- foreach ( var nupkg in GlobFiles ( ResultDirectory , "*.nupkg" ) )
247
+ foreach ( var nupkg in ResultDirectory . GlobFiles ( "*.nupkg" ) )
248
248
{
249
249
DotNetNuGetPush ( s => s
250
250
. SetTargetPath ( nupkg )
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net6 .0</TargetFramework >
5
+ <TargetFramework >net8 .0</TargetFramework >
6
6
<RootNamespace ></RootNamespace >
7
7
<NoWarn >CS0649;CS0169</NoWarn >
8
8
<NukeRootDirectory >..</NukeRootDirectory >
11
11
</PropertyGroup >
12
12
13
13
<ItemGroup >
14
- <PackageReference Include =" Nuke.Common" Version =" 6.2.1 " />
14
+ <PackageReference Include =" Nuke.Common" Version =" 8.0.0 " />
15
15
</ItemGroup >
16
16
17
17
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net6 .0</TargetFramework >
3
+ <TargetFramework >net8 .0</TargetFramework >
4
4
<PackageOutputPath >..\..\artifacts</PackageOutputPath >
5
5
<PackageId >ElectronNET.API</PackageId >
6
6
<Authors >Gregor Biswanger, Florian Rappl</Authors >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFramework >net6 .0</TargetFramework >
4
+ <TargetFramework >net8 .0</TargetFramework >
5
5
<AssemblyName >dotnet-electronize</AssemblyName >
6
6
<ToolCommandName >electronize</ToolCommandName >
7
7
<PackageType >DotnetCliTool</PackageType >
25
25
<PackageReleaseNotes >Changelog: https://github.com/ElectronNET/Electron.NET/blob/main/Changelog.md</PackageReleaseNotes >
26
26
<PackageIcon >PackageIcon.png</PackageIcon >
27
27
<PackAsTool >true</PackAsTool >
28
+ <PublishSelfContained >true</PublishSelfContained >
28
29
<StartupObject >
29
30
</StartupObject >
30
31
</PropertyGroup >
71
72
<EmbeddedResource Include =" ..\ElectronNET.Host\.vscode\tasks.json" Link =" ElectronHost\.vscode\tasks.json" />
72
73
</ItemGroup >
73
74
<ItemGroup >
74
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1 .0.0" >
75
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8 .0.0" >
75
76
<PrivateAssets >all</PrivateAssets >
76
77
<IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
77
78
</PackageReference >
78
- <PackageReference Include =" Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version =" 0.4.410601 " >
79
+ <PackageReference Include =" Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version =" 0.4.421302 " >
79
80
<PrivateAssets >all</PrivateAssets >
80
81
</PackageReference >
81
82
</ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
<PropertyGroup >
3
- <TargetFramework >net6 .0</TargetFramework >
3
+ <TargetFramework >net8 .0</TargetFramework >
4
4
<AspNetCoreHostingModel >OutOfProcess</AspNetCoreHostingModel >
5
5
<AspNetCoreModuleName >AspNetCoreModule</AspNetCoreModuleName >
6
6
<RuntimeIdentifiers >win-x64</RuntimeIdentifiers >
You can’t perform that action at this time.
0 commit comments