diff options
-rw-r--r-- | Tools.sln | 10 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/Common.cs (renamed from src/Wixtoolset.Tools.Core/ToolsCommon.cs) | 2 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/ConvertReferences.cs | 1 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs | 3 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/GetCabList.cs | 6 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/GetLooseFileList.cs | 9 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/GlobalSuppressions.cs | 8 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/RefreshBundleGeneratedFile.cs | 1 | ||||
-rw-r--r-- | src/WixToolset.BuildTasks/RefreshGeneratedFile.cs | 1 | ||||
-rw-r--r-- | src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj | 21 | ||||
-rw-r--r-- | src/WixToolset.Tools.Core/WixToolset.Tools.Core.v3.ncrunchproject | 5 | ||||
-rw-r--r-- | src/heat/heat.csproj | 2 | ||||
-rw-r--r-- | src/wix/wix.csproj | 2 | ||||
-rw-r--r-- | src/wixcop/WixCop.csproj | 2 |
14 files changed, 7 insertions, 66 deletions
@@ -20,8 +20,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution | |||
20 | EndProject | 20 | EndProject |
21 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixCop", "src\wixcop\WixCop.csproj", "{2E54120B-8958-40B1-A7FC-851446994CD8}" | 21 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixCop", "src\wixcop\WixCop.csproj", "{2E54120B-8958-40B1-A7FC-851446994CD8}" |
22 | EndProject | 22 | EndProject |
23 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.Tools.Core", "src\WixToolset.Tools.Core\WixToolset.Tools.Core.csproj", "{9C3B486F-AE0E-43BA-823A-30808B73C6B4}" | ||
24 | EndProject | ||
25 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.WixCop", "src\test\WixToolsetTest.WixCop\WixToolsetTest.WixCop.csproj", "{F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}" | 23 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.WixCop", "src\test\WixToolsetTest.WixCop\WixToolsetTest.WixCop.csproj", "{F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}" |
26 | EndProject | 24 | EndProject |
27 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "thmviewer", "src\thmviewer\thmviewer.vcxproj", "{95228C13-97F5-484A-B4A2-ECF4618B0881}" | 25 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "thmviewer", "src\thmviewer\thmviewer.vcxproj", "{95228C13-97F5-484A-B4A2-ECF4618B0881}" |
@@ -86,14 +84,6 @@ Global | |||
86 | {2E54120B-8958-40B1-A7FC-851446994CD8}.Release|Any CPU.Build.0 = Release|Any CPU | 84 | {2E54120B-8958-40B1-A7FC-851446994CD8}.Release|Any CPU.Build.0 = Release|Any CPU |
87 | {2E54120B-8958-40B1-A7FC-851446994CD8}.Release|x86.ActiveCfg = Release|Any CPU | 85 | {2E54120B-8958-40B1-A7FC-851446994CD8}.Release|x86.ActiveCfg = Release|Any CPU |
88 | {2E54120B-8958-40B1-A7FC-851446994CD8}.Release|x86.Build.0 = Release|Any CPU | 86 | {2E54120B-8958-40B1-A7FC-851446994CD8}.Release|x86.Build.0 = Release|Any CPU |
89 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
90 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
91 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
92 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Debug|x86.Build.0 = Debug|Any CPU | ||
93 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
94 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
95 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Release|x86.ActiveCfg = Release|Any CPU | ||
96 | {9C3B486F-AE0E-43BA-823A-30808B73C6B4}.Release|x86.Build.0 = Release|Any CPU | ||
97 | {F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 87 | {F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
98 | {F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}.Debug|Any CPU.Build.0 = Debug|Any CPU | 88 | {F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}.Debug|Any CPU.Build.0 = Debug|Any CPU |
99 | {F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}.Debug|x86.ActiveCfg = Debug|Any CPU | 89 | {F1A8112B-95A1-4AF7-81CB-523BE7DB8E5C}.Debug|x86.ActiveCfg = Debug|Any CPU |
diff --git a/src/Wixtoolset.Tools.Core/ToolsCommon.cs b/src/WixToolset.BuildTasks/Common.cs index 37d89f3c..c5b709c2 100644 --- a/src/Wixtoolset.Tools.Core/ToolsCommon.cs +++ b/src/WixToolset.BuildTasks/Common.cs | |||
@@ -1,6 +1,6 @@ | |||
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. | 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 | 2 | ||
3 | namespace WixToolset.Tools.Core | 3 | namespace WixToolset.BuildTasks |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Text.RegularExpressions; | 6 | using System.Text.RegularExpressions; |
diff --git a/src/WixToolset.BuildTasks/ConvertReferences.cs b/src/WixToolset.BuildTasks/ConvertReferences.cs index ef50c918..3fdc78d1 100644 --- a/src/WixToolset.BuildTasks/ConvertReferences.cs +++ b/src/WixToolset.BuildTasks/ConvertReferences.cs | |||
@@ -6,7 +6,6 @@ namespace WixToolset.BuildTasks | |||
6 | using System.Collections.Generic; | 6 | using System.Collections.Generic; |
7 | using Microsoft.Build.Framework; | 7 | using Microsoft.Build.Framework; |
8 | using Microsoft.Build.Utilities; | 8 | using Microsoft.Build.Utilities; |
9 | using WixToolset.Tools.Core; | ||
10 | 9 | ||
11 | /// <summary> | 10 | /// <summary> |
12 | /// This task assigns Culture metadata to files based on the value of the Culture attribute on the | 11 | /// This task assigns Culture metadata to files based on the value of the Culture attribute on the |
diff --git a/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs b/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs index c4a5cefe..a5f76618 100644 --- a/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs +++ b/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs | |||
@@ -3,7 +3,6 @@ | |||
3 | namespace WixToolset.BuildTasks | 3 | namespace WixToolset.BuildTasks |
4 | { | 4 | { |
5 | using System; | 5 | using System; |
6 | using System.Collections.Generic; | ||
7 | using System.Diagnostics.CodeAnalysis; | 6 | using System.Diagnostics.CodeAnalysis; |
8 | using System.Globalization; | 7 | using System.Globalization; |
9 | using System.IO; | 8 | using System.IO; |
@@ -136,7 +135,7 @@ namespace WixToolset.BuildTasks | |||
136 | // Do not overwrite the ObjectPath metadata if it already was set. | 135 | // Do not overwrite the ObjectPath metadata if it already was set. |
137 | if (string.IsNullOrEmpty(this.CompileWithObjectPath[i].GetMetadata("ObjectPath"))) | 136 | if (string.IsNullOrEmpty(this.CompileWithObjectPath[i].GetMetadata("ObjectPath"))) |
138 | { | 137 | { |
139 | SetObjectPath(this.CompileWithObjectPath[i]); | 138 | this.SetObjectPath(this.CompileWithObjectPath[i]); |
140 | } | 139 | } |
141 | } | 140 | } |
142 | 141 | ||
diff --git a/src/WixToolset.BuildTasks/GetCabList.cs b/src/WixToolset.BuildTasks/GetCabList.cs index e97538af..33fa5b37 100644 --- a/src/WixToolset.BuildTasks/GetCabList.cs +++ b/src/WixToolset.BuildTasks/GetCabList.cs | |||
@@ -3,16 +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; | ||
8 | using System.Diagnostics; | ||
9 | using System.IO; | 6 | using System.IO; |
10 | using System.Reflection; | ||
11 | using System.Xml; | ||
12 | using Microsoft.Build.Framework; | 7 | using Microsoft.Build.Framework; |
13 | using Microsoft.Build.Utilities; | 8 | using Microsoft.Build.Utilities; |
14 | using WixToolset.Dtf.WindowsInstaller; | 9 | using WixToolset.Dtf.WindowsInstaller; |
15 | using Microsoft.Win32; | ||
16 | 10 | ||
17 | /// <summary> | 11 | /// <summary> |
18 | /// 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 |
diff --git a/src/WixToolset.BuildTasks/GetLooseFileList.cs b/src/WixToolset.BuildTasks/GetLooseFileList.cs index bd403426..d1eb62c1 100644 --- a/src/WixToolset.BuildTasks/GetLooseFileList.cs +++ b/src/WixToolset.BuildTasks/GetLooseFileList.cs | |||
@@ -3,16 +3,11 @@ | |||
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.Diagnostics; | ||
9 | using System.IO; | 7 | using System.IO; |
10 | using System.Reflection; | ||
11 | using System.Xml; | ||
12 | using Microsoft.Build.Framework; | 8 | using Microsoft.Build.Framework; |
13 | using Microsoft.Build.Utilities; | 9 | using Microsoft.Build.Utilities; |
14 | using WixToolset.Dtf.WindowsInstaller; | 10 | using WixToolset.Dtf.WindowsInstaller; |
15 | using Microsoft.Win32; | ||
16 | 11 | ||
17 | /// <summary> | 12 | /// <summary> |
18 | /// This task assigns Culture metadata to files based on the value of the Culture attribute on the | 13 | /// This task assigns Culture metadata to files based on the value of the Culture attribute on the |
@@ -154,7 +149,7 @@ namespace WixToolset.BuildTasks | |||
154 | string directoryParent = (string)(directoryRecords[i + 1]); | 149 | string directoryParent = (string)(directoryRecords[i + 1]); |
155 | string defaultDir = (string)(directoryRecords[i + 2]); | 150 | string defaultDir = (string)(directoryRecords[i + 2]); |
156 | 151 | ||
157 | string sourceDir = SourceDirFromDefaultDir(defaultDir); | 152 | string sourceDir = this.SourceDirFromDefaultDir(defaultDir); |
158 | 153 | ||
159 | DirectoryIdDefaultDir[directoryId] = sourceDir; | 154 | DirectoryIdDefaultDir[directoryId] = sourceDir; |
160 | DirectoryIdParent[directoryId] = directoryParent; | 155 | DirectoryIdParent[directoryId] = directoryParent; |
@@ -206,7 +201,7 @@ namespace WixToolset.BuildTasks | |||
206 | for (i = 0; i < fileRecords.Count; i += 3) | 201 | for (i = 0; i < fileRecords.Count; i += 3) |
207 | { | 202 | { |
208 | string componentId = (string)(fileRecords[i]); | 203 | string componentId = (string)(fileRecords[i]); |
209 | string fileName = SourceFileFromFileName((string)(fileRecords[i + 1])); | 204 | string fileName = this.SourceFileFromFileName((string)(fileRecords[i + 1])); |
210 | int attributes = (int)(fileRecords[i + 2]); | 205 | int attributes = (int)(fileRecords[i + 2]); |
211 | 206 | ||
212 | // If the whole database is marked uncompressed, use the directory layout made above | 207 | // If the whole database is marked uncompressed, use the directory layout made above |
diff --git a/src/WixToolset.BuildTasks/GlobalSuppressions.cs b/src/WixToolset.BuildTasks/GlobalSuppressions.cs deleted file mode 100644 index 65c34c13..00000000 --- a/src/WixToolset.BuildTasks/GlobalSuppressions.cs +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
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 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "WixToolset")] | ||
4 | |||
5 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Msi", Scope = "namespace", Target = "WixToolset.BuildTasks")] | ||
6 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "wix")] | ||
7 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Wix")] | ||
8 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "wix")] | ||
diff --git a/src/WixToolset.BuildTasks/RefreshBundleGeneratedFile.cs b/src/WixToolset.BuildTasks/RefreshBundleGeneratedFile.cs index 80305f59..7663e6df 100644 --- a/src/WixToolset.BuildTasks/RefreshBundleGeneratedFile.cs +++ b/src/WixToolset.BuildTasks/RefreshBundleGeneratedFile.cs | |||
@@ -9,7 +9,6 @@ namespace WixToolset.BuildTasks | |||
9 | using System.Xml; | 9 | using System.Xml; |
10 | using Microsoft.Build.Framework; | 10 | using Microsoft.Build.Framework; |
11 | using Microsoft.Build.Utilities; | 11 | using Microsoft.Build.Utilities; |
12 | using WixToolset.Tools.Core; | ||
13 | 12 | ||
14 | /// <summary> | 13 | /// <summary> |
15 | /// This task refreshes the generated file for bundle projects. | 14 | /// This task refreshes the generated file for bundle projects. |
diff --git a/src/WixToolset.BuildTasks/RefreshGeneratedFile.cs b/src/WixToolset.BuildTasks/RefreshGeneratedFile.cs index 101b5363..c57e3f0f 100644 --- a/src/WixToolset.BuildTasks/RefreshGeneratedFile.cs +++ b/src/WixToolset.BuildTasks/RefreshGeneratedFile.cs | |||
@@ -9,7 +9,6 @@ namespace WixToolset.BuildTasks | |||
9 | using System.Xml; | 9 | using System.Xml; |
10 | using Microsoft.Build.Framework; | 10 | using Microsoft.Build.Framework; |
11 | using Microsoft.Build.Utilities; | 11 | using Microsoft.Build.Utilities; |
12 | using WixToolset.Tools.Core; | ||
13 | 12 | ||
14 | /// <summary> | 13 | /// <summary> |
15 | /// This task refreshes the generated file that contains ComponentGroupRefs | 14 | /// This task refreshes the generated file that contains ComponentGroupRefs |
diff --git a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj b/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj deleted file mode 100644 index eb091635..00000000 --- a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.csproj +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- 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. --> | ||
3 | |||
4 | <Project Sdk="Microsoft.NET.Sdk"> | ||
5 | <PropertyGroup> | ||
6 | <TargetFrameworks>netstandard2.0;net461;net472</TargetFrameworks> | ||
7 | <Description>Tools Core</Description> | ||
8 | <Title>WiX Toolset Tools Core</Title> | ||
9 | <DebugType>embedded</DebugType> | ||
10 | <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
11 | </PropertyGroup> | ||
12 | |||
13 | <ItemGroup> | ||
14 | <PackageReference Include="WixToolset.Core" Version="4.0.*" /> | ||
15 | </ItemGroup> | ||
16 | |||
17 | <ItemGroup> | ||
18 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> | ||
19 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> | ||
20 | </ItemGroup> | ||
21 | </Project> | ||
diff --git a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.v3.ncrunchproject b/src/WixToolset.Tools.Core/WixToolset.Tools.Core.v3.ncrunchproject deleted file mode 100644 index cf22dfa9..00000000 --- a/src/WixToolset.Tools.Core/WixToolset.Tools.Core.v3.ncrunchproject +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | <ProjectConfiguration> | ||
2 | <Settings> | ||
3 | <HiddenComponentWarnings /> | ||
4 | </Settings> | ||
5 | </ProjectConfiguration> \ No newline at end of file | ||
diff --git a/src/heat/heat.csproj b/src/heat/heat.csproj index c2dc5116..b5018b67 100644 --- a/src/heat/heat.csproj +++ b/src/heat/heat.csproj | |||
@@ -20,7 +20,7 @@ | |||
20 | </PropertyGroup> | 20 | </PropertyGroup> |
21 | 21 | ||
22 | <ItemGroup> | 22 | <ItemGroup> |
23 | <ProjectReference Include="..\WixToolset.Tools.Core\WixToolset.Tools.Core.csproj" /> | 23 | <Compile Include="..\WixToolset.Tools.Core\ConsoleMessageListener.cs" Link="ConsoleMessageListener.cs" /> |
24 | </ItemGroup> | 24 | </ItemGroup> |
25 | 25 | ||
26 | <ItemGroup> | 26 | <ItemGroup> |
diff --git a/src/wix/wix.csproj b/src/wix/wix.csproj index f1b85752..2b053196 100644 --- a/src/wix/wix.csproj +++ b/src/wix/wix.csproj | |||
@@ -20,7 +20,7 @@ | |||
20 | </PropertyGroup> | 20 | </PropertyGroup> |
21 | 21 | ||
22 | <ItemGroup> | 22 | <ItemGroup> |
23 | <ProjectReference Include="..\WixToolset.Tools.Core\WixToolset.Tools.Core.csproj" /> | 23 | <Compile Include="..\WixToolset.Tools.Core\ConsoleMessageListener.cs" Link="ConsoleMessageListener.cs" /> |
24 | </ItemGroup> | 24 | </ItemGroup> |
25 | 25 | ||
26 | <ItemGroup> | 26 | <ItemGroup> |
diff --git a/src/wixcop/WixCop.csproj b/src/wixcop/WixCop.csproj index ac5af52e..c7c04f55 100644 --- a/src/wixcop/WixCop.csproj +++ b/src/wixcop/WixCop.csproj | |||
@@ -20,7 +20,7 @@ | |||
20 | </PropertyGroup> | 20 | </PropertyGroup> |
21 | 21 | ||
22 | <ItemGroup> | 22 | <ItemGroup> |
23 | <ProjectReference Include="..\WixToolset.Tools.Core\WixToolset.Tools.Core.csproj" /> | 23 | <Compile Include="..\WixToolset.Tools.Core\ConsoleMessageListener.cs" Link="ConsoleMessageListener.cs" /> |
24 | </ItemGroup> | 24 | </ItemGroup> |
25 | 25 | ||
26 | <ItemGroup> | 26 | <ItemGroup> |