diff options
Diffstat (limited to 'src/WixToolset.Data/WixCorruptFileException.cs')
-rw-r--r-- | src/WixToolset.Data/WixCorruptFileException.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Data/WixCorruptFileException.cs b/src/WixToolset.Data/WixCorruptFileException.cs index f77f0d8a..83c3eb80 100644 --- a/src/WixToolset.Data/WixCorruptFileException.cs +++ b/src/WixToolset.Data/WixCorruptFileException.cs | |||
@@ -9,7 +9,7 @@ namespace WixToolset.Data | |||
9 | /// </summary> | 9 | /// </summary> |
10 | public class WixCorruptFileException : WixException | 10 | public class WixCorruptFileException : WixException |
11 | { | 11 | { |
12 | public WixCorruptFileException(string path, FileFormat format, Exception innerException = null) | 12 | public WixCorruptFileException(string path, string format, Exception innerException = null) |
13 | : base(ErrorMessages.CorruptFileFormat(path, format), innerException) | 13 | : base(ErrorMessages.CorruptFileFormat(path, format), innerException) |
14 | { | 14 | { |
15 | this.Path = path; | 15 | this.Path = path; |
@@ -19,7 +19,7 @@ namespace WixToolset.Data | |||
19 | /// <summary> | 19 | /// <summary> |
20 | /// Gets the actual file format found in the file. | 20 | /// Gets the actual file format found in the file. |
21 | /// </summary> | 21 | /// </summary> |
22 | public FileFormat FileFormat { get; } | 22 | public string FileFormat { get; } |
23 | 23 | ||
24 | /// <summary> | 24 | /// <summary> |
25 | /// Gets the path to the file with unexpected format. | 25 | /// Gets the path to the file with unexpected format. |