diff options
-rw-r--r-- | src/WixToolset.Core.Native/WixNativeExe.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WixToolset.Core.Native/WixNativeExe.cs b/src/WixToolset.Core.Native/WixNativeExe.cs index 2ea5146e..325fa18f 100644 --- a/src/WixToolset.Core.Native/WixNativeExe.cs +++ b/src/WixToolset.Core.Native/WixNativeExe.cs | |||
@@ -105,7 +105,9 @@ namespace WixToolset.Core.Native | |||
105 | 105 | ||
106 | if (!found) | 106 | if (!found) |
107 | { | 107 | { |
108 | throw new FileNotFoundException($"Could not find internal piece of WiX Toolset at: {possiblePaths}", WixNativeExeFileName); | 108 | throw new PlatformNotSupportedException( |
109 | $"Could not find platform specific '{WixNativeExeFileName}'", | ||
110 | new FileNotFoundException($"Could not find internal piece of WiX Toolset from: {possiblePaths}", WixNativeExeFileName)); | ||
109 | } | 111 | } |
110 | 112 | ||
111 | PathToWixNativeExe = path; | 113 | PathToWixNativeExe = path; |