Skip to content

Commit

Permalink
Merge matherm-aboehm/4493-fix-itemtypes to close #16
Browse files Browse the repository at this point in the history
  • Loading branch information
robmen committed Dec 26, 2021
2 parents 1e1b540 + 9574705 commit 36aaa15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/votive.shared/WixProjectFileConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ internal static class WixProjectFileConstants
public const string AllowUnresolvedReferences = "AllowUnresolvedReferences";
public const string BackwardsCompatibleGuidGeneration = "BackwardsCompatibleGuidGeneration";
public const string BaseInputPaths = "BaseInputPaths";
public const string BindInputPaths = "BindInputPaths";
public const string CabinetCachePath = "CabinetCachePath";
public const string CabinetCreationThreadCount = "CabinetCreationThreadCount";
public const string CompilerAdditionalOptions = "CompilerAdditionalOptions";
Expand All @@ -39,6 +40,7 @@ internal static class WixProjectFileConstants
public const string LibVerboseOutput = "LibVerboseOutput";
public const string LinkerAdditionalOptions = "LinkerAdditionalOptions";
public const string LinkerBaseInputPaths = "LinkerBaseInputPaths";
public const string LinkerBindInputPaths = "LinkerBindInputPaths";
public const string LinkerBindFiles = "LinkerBindFiles";
public const string LinkerPedantic = "LinkerPedantic";
public const string LinkerSuppressIntermediateFileVersionMatching = "LinkerSuppressIntermediateFileVersionMatching";
Expand Down
4 changes: 4 additions & 0 deletions src/votive.shared/WixProjectNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,10 @@ protected override bool FilterItemTypeToBeAddedToHierarchy(string itemType)
{
return (String.Compare(itemType, WixProjectFileConstants.WixExtension, StringComparison.OrdinalIgnoreCase) == 0) ||
(String.Compare(itemType, WixProjectFileConstants.WixLibrary, StringComparison.OrdinalIgnoreCase) == 0) ||
(String.Compare(itemType, WixProjectFileConstants.BaseInputPaths, StringComparison.OrdinalIgnoreCase) == 0) ||
(String.Compare(itemType, WixProjectFileConstants.BindInputPaths, StringComparison.OrdinalIgnoreCase) == 0) ||
(String.Compare(itemType, WixProjectFileConstants.LinkerBaseInputPaths, StringComparison.OrdinalIgnoreCase) == 0) ||
(String.Compare(itemType, WixProjectFileConstants.LinkerBindInputPaths, StringComparison.OrdinalIgnoreCase) == 0) ||
base.FilterItemTypeToBeAddedToHierarchy(itemType);
}

Expand Down

0 comments on commit 36aaa15

Please sign in to comment.