From b180fc2ea89a1d33701f0aa226fd2b5e50e7fc99 Mon Sep 17 00:00:00 2001 From: softworkz Date: Wed, 21 Jan 2026 05:10:24 +0100 Subject: [PATCH 1/3] Double-up timeout for electron-builder --- src/ElectronNET/build/ElectronNET.LateImport.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ElectronNET/build/ElectronNET.LateImport.targets b/src/ElectronNET/build/ElectronNET.LateImport.targets index 5adc6d64..8ae5df5e 100644 --- a/src/ElectronNET/build/ElectronNET.LateImport.targets +++ b/src/ElectronNET/build/ElectronNET.LateImport.targets @@ -522,7 +522,7 @@ For more information, see: https://github.com/ElectronNET/Electron.NET/wiki/Migr <_NpxCmd Condition="'$(IsLinuxWsl)' == 'true'">wsl bash -ic '$(_NpxCmd)' - + From 9f6489891ebe3edb05ec778af007a2bb516ebcff Mon Sep 17 00:00:00 2001 From: softworkz Date: Wed, 21 Jan 2026 06:08:57 +0100 Subject: [PATCH 2/3] ElectronNET.Host: Revert JS SDK to default value from VS 2026 --- src/ElectronNET.Host/ElectronNET.Host.esproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ElectronNET.Host/ElectronNET.Host.esproj b/src/ElectronNET.Host/ElectronNET.Host.esproj index 25d35af7..0f56fbfb 100644 --- a/src/ElectronNET.Host/ElectronNET.Host.esproj +++ b/src/ElectronNET.Host/ElectronNET.Host.esproj @@ -1,4 +1,4 @@ - + From 17f761d1849c4110a8c6020d19b9d339ec882bd7 Mon Sep 17 00:00:00 2001 From: softworkz Date: Wed, 21 Jan 2026 05:23:17 +0100 Subject: [PATCH 3/3] Fix FormatException --- src/ElectronNET.API/API/ApiBase.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ElectronNET.API/API/ApiBase.cs b/src/ElectronNET.API/API/ApiBase.cs index 96f68313..6f961fcb 100644 --- a/src/ElectronNET.API/API/ApiBase.cs +++ b/src/ElectronNET.API/API/ApiBase.cs @@ -314,7 +314,9 @@ public Invocator(ApiBase apiBase, string callerName, TimeSpan timeout, object ar { if (this.tcs != null) { - var ex = new TimeoutException($"No response after {timeout:D}ms trying to retrieve value {apiBase.objectName}.{callerName}()"); + var ex = new TimeoutException( + $"No response after {(long)timeout.TotalMilliseconds}ms trying to retrieve value {apiBase.objectName}.{callerName}()" + ); this.tcs.TrySetException(ex); this.tcs = null; }