ElectronNET/Electron.NET

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

Closed this issue · 4 comments

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

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

releated to #873

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

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