summaryrefslogtreecommitdiff
path: root/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/WixToolset.Core/Compile/CompilerPayload.cs')
-rw-r--r--src/wix/WixToolset.Core/Compile/CompilerPayload.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wix/WixToolset.Core/Compile/CompilerPayload.cs b/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
index cee9b377..2cdc70cf 100644
--- a/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
+++ b/src/wix/WixToolset.Core/Compile/CompilerPayload.cs
@@ -11,8 +11,6 @@ namespace WixToolset.Core
11 11
12 internal class CompilerPayload 12 internal class CompilerPayload
13 { 13 {
14 public string Version { get; set; }
15
16 public CompilerPayload(CompilerCore core, SourceLineNumber sourceLineNumbers, XElement element) 14 public CompilerPayload(CompilerCore core, SourceLineNumber sourceLineNumbers, XElement element)
17 { 15 {
18 this.Core = core; 16 this.Core = core;
@@ -20,11 +18,11 @@ namespace WixToolset.Core
20 this.SourceLineNumbers = sourceLineNumbers; 18 this.SourceLineNumbers = sourceLineNumbers;
21 } 19 }
22 20
23 private CompilerCore Core { get; } 21 public CompilerCore Core { get; }
24 22
25 private XElement Element { get; } 23 public XElement Element { get; }
26 24
27 private SourceLineNumber SourceLineNumbers { get; } 25 public SourceLineNumber SourceLineNumbers { get; }
28 26
29 public YesNoDefaultType Compressed { get; set; } = YesNoDefaultType.Default; 27 public YesNoDefaultType Compressed { get; set; } = YesNoDefaultType.Default;
30 28
@@ -52,6 +50,8 @@ namespace WixToolset.Core
52 50
53 public string SourceFile { get; set; } 51 public string SourceFile { get; set; }
54 52
53 public string Version { get; set; }
54
55 private void CalculateAndVerifyFields() 55 private void CalculateAndVerifyFields()
56 { 56 {
57 var isRemote = this.IsRemoteAllowed && (!String.IsNullOrEmpty(this.CertificatePublicKey) || !String.IsNullOrEmpty(this.CertificateThumbprint) || !String.IsNullOrEmpty(this.Hash)); 57 var isRemote = this.IsRemoteAllowed && (!String.IsNullOrEmpty(this.CertificatePublicKey) || !String.IsNullOrEmpty(this.CertificateThumbprint) || !String.IsNullOrEmpty(this.Hash));