mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
The framework version '5.0.0' (x64) was not found. But 6.0.6 is installed #806
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @f4n0 on GitHub (Jun 22, 2022).
Originally assigned to: @GregorBiswanger on GitHub.
Hi,
I've created a pipeline for my project.
I've installed Electron.Net and Electron.Net.CLI but when I try to Electronize it throws me:
Tool 'electronnet.cli' (version '13.5.1') was successfully installed.
Executing Electronize
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '5.0.0' (x64) was not found.
6.0.6 at [C:\hostedtoolcache\windows\dotnet\shared\Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
My project is NET6, locally I can build it without any problem, is there something I can do?
@bknoxphysna commented on GitHub (Jun 29, 2022):
The latest version of the
electronnet.clipublished to nuget doesn't work with net6.0, it is only built for net5.0. You have to build in theElectronNET.CLIdirectory from master in this repo.@GregorBiswanger I recognize you may be busy so no worries! I'm wondering if we can have a working build of the repo for apple silicon and .net6.0. Do you have some time to look into this?
Here is a PR I opened that is related to this: https://github.com/ElectronNET/Electron.NET/pull/706
@f4n0 commented on GitHub (Jul 6, 2022):
I hope it will be merged soon!
@brandochn commented on GitHub (Jul 16, 2022):
Hi Guys,
Here the same issue.
@Mr-Technician commented on GitHub (Jul 28, 2022):
What do you mean by this? That I need to build my code within this existing repository?
@delasource commented on GitHub (Aug 11, 2022):
.net5 is out of support since May 10.
The CLI should be updated to .net6 asap!
@GregorBiswanger commented on GitHub (Aug 11, 2022):
Currently there are still errors when running from the current status. We had a major PR #681 and need to find out what the problem is. Maybe one of you will find something.
@bigredhdl commented on GitHub (Sep 13, 2022):
Just checking in here. I see PR #681 is merged, but is there still an outstanding issue before a .net 6 CLI can be published to nuget? I'm trying to get a blazor app we upgraded to .net 6 working again, but my app is failing to launch. I also tried a quick:
using my own build of the CLI, but that didn't work either.
@dnviti commented on GitHub (Nov 2, 2022):
This error still occurs to this date... if the PR has been succesfully merged, what is blocking the new patch release?
@rthm93 commented on GitHub (Nov 10, 2022):
I am using electronnet.cli 13.5.1, still having the same issue.
@retvari commented on GitHub (Nov 22, 2022):
Same issue here... please publish to nuget!
@theolivenbaum commented on GitHub (Nov 24, 2022):
Meanwhile you can use this package, it is built targeting net70: https://www.nuget.org/packages/h5.ElectronNET.CLI/
@GregorBiswanger commented on GitHub (Nov 24, 2022):
@theolivenbaum Can you please check the repository, after your pr we got another error. When that is fixed, we can finally publish the new release with .net 7 support in general
@theolivenbaum commented on GitHub (Nov 24, 2022):
Hi @GregorBiswanger, which error you mean?
@brandochn commented on GitHub (Nov 25, 2022):
Hi @theolivenbaum, I think the error @GregorBiswanger mentionded is this #681
@yuriiproniuk commented on GitHub (Mar 13, 2023):
Hello @GregorBiswanger @theolivenbaum , do I understand correctly that for apps targeting .NET 6 and higher from now on should be used https://github.com/theolivenbaum/electron-sharp and Electron.NET is not going to support targeting .NET 6?
@GregorBiswanger commented on GitHub (Mar 13, 2023):
@yuriiproniuk A new Electron.NET Update with .NET 7 Support is coming the next days
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!