diff options
Diffstat (limited to 'src/ext/PowerShell')
6 files changed, 26 insertions, 68 deletions
diff --git a/src/ext/PowerShell/PowerShell.wixext.sln b/src/ext/PowerShell/PowerShell.wixext.sln deleted file mode 100644 index e1e6a7d8..00000000 --- a/src/ext/PowerShell/PowerShell.wixext.sln +++ /dev/null | |||
| @@ -1,63 +0,0 @@ | |||
| 1 | | ||
| 2 | Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| 3 | # Visual Studio Version 16 | ||
| 4 | VisualStudioVersion = 16.0.30611.23 | ||
| 5 | MinimumVisualStudioVersion = 15.0.26124.0 | ||
| 6 | Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "powershell", "wixlib\powershell.wixproj", "{9D4CCDFC-840C-4D4E-A9B0-3D6015480645}" | ||
| 7 | EndProject | ||
| 8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.PowerShell.wixext", "wixext\WixToolset.PowerShell.wixext.csproj", "{6F1482DF-1598-4D88-BDAA-B9D0E0242139}" | ||
| 9 | EndProject | ||
| 10 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.PowerShell", "test\WixToolsetTest.PowerShell\WixToolsetTest.PowerShell.csproj", "{BFD10109-F4F3-4530-BE3B-802342D411F7}" | ||
| 11 | EndProject | ||
| 12 | Global | ||
| 13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| 14 | Debug|Any CPU = Debug|Any CPU | ||
| 15 | Debug|x64 = Debug|x64 | ||
| 16 | Debug|x86 = Debug|x86 | ||
| 17 | Release|Any CPU = Release|Any CPU | ||
| 18 | Release|x64 = Release|x64 | ||
| 19 | Release|x86 = Release|x86 | ||
| 20 | EndGlobalSection | ||
| 21 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| 22 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|Any CPU.ActiveCfg = Debug|x86 | ||
| 23 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|Any CPU.Build.0 = Debug|x86 | ||
| 24 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|x64.ActiveCfg = Debug|x86 | ||
| 25 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|x86.ActiveCfg = Debug|x86 | ||
| 26 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|x86.Build.0 = Debug|x86 | ||
| 27 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|Any CPU.ActiveCfg = Release|x86 | ||
| 28 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|Any CPU.Build.0 = Release|x86 | ||
| 29 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|x64.ActiveCfg = Release|x86 | ||
| 30 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|x86.ActiveCfg = Release|x86 | ||
| 31 | {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|x86.Build.0 = Release|x86 | ||
| 32 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| 33 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| 34 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
| 35 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x64.Build.0 = Debug|Any CPU | ||
| 36 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
| 37 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x86.Build.0 = Debug|Any CPU | ||
| 38 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| 39 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| 40 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x64.ActiveCfg = Release|Any CPU | ||
| 41 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x64.Build.0 = Release|Any CPU | ||
| 42 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x86.ActiveCfg = Release|Any CPU | ||
| 43 | {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x86.Build.0 = Release|Any CPU | ||
| 44 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| 45 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| 46 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
| 47 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x64.Build.0 = Debug|Any CPU | ||
| 48 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
| 49 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x86.Build.0 = Debug|Any CPU | ||
| 50 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| 51 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| 52 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x64.ActiveCfg = Release|Any CPU | ||
| 53 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x64.Build.0 = Release|Any CPU | ||
| 54 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x86.ActiveCfg = Release|Any CPU | ||
| 55 | {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x86.Build.0 = Release|Any CPU | ||
| 56 | EndGlobalSection | ||
| 57 | GlobalSection(SolutionProperties) = preSolution | ||
| 58 | HideSolutionNode = FALSE | ||
| 59 | EndGlobalSection | ||
| 60 | GlobalSection(ExtensibilityGlobals) = postSolution | ||
| 61 | SolutionGuid = {60A3EA0F-9313-47F8-BF6B-74478A57B577} | ||
| 62 | EndGlobalSection | ||
| 63 | EndGlobal | ||
diff --git a/src/ext/PowerShell/PowerShell.wixext.slnx b/src/ext/PowerShell/PowerShell.wixext.slnx new file mode 100644 index 00000000..76dd22df --- /dev/null +++ b/src/ext/PowerShell/PowerShell.wixext.slnx | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | <Solution> | ||
| 2 | <Configurations> | ||
| 3 | <Platform Name="Any CPU" /> | ||
| 4 | <Platform Name="x64" /> | ||
| 5 | <Platform Name="x86" /> | ||
| 6 | </Configurations> | ||
| 7 | <Project Path="test/WixToolsetTest.PowerShell/WixToolsetTest.PowerShell.csproj" /> | ||
| 8 | <Project Path="wixext/WixToolset.PowerShell.wixext.csproj" /> | ||
| 9 | <Project Path="wixlib/powershell.wixproj"> | ||
| 10 | <Platform Project="x86" /> | ||
| 11 | <Build Solution="*|Any CPU" /> | ||
| 12 | <Build Solution="*|x86" /> | ||
| 13 | </Project> | ||
| 14 | </Solution> | ||
diff --git a/src/ext/PowerShell/README.md b/src/ext/PowerShell/README.md index 7ee2f5e2..9cea557f 100644 --- a/src/ext/PowerShell/README.md +++ b/src/ext/PowerShell/README.md | |||
| @@ -17,9 +17,9 @@ To pay the Maintenance Fee, [become a Sponsor](https://github.com/sponsors/wixto | |||
| 17 | Add the WiX Extension as a PackageReference to your .wixproj: | 17 | Add the WiX Extension as a PackageReference to your .wixproj: |
| 18 | 18 | ||
| 19 | ``` | 19 | ``` |
| 20 | <Project Sdk="WixToolset.Sdk/6.0.0"> | 20 | <Project Sdk="WixToolset.Sdk/7.0.0"> |
| 21 | <ItemGroup> | 21 | <ItemGroup> |
| 22 | <PackageReference Include="WixToolset.PowerShell.wixext" Version="6.0.0" /> | 22 | <PackageReference Include="WixToolset.PowerShell.wixext" Version="7.0.0" /> |
| 23 | </ItemGroup> | 23 | </ItemGroup> |
| 24 | </Project> | 24 | </Project> |
| 25 | ``` | 25 | ``` |
diff --git a/src/ext/PowerShell/powershell_t.proj b/src/ext/PowerShell/powershell_t.proj index a1d88013..8c12bdef 100644 --- a/src/ext/PowerShell/powershell_t.proj +++ b/src/ext/PowerShell/powershell_t.proj | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | <Project Sdk="Microsoft.Build.Traversal"> | 4 | <Project Sdk="Microsoft.Build.Traversal"> |
| 5 | <ItemGroup> | 5 | <ItemGroup> |
| 6 | <ProjectReference Include="test\WixToolsetTest.PowerShell\WixToolsetTest.Powershell.csproj" Targets="Test" /> | 6 | <ProjectReference Include="test\WixToolsetTest.PowerShell\WixToolsetTest.Powershell.csproj" /> |
| 7 | <ProjectReference Include="wixext\WixToolset.PowerShell.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> | 7 | <ProjectReference Include="wixext\WixToolset.PowerShell.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> |
| 8 | </ItemGroup> | 8 | </ItemGroup> |
| 9 | 9 | ||
| @@ -14,4 +14,8 @@ | |||
| 14 | 14 | ||
| 15 | <Delete Files="$(ArtifactsFolder)WixToolset.PowerShell.wixext.*.nupkg" /> | 15 | <Delete Files="$(ArtifactsFolder)WixToolset.PowerShell.wixext.*.nupkg" /> |
| 16 | </Target> | 16 | </Target> |
| 17 | |||
| 18 | <Target Name="WixTest"> | ||
| 19 | <MSBuild Projects="test\WixToolsetTest.PowerShell\WixToolsetTest.Powershell.csproj" Targets="Test" /> | ||
| 20 | </Target> | ||
| 17 | </Project> | 21 | </Project> |
diff --git a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs index a1dc3282..31090bf6 100644 --- a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs +++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | // 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. | 1 | // 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 | 2 | ||
| 3 | using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
| 4 | |||
| 5 | [assembly: Parallelize(Scope = ExecutionScope.MethodLevel)] | ||
| 6 | |||
| 3 | namespace WixToolsetTest.PowerShell | 7 | namespace WixToolsetTest.PowerShell |
| 4 | { | 8 | { |
| 5 | using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
| 6 | using WixInternal.MSTestSupport; | 9 | using WixInternal.MSTestSupport; |
| 7 | using WixInternal.Core.MSTestPackage; | 10 | using WixInternal.Core.MSTestPackage; |
| 8 | using WixToolset.PowerShell; | 11 | using WixToolset.PowerShell; |
diff --git a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj index cff13cb7..9f46f94e 100644 --- a/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj +++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | <Project Sdk="MSTest.Sdk"> | 4 | <Project Sdk="MSTest.Sdk"> |
| 5 | <PropertyGroup> | 5 | <PropertyGroup> |
| 6 | <TargetFramework>net6.0</TargetFramework> | 6 | <TargetFramework>net8.0</TargetFramework> |
| 7 | <IsWixMSTestProject>true</IsWixMSTestProject> | 7 | <IsWixMSTestProject>true</IsWixMSTestProject> |
| 8 | </PropertyGroup> | 8 | </PropertyGroup> |
| 9 | 9 | ||
