aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/DecompileCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/CommandLine/DecompileCommand.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/DecompileCommand.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WixToolset.Core/CommandLine/DecompileCommand.cs b/src/WixToolset.Core/CommandLine/DecompileCommand.cs
index fc77a7b4..bce7a5a4 100644
--- a/src/WixToolset.Core/CommandLine/DecompileCommand.cs
+++ b/src/WixToolset.Core/CommandLine/DecompileCommand.cs
@@ -53,6 +53,7 @@ namespace WixToolset.Core.CommandLine
53 53
54 if (!this.Messaging.EncounteredError) 54 if (!this.Messaging.EncounteredError)
55 { 55 {
56 Directory.CreateDirectory(Path.GetDirectoryName(context.OutputPath));
56 result.Document.Save(context.OutputPath, SaveOptions.OmitDuplicateNamespaces); 57 result.Document.Save(context.OutputPath, SaveOptions.OmitDuplicateNamespaces);
57 } 58 }
58 } 59 }