8000 The framework version '5.0.0' (x64) was not found. But 6.0.6 is installed · Issue #704 · ElectronNET/Electron.NET · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

The framework version '5.0.0' (x64) was not found. But 6.0.6 is installed #704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
f4n0 opened this issue Jun 22, 2022 · 17 comments
Closed
Assignees
Labels

Comments

@f4n0
Copy link
f4n0 commented Jun 22, 2022

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.

  • The following frameworks were 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?

@f4n0 f4n0 added the bug label Jun 22, 2022
@bknoxphysna
Copy link
bknoxphysna commented Jun 29, 2022

The latest version of the electronnet.cli published to nuget doesn't work with net6.0, it is only built for net5.0. You have to build in the ElectronNET.CLI directory 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: #706

@f4n0
Copy link
Author
f4n0 commented Jul 6, 2022

I hope it will be merged soon!

@brandochn
Copy link

Hi Guys,

Here the same issue.

@Mr-Technician
Copy link

The latest version of the electronnet.cli published to nuget doesn't work with net6.0, it is only built for net5.0. You have to build in the ElectronNET.CLI directory from master in this repo.

What do you mean by this? That I need to build my code within this existing repository?

@delasource
Copy link

.net5 is out of support since May 10.

The CLI should be updated to .net6 asap!

@GregorBiswanger
Copy link
Member

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
Copy link

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:

dotnet new blazorserver
electronize init
electronize start

using my own build of the CLI, but that didn't work either.

@dnviti
Copy link
dnviti commented 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
Copy link
rthm93 commented Nov 10, 2022

I am using electronnet.cli 13.5.1, still having the same issue.

@retvari
Copy link
retvari commented Nov 22, 2022

Same issue here... please publish to nuget!

@theolivenbaum
Copy link

Meanwhile you can use this package, it is built targeting net70: https://www.nuget.org/packages/h5.ElectronNET.CLI/

@GregorBiswanger
Copy link
Member

@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
Copy link

Hi @GregorBiswanger, which error you mean?

@brandochn
Copy link

Hi @theolivenbaum, I think the error @GregorBiswanger mentionded is this #681

< 8000 /td>

@yuriiproniuk
Copy link

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
Copy link
Member

@yuriiproniuk A new Electron.NET Update with .NET 7 Support is coming the next days

@GregorBiswanger GregorBiswanger self-assigned this Mar 28, 2023
@GregorBiswanger
Copy link
Member

🎉🚀 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0