You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft Visual C++ Runtime Library window pops up with "Assertion failed! coreclr.cpp Line 49 Expression: g_coreclr == nullptr" as pictured:
To see what happens, click Ignore
Notice that there are no results in the window anymore as pictured:
I am running in Windows. I have VS2022 installed. I wonder if this affects anything. I also experience this issue after upgrading to .NET 6 and 7 in ExternalLibrary and QuickStart.Core.
Do you have any ideas or suggestions for me to try? Or if I should move this to the edge-js repo or the electron-edge-js repo, let me know. Thank you very much for your time!
Thank you also for your hard work on electron-edge-js. It is quite a unique and powerful solution to bridging Node and .NET.
Update: I installed VS2017 and tried again. When building, I receive an error that says, "The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.1." I tried enabling previews of the .NET Core SDK, but that did not remove the error. It seems it may be a limitation of VS2017 because it does not use MSBuild 16. I also tried changing the .NET Core version to 1.1, fixing the AppDomain error, building (successfully!), and running the electron app. I got the same blank tables as in my second screenshot above. Reloading the page yielded the same runtime error as discussed above. I imagine this error is not related to the VS version or the .NET version but to edge-js or some aspect of this quick-start project. Let me know what you think. Thank you!
The text was updated successfully, but these errors were encountered:
Duplicate of agracio/electron-edge-js#89, currently there is no solution for this problem when electron-edge-js is used on main Electron thread. The only way to mitigate it is to create Electron app using Electron IPC.
'quick-start' is already updated and no longer has that issue.
Hello!
It seems I am having a consistent assertion failure on reloading the electron app with this quick start repo.
Steps to reproduce:
git clone https://github.com/agracio/electron-edge-js-quick-start.git
npm install
dotnet build src/QuickStart.sln
npm start
I am running in Windows. I have VS2022 installed. I wonder if this affects anything. I also experience this issue after upgrading to .NET 6 and 7 in
ExternalLibrary
andQuickStart.Core
.Do you have any ideas or suggestions for me to try? Or if I should move this to the edge-js repo or the electron-edge-js repo, let me know. Thank you very much for your time!
Thank you also for your hard work on electron-edge-js. It is quite a unique and powerful solution to bridging Node and .NET.
Update: I installed VS2017 and tried again. When building, I receive an error that says, "The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.1." I tried enabling previews of the .NET Core SDK, but that did not remove the error. It seems it may be a limitation of VS2017 because it does not use MSBuild 16. I also tried changing the .NET Core version to 1.1, fixing the
AppDomain
error, building (successfully!), and running the electron app. I got the same blank tables as in my second screenshot above. Reloading the page yielded the same runtime error as discussed above. I imagine this error is not related to the VS version or the .NET version but to edge-js or some aspect of this quick-start project. Let me know what you think. Thank you!The text was updated successfully, but these errors were encountered: