From 79cc786be11fb288374222287c549b910e4ce65d Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 7 Apr 2021 23:05:49 -0700 Subject: Update dependencies --- src/wixext/PSCompiler.cs | 2 +- src/wixext/WixToolset.PowerShell.wixext.csproj | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/wixext') diff --git a/src/wixext/PSCompiler.cs b/src/wixext/PSCompiler.cs index 3b09897a..37591282 100644 --- a/src/wixext/PSCompiler.cs +++ b/src/wixext/PSCompiler.cs @@ -175,7 +175,7 @@ namespace WixToolset.PowerShell // for use in Formats and Types files. PowerShell v2 still uses 1. var major = (2 == requiredPowerShellVersion.Major) ? 1 : requiredPowerShellVersion.Major; - var variableId = new Identifier(AccessModifier.Public, String.Format(CultureInfo.InvariantCulture, "{0}_{1}", VarPrefix, id)); + var variableId = new Identifier(AccessModifier.Global, String.Format(CultureInfo.InvariantCulture, "{0}_{1}", VarPrefix, id)); section.AddSymbol(new WixVariableSymbol(sourceLineNumbers, variableId) { Value = major.ToString(CultureInfo.InvariantCulture), diff --git a/src/wixext/WixToolset.PowerShell.wixext.csproj b/src/wixext/WixToolset.PowerShell.wixext.csproj index 32bd9bac..a89a574c 100644 --- a/src/wixext/WixToolset.PowerShell.wixext.csproj +++ b/src/wixext/WixToolset.PowerShell.wixext.csproj @@ -10,10 +10,12 @@ true build + + -- cgit v1.2.3-55-g6feb