ElectronNET.CLI v23.6.2 still targeting .NET 6 instead of .NET 8 #989

Closed
opened 2026-01-29 16:53:52 +00:00 by claunia · 4 comments
Owner

Originally created by @PElanchezhiyan on GitHub (Sep 11, 2025).

Description

According to the Electron.NET documentation, version 23.6.2 of ElectronNET.CLI should target .NET 8 LTS.
However, after installing the tool, it still creates a net6.0 folder inside the .dotnet/tools/.store/electronnet.cli/23.6.2/.../tools directory.

Steps to Reproduce

  1. Install the latest CLI:
    dotnet tool install ElectronNET.CLI -g --version 23.6.2
  2. Navigate to:
    %USERPROFILE%\.dotnet\tools\.store\electronnet.cli\23.6.2\electronnet.cli\23.6.2\tools\
  3. Observe that the only framework folder is:
    • net6.0

Expected Behavior

  • The CLI package should provide binaries under net8.0 (since .NET 6 is out of support, and docs mention .NET 8 support).

Actual Behavior

  • The CLI package still ships binaries under net6.0.

Environment

  • Windows 11
  • .NET SDK 8.0.x
  • ElectronNET.CLI 23.6.2

Notes

This seems to be a packaging issue with the CLI NuGet release. Could you please confirm if .NET 8 targeting is planned or if this was overlooked during publish?

Image
Originally created by @PElanchezhiyan on GitHub (Sep 11, 2025). ### Description According to the Electron.NET documentation, version 23.6.2 of ElectronNET.CLI should target .NET 8 LTS. However, after installing the tool, it still creates a `net6.0` folder inside the `.dotnet/tools/.store/electronnet.cli/23.6.2/.../tools` directory. ### Steps to Reproduce 1. Install the latest CLI: `dotnet tool install ElectronNET.CLI -g --version 23.6.2` 2. Navigate to: `%USERPROFILE%\.dotnet\tools\.store\electronnet.cli\23.6.2\electronnet.cli\23.6.2\tools\` 3. Observe that the only framework folder is: - `net6.0` ### Expected Behavior - The CLI package should provide binaries under `net8.0` (since .NET 6 is out of support, and docs mention .NET 8 support). ### Actual Behavior - The CLI package still ships binaries under `net6.0`. ### Environment - Windows 11 - .NET SDK 8.0.x - ElectronNET.CLI 23.6.2 ### Notes This seems to be a packaging issue with the CLI NuGet release. Could you please confirm if .NET 8 targeting is planned or if this was overlooked during publish? <img width="1661" height="236" alt="Image" src="https://github.com/user-attachments/assets/9b4ea1f8-d709-4883-bd6d-291bb9206749" />
claunia added the bug label 2026-01-29 16:53:52 +00:00
Author
Owner

@schaveyt commented on GitHub (Sep 18, 2025):

Just tried coming back to this project after a 4 yr break. 10 minutes in...this shit happened

@schaveyt commented on GitHub (Sep 18, 2025): Just tried coming back to this project after a 4 yr break. 10 minutes in...this shit happened
Author
Owner

@schaveyt commented on GitHub (Sep 18, 2025):

releated to #873

@schaveyt commented on GitHub (Sep 18, 2025): releated to #873
Author
Owner

@Laner02 commented on GitHub (Oct 19, 2025):

Hey, I just ran into this exact same issue, do you guys have any insight about this?

@Laner02 commented on GitHub (Oct 19, 2025): Hey, I just ran into this exact same issue, do you guys have any insight about this?
Author
Owner

@FlorianRappl commented on GitHub (Oct 19, 2025):

No longer applicable. Next version will target .NET 8 specifically (#893).

@FlorianRappl commented on GitHub (Oct 19, 2025): No longer applicable. Next version will target .NET 8 specifically (#893).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#989