diff options
Diffstat (limited to 'src/ext/Util')
-rw-r--r-- | src/ext/Util/README.md | 4 | ||||
-rw-r--r-- | src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs | 7 | ||||
-rw-r--r-- | src/ext/Util/util_t.proj | 6 | ||||
-rw-r--r-- | src/ext/Util/wixext/UtilDecompiler.cs | 2 |
4 files changed, 13 insertions, 6 deletions
diff --git a/src/ext/Util/README.md b/src/ext/Util/README.md index 11d7a363..2bbf17ce 100644 --- a/src/ext/Util/README.md +++ b/src/ext/Util/README.md | |||
@@ -17,9 +17,9 @@ To pay the Maintenance Fee, [become a Sponsor](https://github.com/sponsors/wixto | |||
17 | Add the WiX Extension as a PackageReference to your .wixproj: | 17 | Add the WiX Extension as a PackageReference to your .wixproj: |
18 | 18 | ||
19 | ``` | 19 | ``` |
20 | <Project Sdk="WixToolset.Sdk/6.0.0"> | 20 | <Project Sdk="WixToolset.Sdk/7.0.0"> |
21 | <ItemGroup> | 21 | <ItemGroup> |
22 | <PackageReference Include="WixToolset.Util.wixext" Version="6.0.0" /> | 22 | <PackageReference Include="WixToolset.Util.wixext" Version="7.0.0" /> |
23 | </ItemGroup> | 23 | </ItemGroup> |
24 | </Project> | 24 | </Project> |
25 | ``` | 25 | ``` |
diff --git a/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs b/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs index 03d87e4e..bb00717f 100644 --- a/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs +++ b/src/ext/Util/test/WixToolsetTest.Util/UtilExtensionFixture.cs | |||
@@ -1,15 +1,18 @@ | |||
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 | using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
4 | |||
5 | [assembly: Parallelize(Scope = ExecutionScope.MethodLevel)] | ||
6 | |||
3 | namespace WixToolsetTest.Util | 7 | namespace WixToolsetTest.Util |
4 | { | 8 | { |
5 | using System; | ||
6 | using System.IO; | 9 | using System.IO; |
7 | using System.Linq; | 10 | using System.Linq; |
8 | using System.Xml; | 11 | using System.Xml; |
9 | using System.Xml.Linq; | 12 | using System.Xml.Linq; |
10 | using Microsoft.VisualStudio.TestTools.UnitTesting; | 13 | using Microsoft.VisualStudio.TestTools.UnitTesting; |
11 | using WixInternal.MSTestSupport; | ||
12 | using WixInternal.Core.MSTestPackage; | 14 | using WixInternal.Core.MSTestPackage; |
15 | using WixInternal.MSTestSupport; | ||
13 | using WixToolset.Util; | 16 | using WixToolset.Util; |
14 | 17 | ||
15 | [TestClass] | 18 | [TestClass] |
diff --git a/src/ext/Util/util_t.proj b/src/ext/Util/util_t.proj index 6ec63476..02be4b49 100644 --- a/src/ext/Util/util_t.proj +++ b/src/ext/Util/util_t.proj | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | <Project Sdk="Microsoft.Build.Traversal"> | 4 | <Project Sdk="Microsoft.Build.Traversal"> |
5 | <ItemGroup> | 5 | <ItemGroup> |
6 | <ProjectReference Include="test\WixToolsetTest.Util\WixToolsetTest.Util.csproj" Targets="Test" /> | 6 | <ProjectReference Include="test\WixToolsetTest.Util\WixToolsetTest.Util.csproj" /> |
7 | <ProjectReference Include="wixext\WixToolset.Util.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> | 7 | <ProjectReference Include="wixext\WixToolset.Util.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> |
8 | </ItemGroup> | 8 | </ItemGroup> |
9 | 9 | ||
@@ -14,4 +14,8 @@ | |||
14 | 14 | ||
15 | <Delete Files="$(ArtifactsFolder)WixToolset.Util.wixext.*.nupkg" /> | 15 | <Delete Files="$(ArtifactsFolder)WixToolset.Util.wixext.*.nupkg" /> |
16 | </Target> | 16 | </Target> |
17 | |||
18 | <Target Name="WixTest"> | ||
19 | <MSBuild Projects="test\WixToolsetTest.Util\WixToolsetTest.Util.csproj" Targets="Test" /> | ||
20 | </Target> | ||
17 | </Project> | 21 | </Project> |
diff --git a/src/ext/Util/wixext/UtilDecompiler.cs b/src/ext/Util/wixext/UtilDecompiler.cs index cde64f8f..fb6d02e5 100644 --- a/src/ext/Util/wixext/UtilDecompiler.cs +++ b/src/ext/Util/wixext/UtilDecompiler.cs | |||
@@ -538,7 +538,7 @@ namespace WixToolset.Util | |||
538 | new XAttribute("Name", Path.GetFileNameWithoutExtension(row.FieldAsString(3))), // remove .lnk/.url extension because compiler extension adds it back for us | 538 | new XAttribute("Name", Path.GetFileNameWithoutExtension(row.FieldAsString(3))), // remove .lnk/.url extension because compiler extension adds it back for us |
539 | new XAttribute("Type", type), | 539 | new XAttribute("Type", type), |
540 | new XAttribute("Target", row.FieldAsString(4)), | 540 | new XAttribute("Target", row.FieldAsString(4)), |
541 | new XAttribute("IconFile", row.FieldAsString(6)), | 541 | AttributeIfNotNull("IconFile", row, 6), |
542 | NumericAttributeIfNotNull("IconIndex", row, 7) | 542 | NumericAttributeIfNotNull("IconIndex", row, 7) |
543 | ); | 543 | ); |
544 | 544 | ||