From 75fd55d5a71c492c6ea904768858c51aa97da29f Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 8 May 2019 14:13:31 -0700 Subject: Use new strongly typed tuples --- src/WixToolset.Core.WindowsInstaller/Bind/PathResolver.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/PathResolver.cs') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/PathResolver.cs b/src/WixToolset.Core.WindowsInstaller/Bind/PathResolver.cs index 492c9137..6dc18271 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/PathResolver.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/PathResolver.cs @@ -1,4 +1,4 @@ -// 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. +// 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. namespace WixToolset.Core.WindowsInstaller.Bind { @@ -6,6 +6,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind using System.Collections.Generic; using System.IO; using WixToolset.Data; + using WixToolset.Data.WindowsInstaller; internal static class PathResolver { @@ -28,7 +29,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind { if (null != componentIdGenSeeds && componentIdGenSeeds.ContainsKey(directory)) { - resolvedDirectory.Path = (string)componentIdGenSeeds[directory]; + resolvedDirectory.Path = componentIdGenSeeds[directory]; } else if (canonicalize && WindowsInstallerStandard.IsStandardDirectory(directory)) { -- cgit v1.2.3-55-g6feb