diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-07 23:05:49 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-07 23:08:59 -0700 |
| commit | 79cc786be11fb288374222287c549b910e4ce65d (patch) | |
| tree | 97065ad0956bd414cbd2dd34022d29b0c7b79e0e /src/wixext | |
| parent | 8203897431e76a2a9162bd2e5e019cc8628fc200 (diff) | |
| download | wix-79cc786be11fb288374222287c549b910e4ce65d.tar.gz wix-79cc786be11fb288374222287c549b910e4ce65d.tar.bz2 wix-79cc786be11fb288374222287c549b910e4ce65d.zip | |
Update dependencies
Diffstat (limited to 'src/wixext')
| -rw-r--r-- | src/wixext/PSCompiler.cs | 2 | ||||
| -rw-r--r-- | src/wixext/WixToolset.PowerShell.wixext.csproj | 2 |
2 files changed, 3 insertions, 1 deletions
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 | |||
| 175 | // for use in Formats and Types files. PowerShell v2 still uses 1. | 175 | // for use in Formats and Types files. PowerShell v2 still uses 1. |
| 176 | var major = (2 == requiredPowerShellVersion.Major) ? 1 : requiredPowerShellVersion.Major; | 176 | var major = (2 == requiredPowerShellVersion.Major) ? 1 : requiredPowerShellVersion.Major; |
| 177 | 177 | ||
| 178 | var variableId = new Identifier(AccessModifier.Public, String.Format(CultureInfo.InvariantCulture, "{0}_{1}", VarPrefix, id)); | 178 | var variableId = new Identifier(AccessModifier.Global, String.Format(CultureInfo.InvariantCulture, "{0}_{1}", VarPrefix, id)); |
| 179 | section.AddSymbol(new WixVariableSymbol(sourceLineNumbers, variableId) | 179 | section.AddSymbol(new WixVariableSymbol(sourceLineNumbers, variableId) |
| 180 | { | 180 | { |
| 181 | Value = major.ToString(CultureInfo.InvariantCulture), | 181 | 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 @@ | |||
| 10 | <IsTool>true</IsTool> | 10 | <IsTool>true</IsTool> |
| 11 | <ContentTargetFolders>build</ContentTargetFolders> | 11 | <ContentTargetFolders>build</ContentTargetFolders> |
| 12 | </PropertyGroup> | 12 | </PropertyGroup> |
| 13 | |||
| 13 | <ItemGroup> | 14 | <ItemGroup> |
| 14 | <Content Include="$(MSBuildThisFileName).targets" /> | 15 | <Content Include="$(MSBuildThisFileName).targets" /> |
| 15 | <EmbeddedResource Include="$(OutputPath)..\powershell.wixlib" /> | 16 | <EmbeddedResource Include="$(OutputPath)..\powershell.wixlib" /> |
| 16 | </ItemGroup> | 17 | </ItemGroup> |
| 18 | |||
| 17 | <ItemGroup> | 19 | <ItemGroup> |
| 18 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" PrivateAssets="all" /> | 20 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" PrivateAssets="all" /> |
| 19 | </ItemGroup> | 21 | </ItemGroup> |
