diff --git a/Changelog.md b/Changelog.md index d9f2b76..31dd8f6 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,7 @@ - Updated dependencies - Fixed socket bridge connection when a system proxy is configured (#1105) +- Fixed electron-builder using the host RID instead of the target RID (#1097) - Fixed cross-compilation behavior on same platform (#1098) @epsnm - Fixed resolution of unrelated target (#1099) @epsnm - Added target framework customization (#1095) @epsnm diff --git a/src/ElectronNET/build/ElectronNET.Core.props b/src/ElectronNET/build/ElectronNET.Core.props index 13578ca..2291e3d 100644 --- a/src/ElectronNET/build/ElectronNET.Core.props +++ b/src/ElectronNET/build/ElectronNET.Core.props @@ -4,12 +4,9 @@ 30.4.0 26.0 - - $(RuntimeIdentifier) - - $([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier) - - win-$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLower()) + true diff --git a/src/ElectronNET/build/ElectronNET.LateImport.targets b/src/ElectronNET/build/ElectronNET.LateImport.targets index 4ee0e8b..5e9d965 100644 --- a/src/ElectronNET/build/ElectronNET.LateImport.targets +++ b/src/ElectronNET/build/ElectronNET.LateImport.targets @@ -95,8 +95,24 @@ + + + + + $(RuntimeIdentifier) + + $([System.Runtime.InteropServices.RuntimeInformation]::RuntimeIdentifier) + + win-$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString().ToLower()) + + + + + + - + @@ -370,7 +386,7 @@ - + x64