Partial WixPdbs stop the backend before binding.
Bob Arnson committed
Mar 17, 2020 at 21:10 UTC
9240b527b9b204764830b578ef41a5b880a0bda4
2 files changed
+24
-1
src/WixToolset.Data/PdbType.cs
new
+19
@@ -0,0 +1,19 @@
1
+// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
+
3
+namespace WixToolset.Data
4
+{
5
+ /// <summary>
6
+ /// Platforms supported by compiler.
7
+ /// </summary>
8
+ public enum PdbType
9
+ {
10
+ /// <summary>A .wixpdb file matching the generated output (default).</summary>
11
+ Full,
12
+
13
+ /// <summary>No .wixpdb file.</summary>
14
+ None,
15
+
16
+ /// <summary>A .wixpdb file with partial, pre-bind data. No other output will be generated.</summary>
17
+ Partial,
18
+ }
19
+}
src/WixToolset.Data/WixOutput.cs
+5
-1
@@ -46,7 +46,11 @@ namespace WixToolset.Data
46
/// <returns>Newly created <c>WixOutput</c>.</returns>
47
public static WixOutput Create(string path)
48
{
49
- var uri = new Uri(Path.GetFullPath(path));
49
+ var fullPath = Path.GetFullPath(path);
50
+
51
+ Directory.CreateDirectory(Path.GetDirectoryName(fullPath));
52
+
53
+ var uri = new Uri(fullPath);
54
55
var stream = File.Create(path);
56