Electron.NET
Electron.NET copied to clipboard
the example doesn't work
is this clean template ( clean code ) um.. I might need some help here is there
what am I missing here ?
it seems that the packages aren't installed correctly , when I try to install them manually it failed with dotnet 2.0 doesn't exist ( this is the first time I see this ) , I deleted obj folder and localnugtpackage.json it didn't help any idea , or working sample
update : when I try Electron API demo with
F:\New folder\ElectronCORE>electronize start
Start Electron Desktop Application...
Arguments:
dotnet publish -r win-x64 -c "Debug" --output "F:\New folder\ElectronCORE\obj\Host\bin" /p:PublishReadyToRun=false /p:PublishSingleFile=false /p:DisabledWarnings=true
MSBuild version 17.3.0-preview-22329-01+77c72dd0f for .NET
F:\New folder\ElectronCORE\ElectronNET.sln : Solution file error MSB4249: Unable to build website project "ElectronNET.Host". The ASP.NET compiler is only available on the .NET Framework version of MSBuild.
Error occurred during dotnet publish: 1
So it seems that I had to restrict dotnet sdk to v5 using globl.json also deleting Nuget package catch and performing https://github.com/dotnet/msbuild/issues/7940#issuecomment-1236172029
hmm now it seems that https://status.nuget.org/ has some issue
https://github.com/NuGet/NuGetGallery/issues/9218
currently I'm using https://github.com/medhatelmasry/ElectronServerBlazorEf , however I couldn't enable hot reload ..
I am also running into this same error: dotnet publish -r win-x64 -c "Debug" --output "....\Electron.NET-master\obj\Host\bin" /p:PublishReadyToRun=false /p:PublishSingleFile=false /p:DisabledWarnings=true MSBuild version 17.4.0-preview-22470-08+6521b1591 for .NET C:_Source\Other\Electron.NET-master\Electron.NET-master\ElectronNET.sln : Solution file error MSB4249: Unable to build website project "ElectronNET.Host". The ASP.NET compiler is only available on the .NET Framework version of MSBuild.
The ElectronNET.Host project references .NET Framework 4.8 in the solution file, and I think is the cause of this issue. Adding a global.json file in the solution directory is not working. Any help with this?
Thanks!