diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2018-09-02 16:12:29 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2018-09-13 12:05:57 -0500 |
commit | 244b46cf7f3252d6dc3884ce184be901d1d173e5 (patch) | |
tree | bd6fb4349b926001138d1a3415f93370d64e538f /src/WixToolset.BuildTasks/ConvertReferences.cs | |
parent | 026d0af96fac5cd2d3d84ade657949ddc7144b99 (diff) | |
download | wix-244b46cf7f3252d6dc3884ce184be901d1d173e5.tar.gz wix-244b46cf7f3252d6dc3884ce184be901d1d173e5.tar.bz2 wix-244b46cf7f3252d6dc3884ce184be901d1d173e5.zip |
Migrate WixCop into Tools from wix4.
Diffstat (limited to 'src/WixToolset.BuildTasks/ConvertReferences.cs')
-rw-r--r-- | src/WixToolset.BuildTasks/ConvertReferences.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/WixToolset.BuildTasks/ConvertReferences.cs b/src/WixToolset.BuildTasks/ConvertReferences.cs index fe137633..ef50c918 100644 --- a/src/WixToolset.BuildTasks/ConvertReferences.cs +++ b/src/WixToolset.BuildTasks/ConvertReferences.cs | |||
@@ -3,13 +3,10 @@ | |||
3 | namespace WixToolset.BuildTasks | 3 | namespace WixToolset.BuildTasks |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Collections; | ||
7 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
8 | using System.Globalization; | ||
9 | using System.IO; | ||
10 | using System.Xml; | ||
11 | using Microsoft.Build.Framework; | 7 | using Microsoft.Build.Framework; |
12 | using Microsoft.Build.Utilities; | 8 | using Microsoft.Build.Utilities; |
9 | using WixToolset.Tools.Core; | ||
13 | 10 | ||
14 | /// <summary> | 11 | /// <summary> |
15 | /// This task assigns Culture metadata to files based on the value of the Culture attribute on the | 12 | /// This task assigns Culture metadata to files based on the value of the Culture attribute on the |
@@ -62,7 +59,7 @@ namespace WixToolset.BuildTasks | |||
62 | { | 59 | { |
63 | Dictionary<string, string> newItemMetadeta = new Dictionary<string, string>(); | 60 | Dictionary<string, string> newItemMetadeta = new Dictionary<string, string>(); |
64 | 61 | ||
65 | if (!String.IsNullOrEmpty(item.GetMetadata(Common.DoNotHarvest))) | 62 | if (!String.IsNullOrEmpty(item.GetMetadata(ToolsCommon.DoNotHarvest))) |
66 | { | 63 | { |
67 | continue; | 64 | continue; |
68 | } | 65 | } |