mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Visual studio 2022 net core 6 In Electron.NET The code is not the same #779
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 @vioKamran on GitHub (Apr 14, 2022).
Originally assigned to: @GregorBiswanger on GitHub.
Please, leave a sample of the new code in Visual Studio 2022 net core 6 in this new github.
Every time I searched Google, unfortunately, all the tutorials and all the code defined a sample of the Visual Studio 2019 net core 5 version.
Please modify the new code for the next version.
@danammeansbear commented on GitHub (Apr 27, 2022):
just use the sample api code to get started because they havent updated it. if you get the sample api demo working then you can see the documentation but im pretty sure its actually the same on the website.
@ackerman76 commented on GitHub (May 16, 2022):
I hope someone adds some examples for .NET6 soon.
I finally got this running with VS 2022, VS Code on .NET6. After installing electronNET into my ASP.NET Core app, I had to add a Startup.cs and use namespaces and class names like a civilized person lol.
Program.cs
Startup.cs
@vioKamran commented on GitHub (May 17, 2022):
@ackerman76
Great .
Thankyou.
So please update Git "Net 6" And "VS2022" at the gate .
@mz-celldom commented on GitHub (May 27, 2022):
@ackerman76 what version of electronNET did you use?
@ackerman76 commented on GitHub (May 27, 2022):
13.5.1
@DatReki commented on GitHub (Sep 20, 2022):
The following code for .NET 6 worked for me. Is a bit closer to the default setup/style.
@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!