electron.net-api-demos
electron.net-api-demos copied to clipboard
How to build the demo for NET 6?
I try to build the app in VS2022 for NET 6 and receive
1>------ Rebuild All started: Project: ElectronNET-API-Demos, Configuration: Release Any CPU ------
Restored D:\MyProjects4\Blazor\electron.net-api-demos-master\ElectronNET-API-Demos\ElectronNET-API-Demos.csproj (in 80 ms).
1>D:\MyProjects4\Blazor\electron.net-api-demos-master\ElectronNET-API-Demos\ElectronHostHook\connector.ts(2,33): error TS2503: Build:Cannot find namespace 'SocketIO'.
1>D:\MyProjects4\Blazor\electron.net-api-demos-master\ElectronNET-API-Demos\ElectronHostHook\excelCreator.ts(1,24): error TS2307: Build:Cannot find module 'exceljs' or its corresponding type declarations.
1>D:\MyProjects4\Blazor\electron.net-api-demos-master\ElectronNET-API-Demos\ElectronHostHook\excelCreator.ts(2,37): error TS2307: Build:Cannot find module 'exceljs' or its corresponding type declarations.
1>D:\MyProjects4\Blazor\electron.net-api-demos-master\ElectronNET-API-Demos\ElectronHostHook\index.ts(7,25): error TS2503: Build:Cannot find namespace 'SocketIO'.
How to fix it?