You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> These changes are only required in case you are using a custom ElectronHostHook implementation!
25
+
> If you have an ElectronHostHook folder in your project but you did not customize that code and aren't using its demo features (Excel and ZIP), you can also just remove that folder from your project.
26
+
27
+
30
28
### TypeScript and Node.js Updates
31
29
32
30
**Update package.json:**
31
+
32
+
This shows the delevant changes only: All shown versions are the new required minimum versions.
33
+
33
34
```json
34
35
{
35
36
"devDependencies": {
36
-
"eslint": "^9.37.0",
37
37
"@types/node": "^22.18",
38
38
"typescript": "^5.9.3"
39
39
},
40
40
"dependencies": {
41
-
"archiver-utils": "^2.1.0",
42
41
"socket.io": "^4.8.1",
43
-
"exceljs": "^1.10.0"
44
42
}
45
43
}
46
44
```
47
45
48
-
**Update Project File:**
46
+
**Update Project File:**
47
+
48
+
The below modifications will allow you to use the latest TypeScript compiler in your ASP.Net project.
PM> Install-Package ElectronNET.Core.AspNet # For ASP.NET projects
26
26
```
27
27
28
-
> **Note**: The API package is automatically included as a dependency of `ElectronNET.Core`. See [Package Description](../Releases/Package-Description.md) for details about the package structure.
28
+
> **Note**: The API package is automatically included as a dependency of `ElectronNET.Core`. See [Package Description](../RelInfo/Package-Description.md) for details about the package structure.
29
29
30
30
31
31
### Step 2: Configure Project Settings
32
32
33
-
**Auto-generated Configuration:**
33
+
**Auto-generated Configuration:**
34
34
ElectronNET.Core automatically creates `electron-builder.json` during the first build or NuGet restore. No manual configuration is needed for basic setups.
35
35
36
-
**Migrate Existing Configuration:**
36
+
**Migrate Existing Configuration:**
37
37
If you have an existing `electron.manifest.json` file:
38
38
39
39
1.**Open the generated `electron-builder.json`** file in your project
@@ -47,14 +47,18 @@ You can also manually edit `electron-builder.json`:
47
47
48
48
```json
49
49
{
50
-
"productName": "My Electron App",
51
-
"appId": "com.mycompany.myapp",
52
-
"directories": {
53
-
"output": "release"
50
+
"linux": {
51
+
"target": [
52
+
"tar.xz"
53
+
]
54
54
},
55
55
"win": {
56
-
"target": "nsis",
57
-
"icon": "assets/app.ico"
56
+
"target": [
57
+
{
58
+
"target": "portable",
59
+
"arch": "x64"
60
+
}
61
+
]
58
62
}
59
63
}
60
64
```
@@ -71,28 +75,26 @@ After completing the migration steps:
71
75
## 🚨 Common Migration Issues
72
76
73
77
### Build Errors
74
-
-**Missing RuntimeIdentifier**: Ensure `<RuntimeIdentifier>win-x64</RuntimeIdentifier>` is set
75
78
-**Node.js version**: Verify Node.js 22.x is installed and in PATH
76
79
-**Package conflicts**: Clean NuGet cache if needed
77
80
78
81
### Runtime Errors
79
-
-**Port conflicts**: Update URLs in startup code to match your configuration
80
82
-**Missing electron-builder.json**: Trigger rebuild or manual NuGet restore
81
83
-**Process termination**: Use .NET-first startup mode for better cleanup
82
84
83
85
## 🚀 Next Steps
84
86
85
87
-**[What's New?](What's-New.md)** - Complete overview of ElectronNET.Core features
This modular approach allows projects to include only what they need while maintaining the flexibility to scale from simple console applications to complex web applications.
23
+
This modular approach allows projects to include only what they need while maintaining the flexibility to scale from simple console applications to complex web applications.
24
+
More about the avaílable nuget packages: [Package Description](../RelInfo/Package-Description.md).
24
25
25
26
## Beyond ASP.NET: Console Application Support
26
27
27
-
### A Fundamental Shift in Accessibility
28
+
### A Shift in Accessibility
28
29
29
-
One of the most significant breakthroughs in ElectronNET.Core is the removal of the ASP.NET requirement. Developers can now build Electron applications using simple console applications, dramatically expanding the use cases and removing a major barrier to adoption.
30
+
A major new opportunity in ElectronNET.Core is the removal of the ASP.NET requirement. Developers can now build Electron solutions using simple DotNet console applications, expanding the use cases and removing a major barrier to adoption for a number of use cases.
30
31
31
32
### Flexible Content Sources
32
33
@@ -43,7 +44,7 @@ This capability transforms ElectronNET from a web-focused framework into a versa
43
44
44
45
### Debugging Reimagined
45
46
46
-
The debugging experience has been completely transformed. The new ASP.NET-first launch mode means developers can now debug their .NET code directly, with full access to familiar debugging tools and Hot Reload capabilities. No more attaching to processes or working around limited debugging scenarios—the development workflow now matches standard ASP.NET development patterns.
47
+
The debugging experience has been completely transformed. The new DotNet-first launch mode means developers can now debug their .NET code directly, with full access to familiar debugging tools and Hot Reload capabilities. No more attaching to processes or working around limited debugging scenarios — the development workflow now matches standard .NET development patterns.
47
48
48
49
### Cross-Platform Development Without Compromises
49
50
@@ -71,7 +72,8 @@ The underlying process architecture has been fundamentally redesigned. Instead o
71
72
- Enhanced error handling and recovery
72
73
- Cleaner separation between web and native concerns
73
74
74
-
This architecture supports eight different launch scenarios, covering every combination of packaged/unpackaged deployment, console/ASP.NET hosting, and dotnet-first/electron-first initialization.
75
+
This architecture supports eight different launch scenarios, covering every combination of packaged/unpackaged deployment, console/ASP.NET hosting, and dotnet-first/electron-first initialization. The Electron-first launch method is still available or course.
76
+
For more details, see: [Startup Methods](../GettingStarted/Startup-Methods.md).
75
77
76
78
### Unpackaged Development Mode
77
79
@@ -103,7 +105,9 @@ The migration path is designed to be straightforward:
103
105
1. Update package references to the new structure
104
106
2. Remove the old manifest file
105
107
3. Configure project properties through Visual Studio
106
-
4. Adopt new debugging workflows at your own pace
108
+
4. Adopt new debugging workflows at your own pace
109
+
110
+
Further reading: [Migration Guide](Migration-Guide.md).
0 commit comments