diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-10-25 00:23:42 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-10-25 00:25:53 -0700 |
| commit | 6c1ae2593faab59e1a01c96794e0835a6fcd0626 (patch) | |
| tree | c15fcb9a1f1c5bec846ba61f1f3dcd9a152bf701 /src/WixToolset.Data/WixUnexpectedFileFormatException.cs | |
| parent | 0078364515ba1f7570f43d47e43bd359918cafd0 (diff) | |
| download | wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.tar.gz wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.tar.bz2 wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.zip | |
Implement WixOutput with support for multiple streams of data
Diffstat (limited to 'src/WixToolset.Data/WixUnexpectedFileFormatException.cs')
| -rw-r--r-- | src/WixToolset.Data/WixUnexpectedFileFormatException.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Data/WixUnexpectedFileFormatException.cs b/src/WixToolset.Data/WixUnexpectedFileFormatException.cs index 340fb4d7..4bd6ba4a 100644 --- a/src/WixToolset.Data/WixUnexpectedFileFormatException.cs +++ b/src/WixToolset.Data/WixUnexpectedFileFormatException.cs | |||
| @@ -9,7 +9,7 @@ namespace WixToolset.Data | |||
| 9 | /// </summary> | 9 | /// </summary> |
| 10 | public class WixUnexpectedFileFormatException : WixException | 10 | public class WixUnexpectedFileFormatException : WixException |
| 11 | { | 11 | { |
| 12 | public WixUnexpectedFileFormatException(string path, FileFormat expectedFormat, FileFormat format, Exception innerException = null) | 12 | public WixUnexpectedFileFormatException(string path, string expectedFormat, string format, Exception innerException = null) |
| 13 | : base(ErrorMessages.UnexpectedFileFormat(path, expectedFormat, format), innerException) | 13 | : base(ErrorMessages.UnexpectedFileFormat(path, expectedFormat, format), innerException) |
| 14 | { | 14 | { |
| 15 | this.Path = path; | 15 | this.Path = path; |
| @@ -20,12 +20,12 @@ namespace WixToolset.Data | |||
| 20 | /// <summary> | 20 | /// <summary> |
| 21 | /// Gets the expected file format. | 21 | /// Gets the expected file format. |
| 22 | /// </summary> | 22 | /// </summary> |
| 23 | public FileFormat ExpectedFileFormat { get; } | 23 | public string ExpectedFileFormat { get; } |
| 24 | 24 | ||
| 25 | /// <summary> | 25 | /// <summary> |
| 26 | /// Gets the actual file format found in the file. | 26 | /// Gets the actual file format found in the file. |
| 27 | /// </summary> | 27 | /// </summary> |
| 28 | public FileFormat FileFormat { get; } | 28 | public string FileFormat { get; } |
| 29 | 29 | ||
| 30 | /// <summary> | 30 | /// <summary> |
| 31 | /// Gets the path to the file with unexpected format. | 31 | /// Gets the path to the file with unexpected format. |
