diff options
Diffstat (limited to 'src/wixext')
-rw-r--r-- | src/wixext/UtilCompiler.cs | 3 | ||||
-rw-r--r-- | src/wixext/UtilExtensionData.cs | 2 | ||||
-rw-r--r-- | src/wixext/WixToolset.Util.wixext.csproj | 8 | ||||
-rw-r--r-- | src/wixext/WixToolset.Util.wixext.targets | 5 |
4 files changed, 12 insertions, 6 deletions
diff --git a/src/wixext/UtilCompiler.cs b/src/wixext/UtilCompiler.cs index da48e412..59b36d1c 100644 --- a/src/wixext/UtilCompiler.cs +++ b/src/wixext/UtilCompiler.cs | |||
@@ -2676,8 +2676,7 @@ namespace WixToolset.Util | |||
2676 | attributes |= WixProductSearchAttributes.UpgradeCode; | 2676 | attributes |= WixProductSearchAttributes.UpgradeCode; |
2677 | } | 2677 | } |
2678 | 2678 | ||
2679 | var row = this.ParseHelper.CreateRow(section, sourceLineNumbers, "WixProductSearch"); | 2679 | var row = this.ParseHelper.CreateRow(section, sourceLineNumbers, "WixProductSearch", id); |
2680 | row.Set(0, id); | ||
2681 | row.Set(1, productCode ?? upgradeCode); | 2680 | row.Set(1, productCode ?? upgradeCode); |
2682 | row.Set(2, (int)attributes); | 2681 | row.Set(2, (int)attributes); |
2683 | } | 2682 | } |
diff --git a/src/wixext/UtilExtensionData.cs b/src/wixext/UtilExtensionData.cs index 7eefc238..55c9b046 100644 --- a/src/wixext/UtilExtensionData.cs +++ b/src/wixext/UtilExtensionData.cs | |||
@@ -7,6 +7,8 @@ namespace WixToolset.Util | |||
7 | 7 | ||
8 | public sealed class UtilExtensionData : BaseExtensionData | 8 | public sealed class UtilExtensionData : BaseExtensionData |
9 | { | 9 | { |
10 | public override string DefaultCulture => "en-US"; | ||
11 | |||
10 | public override bool TryGetTupleDefinitionByName(string name, out IntermediateTupleDefinition tupleDefinition) | 12 | public override bool TryGetTupleDefinitionByName(string name, out IntermediateTupleDefinition tupleDefinition) |
11 | { | 13 | { |
12 | tupleDefinition = UtilTupleDefinitions.ByName(name); | 14 | tupleDefinition = UtilTupleDefinitions.ByName(name); |
diff --git a/src/wixext/WixToolset.Util.wixext.csproj b/src/wixext/WixToolset.Util.wixext.csproj index a06298a3..23fa2cd0 100644 --- a/src/wixext/WixToolset.Util.wixext.csproj +++ b/src/wixext/WixToolset.Util.wixext.csproj | |||
@@ -19,9 +19,11 @@ | |||
19 | </ItemGroup> | 19 | </ItemGroup> |
20 | 20 | ||
21 | <ItemGroup> | 21 | <ItemGroup> |
22 | <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj') " /> | 22 | <ProjectReference Include="$(WixToolsetRootFolder)\Data\src\WixToolset.Data\WixToolset.Data.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Data\README.md') " /> |
23 | <ProjectReference Include="$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj') " /> | 23 | <PackageReference Include="WixToolset.Data" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Data\README.md') " PrivateAssets="all" /> |
24 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj') " PrivateAssets="all" /> | 24 | |
25 | <ProjectReference Include="$(WixToolsetRootFolder)\Extensibility\src\WixToolset.Extensibility\WixToolset.Extensibility.csproj" Condition=" '$(Configuration)' == 'Debug' And Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " /> | ||
26 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" Condition=" '$(Configuration)' == 'Release' Or !Exists('$(WixToolsetRootFolder)\Extensibility\README.md') " PrivateAssets="all" /> | ||
25 | </ItemGroup> | 27 | </ItemGroup> |
26 | 28 | ||
27 | <ItemGroup> | 29 | <ItemGroup> |
diff --git a/src/wixext/WixToolset.Util.wixext.targets b/src/wixext/WixToolset.Util.wixext.targets index 3b43c25c..e298b06e 100644 --- a/src/wixext/WixToolset.Util.wixext.targets +++ b/src/wixext/WixToolset.Util.wixext.targets | |||
@@ -2,7 +2,10 @@ | |||
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. --> | 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 | 3 | ||
4 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | 4 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> |
5 | <PropertyGroup> | ||
6 | <WixToolsetUtilWixextPath Condition=" '$(WixToolsetUtilWixextPath)' == '' ">$(MSBuildThisFileDirectory)..\tools\WixToolset.Util.wixext.dll"</WixToolsetUtilWixextPath> | ||
7 | </PropertyGroup> | ||
5 | <ItemGroup> | 8 | <ItemGroup> |
6 | <WixExtension Include="$(MSBuildThisFileDirectory)..\tools\WixToolset.Util.wixext.dll" /> | 9 | <WixExtension Include="$(WixToolsetUtilWixextPath)" /> |
7 | </ItemGroup> | 10 | </ItemGroup> |
8 | </Project> | 11 | </Project> |