mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
error NU1202: error NU1212 #752
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 @bbhxwl on GitHub (Jan 26, 2022).
error NU1202: 包 ElectronNET.CLI 13.5.1 与 netcoreapp2.2 (.NETCoreApp,Version=v2.2) 不兼容。 包 ElectronNET.CLI 13.5.1 支持: net5.0 (.NETCoreApp,Version=v5.0) / any
I:\project\WebApplication1\WebApplication1\WebApplication1.csproj : error NU1212: ElectronNET.CLI 13.5.1 的项目包组合无 效。DotnetToolReference 项目类型仅可包含 DotnetTool 类型的引用
未能还原 I:\project\WebApplication1\WebApplication1\WebApplication1.csproj (用时 241 ms)。
已还原 I:\project\WebApplication1\WebApplication1\WebApplication1.csproj (用时 478 ms)。
Error occurred during dotnet publish: 1
@danatcofo commented on GitHub (Jan 26, 2022):
It's not a netcoreapp2.2 package. Incompatible with your solution. Upgrade to a netcore v5 app.
This is not a bug, it's by design.
@bbhxwl commented on GitHub (Jan 26, 2022):
I didn't set 2.2. I know what the problem is. The old version of the Chinese article I read needs to set the project file. It seems that I don't need it now, but I still didn't succeed
@danatcofo commented on GitHub (Jan 26, 2022):
Well there isn't any other information in what you posted as the bug that indicates anything differently. Nothing to go on beyond the obvious necoreapp2.2 in the error message.
@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!