aboutsummaryrefslogtreecommitdiff
path: root/src/wixcop/CommandLine/ConvertCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/wixcop/CommandLine/ConvertCommand.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wixcop/CommandLine/ConvertCommand.cs b/src/wixcop/CommandLine/ConvertCommand.cs
index c65652ab..a9a110fe 100644
--- a/src/wixcop/CommandLine/ConvertCommand.cs
+++ b/src/wixcop/CommandLine/ConvertCommand.cs
@@ -6,6 +6,7 @@ namespace WixToolset.Tools.WixCop.CommandLine
6 using System.Collections.Generic; 6 using System.Collections.Generic;
7 using System.IO; 7 using System.IO;
8 using System.Xml; 8 using System.Xml;
9 using WixToolset.Converters;
9 using WixToolset.Extensibility.Data; 10 using WixToolset.Extensibility.Data;
10 using WixToolset.Extensibility.Services; 11 using WixToolset.Extensibility.Services;
11 12
@@ -75,7 +76,7 @@ namespace WixToolset.Tools.WixCop.CommandLine
75 } 76 }
76 77
77 var messaging = this.ServiceProvider.GetService<IMessaging>(); 78 var messaging = this.ServiceProvider.GetService<IMessaging>();
78 var converter = new Converter(messaging, this.IndentationAmount, this.ErrorsAsWarnings, this.IgnoreErrors); 79 var converter = new Wix3Converter(messaging, this.IndentationAmount, this.ErrorsAsWarnings, this.IgnoreErrors);
79 80
80 var errors = this.InspectSubDirectories(converter, Path.GetFullPath(".")); 81 var errors = this.InspectSubDirectories(converter, Path.GetFullPath("."));
81 82
@@ -131,7 +132,7 @@ namespace WixToolset.Tools.WixCop.CommandLine
131 /// </summary> 132 /// </summary>
132 /// <param name="directory">The directory whose sub-directories will be inspected.</param> 133 /// <param name="directory">The directory whose sub-directories will be inspected.</param>
133 /// <returns>The number of errors that were found.</returns> 134 /// <returns>The number of errors that were found.</returns>
134 private int InspectSubDirectories(Converter converter, string directory) 135 private int InspectSubDirectories(Wix3Converter converter, string directory)
135 { 136 {
136 var errors = 0; 137 var errors = 0;
137 138