Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/PowerShell/PowerShell.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-10-25 20:34:32 +0300
committerGitHub <noreply@github.com>2022-10-25 20:34:32 +0300
commita5739b17393d2976a6a89481ed3ab7f6b4c19603 (patch)
treed12148e5018b071892e28cddfb39cf24be1a61bf
parent081b014e8b9030632b3ad9ad54b270f1b76be9b5 (diff)
[release/v7.3.0-rc.1] Revert "Replace win7 runtime with win8 and remove APISets (#18304)" (#18376)
-rw-r--r--.vsts-ci/windows/templates/windows-packaging.yml2
-rw-r--r--build.psm122
-rw-r--r--src/ResGen/ResGen.csproj2
-rw-r--r--src/TypeCatalogGen/TypeCatalogGen.csproj2
-rw-r--r--src/powershell-win-core/powershell-win-core.csproj2
-rw-r--r--test/hosting/hosting.tests.csproj1
-rw-r--r--test/packaging/windows/exe.tests.ps110
-rw-r--r--test/packaging/windows/msi.tests.ps110
-rw-r--r--test/powershell/engine/ExperimentalFeature/Get-ExperimentalFeature.Tests.ps14
-rw-r--r--test/tools/OpenCover/OpenCover.psm14
-rw-r--r--test/tools/TestExe/TestExe.csproj2
-rw-r--r--test/tools/TestService/TestService.csproj2
-rw-r--r--test/xUnit/xUnit.tests.csproj2
-rw-r--r--tools/ci.psm12
-rw-r--r--tools/findMissingNotices.ps110
-rw-r--r--tools/packaging/packaging.psm18
-rw-r--r--tools/releaseBuild/Images/microsoft_powershell_windowsservercore/PowerShellPackage.ps14
-rw-r--r--tools/releaseBuild/azureDevOps/templates/testartifacts.yml8
-rw-r--r--tools/releaseBuild/azureDevOps/templates/windows-hosted-build.yml4
-rw-r--r--tools/releaseBuild/azureDevOps/templates/windows-packaging.yml4
20 files changed, 53 insertions, 52 deletions
diff --git a/.vsts-ci/windows/templates/windows-packaging.yml b/.vsts-ci/windows/templates/windows-packaging.yml
index 011a742429..832fe73af5 100644
--- a/.vsts-ci/windows/templates/windows-packaging.yml
+++ b/.vsts-ci/windows/templates/windows-packaging.yml
@@ -4,7 +4,7 @@ parameters:
- name: jobName
default: 'win_packaging'
- name: runtimePrefix
- default: 'win81'
+ default: 'win7'
- name: architecture
default: 'x64'
- name: channel
diff --git a/build.psm1 b/build.psm1
index f293bedcb0..863dc0d2db 100644
--- a/build.psm1
+++ b/build.psm1
@@ -270,7 +270,7 @@ function Test-IsReleaseCandidate
return $false
}
-$optimizedFddRegex = 'fxdependent-(linux|alpine|win|win81|osx)-(x64|x86|arm64|arm)'
+$optimizedFddRegex = 'fxdependent-(linux|alpine|win|win7|osx)-(x64|x86|arm64|arm)'
function Start-PSBuild {
[CmdletBinding(DefaultParameterSetName="Default")]
@@ -315,8 +315,8 @@ function Start-PSBuild {
"osx-x64",
"win-arm",
"win-arm64",
- "win81-x64",
- "win81-x86")]
+ "win7-x64",
+ "win7-x86")]
[string]$Runtime,
[ValidateSet('Debug', 'Release', 'CodeCoverage', 'StaticAnalysis', '')] # We might need "Checked" as well
@@ -349,8 +349,8 @@ function Start-PSBuild {
}
if ($ForMinimalSize) {
- if ($Runtime -and "linux-x64", "win81-x64", "osx-x64" -notcontains $Runtime) {
- throw "Build for the minimal size is enabled only for following runtimes: 'linux-x64', 'win81-x64', 'osx-x64'"
+ if ($Runtime -and "linux-x64", "win7-x64", "osx-x64" -notcontains $Runtime) {
+ throw "Build for the minimal size is enabled only for following runtimes: 'linux-x64', 'win7-x64', 'osx-x64'"
}
}
@@ -528,7 +528,7 @@ Fix steps:
if ($Options.Runtime -notlike 'fxdependent*' -or $Options.Runtime -match $optimizedFddRegex) {
Write-Verbose "Building without shim" -Verbose
$sdkToUse = 'Microsoft.NET.Sdk'
- if ($Options.Runtime -like 'win81-*' -and !$ForMinimalSize) {
+ if ($Options.Runtime -like 'win7-*' -and !$ForMinimalSize) {
## WPF/WinForm and the PowerShell GraphicalHost assemblies are included
## when 'Microsoft.NET.Sdk.WindowsDesktop' is used.
$sdkToUse = 'Microsoft.NET.Sdk.WindowsDesktop'
@@ -721,7 +721,7 @@ function Restore-PSPackage
}
else {
$sdkToUse = 'Microsoft.NET.Sdk'
- if ($Options.Runtime -like 'win81-*' -and !$Options.ForMinimalSize) {
+ if ($Options.Runtime -like 'win7-*' -and !$Options.ForMinimalSize) {
$sdkToUse = 'Microsoft.NET.Sdk.WindowsDesktop'
}
}
@@ -836,8 +836,8 @@ function New-PSOptions {
"osx-x64",
"win-arm",
"win-arm64",
- "win81-x64",
- "win81-x86")]
+ "win7-x64",
+ "win7-x86")]
[string]$Runtime,
# Accept a path to the output directory
@@ -871,9 +871,9 @@ function New-PSOptions {
switch ($Platform) {
'Windows' {
- # For x86 and x64 architectures, we use win81-x64 and win81-x86 RIDs.
+ # For x86 and x64 architectures, we use win7-x64 and win7-x86 RIDs.
# For arm and arm64 architectures, we use win-arm and win-arm64 RIDs.
- $Platform = if ($Architecture[0] -eq 'x') { 'win81' } else { 'win' }
+ $Platform = if ($Architecture[0] -eq 'x') { 'win7' } else { 'win' }
$Runtime = "${Platform}-${Architecture}"
}
diff --git a/src/ResGen/ResGen.csproj b/src/ResGen/ResGen.csproj
index 84bde77f29..f86d5328ba 100644
--- a/src/ResGen/ResGen.csproj
+++ b/src/ResGen/ResGen.csproj
@@ -7,7 +7,7 @@
<OutputType>Exe</OutputType>
<TieredCompilation>true</TieredCompilation>
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
- <RuntimeIdentifiers>win81-x86;win81-x64;osx-x64;linux-x64</RuntimeIdentifiers>
+ <RuntimeIdentifiers>win7-x86;win7-x64;osx-x64;linux-x64</RuntimeIdentifiers>
</PropertyGroup>
</Project>
diff --git a/src/TypeCatalogGen/TypeCatalogGen.csproj b/src/TypeCatalogGen/TypeCatalogGen.csproj
index 1258bd28ac..170819a6bf 100644
--- a/src/TypeCatalogGen/TypeCatalogGen.csproj
+++ b/src/TypeCatalogGen/TypeCatalogGen.csproj
@@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<TieredCompilation>true</TieredCompilation>
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
- <RuntimeIdentifiers>win81-x86;win81-x64;osx-x64;linux-x64</RuntimeIdentifiers>
+ <RuntimeIdentifiers>win7-x86;win7-x64;osx-x64;linux-x64</RuntimeIdentifiers>
</PropertyGroup>
</Project>
diff --git a/src/powershell-win-core/powershell-win-core.csproj b/src/powershell-win-core/powershell-win-core.csproj
index e44a8a2f42..9879e8485b 100644
--- a/src/powershell-win-core/powershell-win-core.csproj
+++ b/src/powershell-win-core/powershell-win-core.csproj
@@ -8,7 +8,7 @@
<TieredCompilation>true</TieredCompilation>
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
<TieredCompilationQuickJitForLoops>true</TieredCompilationQuickJitForLoops>
- <RuntimeIdentifiers>win81-x86;win81-x64</RuntimeIdentifiers>
+ <RuntimeIdentifiers>win7-x86;win7-x64</RuntimeIdentifiers>
<RootNamespace>Microsoft.PowerShell</RootNamespace>
<ApplicationManifest>..\..\assets\pwsh.manifest</ApplicationManifest>
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
diff --git a/test/hosting/hosting.tests.csproj b/test/hosting/hosting.tests.csproj
index cb72e0a90e..3a73e13931 100644
--- a/test/hosting/hosting.tests.csproj
+++ b/test/hosting/hosting.tests.csproj
@@ -5,6 +5,7 @@
<PropertyGroup>
<Description>PowerShell hosting SDK xUnit Tests</Description>
<AssemblyName>powershell-hosting-tests</AssemblyName>
+ <!--RuntimeIdentifiers>win7-x86;win7-x64;osx.10.13-x64;linux-x64</RuntimeIdentifiers-->
</PropertyGroup>
<PropertyGroup>
diff --git a/test/packaging/windows/exe.tests.ps1 b/test/packaging/windows/exe.tests.ps1
index 2e0ffc9e9c..5a72195900 100644
--- a/test/packaging/windows/exe.tests.ps1
+++ b/test/packaging/windows/exe.tests.ps1
@@ -63,17 +63,17 @@ Describe -Name "Windows EXE" -Fixture {
Context "$Channel-$Runtime" {
BeforeAll {
Write-Verbose "cr-$channel-$runtime" -Verbose
- switch -regex ("$channel-$runtime") {
- "preview-win\d*-x64" {
+ switch ("$channel-$runtime") {
+ "preview-win7-x64" {
$msiUpgradeCode = '39243d76-adaf-42b1-94fb-16ecf83237c8'
}
- "stable-win\d*-x64" {
+ "stable-win7-x64" {
$msiUpgradeCode = '31ab5147-9a97-4452-8443-d9709f0516e1'
}
- "preview-win\d*-x86" {
+ "preview-win7-x86" {
$msiUpgradeCode = '86abcfbd-1ccc-4a88-b8b2-0facfde29094'
}
- "stable-win\d*-x86" {
+ "stable-win7-x86" {
$msiUpgradeCode = '1d00683b-0f84-4db8-a64f-2f98ad42fe06'
}
default {
diff --git a/test/packaging/windows/msi.tests.ps1 b/test/packaging/windows/msi.tests.ps1
index 6e4f9ff2f2..0ee34ca482 100644
--- a/test/packaging/windows/msi.tests.ps1
+++ b/test/packaging/windows/msi.tests.ps1
@@ -145,23 +145,23 @@ Describe -Name "Windows MSI" -Fixture {
$pwshPath = Join-Path $env:ProgramFiles -ChildPath "PowerShell"
$pwshx86Path = Join-Path ${env:ProgramFiles(x86)} -ChildPath "PowerShell"
- switch -regex ("$channel-$runtime") {
- "preview-win\d*-x64" {
+ switch ("$channel-$runtime") {
+ "preview-win7-x64" {
$versionPath = Join-Path -Path $pwshPath -ChildPath '7-preview'
$revisionRange = 0, 99
$msiUpgradeCode = '39243d76-adaf-42b1-94fb-16ecf83237c8'
}
- "stable-win\d*-x64" {
+ "stable-win7-x64" {
$versionPath = Join-Path -Path $pwshPath -ChildPath '7'
$revisionRange = 500, 500
$msiUpgradeCode = '31ab5147-9a97-4452-8443-d9709f0516e1'
}
- "preview-win\d*-x86" {
+ "preview-win7-x86" {
$versionPath = Join-Path -Path $pwshx86Path -ChildPath '7-preview'
$revisionRange = 0, 99
$msiUpgradeCode = '86abcfbd-1ccc-4a88-b8b2-0facfde29094'
}
- "stable-win\d*-x86" {
+ "stable-win7-x86" {
$versionPath = Join-Path -Path $pwshx86Path -ChildPath '7'
$revisionRange = 500, 500
$msiUpgradeCode = '1d00683b-0f84-4db8-a64f-2f98ad42fe06'
diff --git a/test/powershell/engine/ExperimentalFeature/Get-ExperimentalFeature.Tests.ps1 b/test/powershell/engine/ExperimentalFeature/Get-ExperimentalFeature.Tests.ps1
index f561440856..02c4ad856b 100644
--- a/test/powershell/engine/ExperimentalFeature/Get-ExperimentalFeature.Tests.ps1
+++ b/test/powershell/engine/ExperimentalFeature/Get-ExperimentalFeature.Tests.ps1
@@ -167,7 +167,7 @@ Describe "Default enablement of Experimental Features" -Tags CI {
It "On stable builds, Experimental Features are not enabled" -Skip:($isPreview) {
foreach ($expFeature in Get-ExperimentalFeature)
{
- # In CI, pwsh that is running tests (with $PSHOME like D:\a\1\s\src\powershell-win-core\bin\release\net7.0\win81-x64\publish)
+ # In CI, pwsh that is running tests (with $PSHOME like D:\a\1\s\src\powershell-win-core\bin\release\net7.0\win7-x64\publish)
# is launched from another pwsh (with $PSHOME like C:\program files\powershell\7)
# resulting in combined PSModulePath which is used by Get-ExperimentalFeature to enum module-scoped exp.features from both pwsh locations.
# So we need to exclude parent's modules' exp.features from verification using filtering on $PSHOME.
@@ -184,7 +184,7 @@ Describe "Default enablement of Experimental Features" -Tags CI {
foreach ($expFeature in Get-ExperimentalFeature)
{
- # In CI, pwsh that is running tests (with $PSHOME like D:\a\1\s\src\powershell-win-core\bin\release\net7.0\win81-x64\publish)
+ # In CI, pwsh that is running tests (with $PSHOME like D:\a\1\s\src\powershell-win-core\bin\release\net7.0\win7-x64\publish)
# is launched from another pwsh (with $PSHOME like C:\program files\powershell\7)
# resulting in combined PSModulePath which is used by Get-ExperimentalFeature to enum module-scoped exp.features from both pwsh locations.
# So we need to exclude parent's modules' exp.features from verification using filtering on $PSHOME.
diff --git a/test/tools/OpenCover/OpenCover.psm1 b/test/tools/OpenCover/OpenCover.psm1
index 262c1e075b..f9130df5ae 100644
--- a/test/tools/OpenCover/OpenCover.psm1
+++ b/test/tools/OpenCover/OpenCover.psm1
@@ -615,7 +615,7 @@ function Install-OpenCover
.Description
Invoke-OpenCover runs tests under OpenCover by executing tests on PowerShell located at $PowerShellExeDirectory.
.EXAMPLE
- Invoke-OpenCover -TestPath $PWD/test/powershell -PowerShellExeDirectory $PWD/src/powershell-win-core/bin/CodeCoverage/7.0/win81-x64
+ Invoke-OpenCover -TestPath $PWD/test/powershell -PowerShellExeDirectory $PWD/src/powershell-win-core/bin/CodeCoverage/7.0/win7-x64
#>
function Invoke-OpenCover
{
@@ -624,7 +624,7 @@ function Invoke-OpenCover
[parameter()]$OutputLog = "$HOME/Documents/OpenCover.xml",
[parameter()]$TestPath = "${script:psRepoPath}/test/powershell",
[parameter()]$OpenCoverPath = "$HOME/OpenCover",
- [parameter()]$PowerShellExeDirectory = "${script:psRepoPath}/src/powershell-win-core/bin/CodeCoverage/net7.0/win81-x64/publish",
+ [parameter()]$PowerShellExeDirectory = "${script:psRepoPath}/src/powershell-win-core/bin/CodeCoverage/net7.0/win7-x64/publish",
[parameter()]$PesterLogElevated = "$HOME/Documents/TestResultsElevated.xml",
[parameter()]$PesterLogUnelevated = "$HOME/Documents/TestResultsUnelevated.xml",
[parameter()]$PesterLogFormat = "NUnitXml",
diff --git a/test/tools/TestExe/TestExe.csproj b/test/tools/TestExe/TestExe.csproj
index 21f10e03c3..8eec2019df 100644
--- a/test/tools/TestExe/TestExe.csproj
+++ b/test/tools/TestExe/TestExe.csproj
@@ -8,7 +8,7 @@
<OutputType>Exe</OutputType>
<TieredCompilation>true</TieredCompilation>
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
- <RuntimeIdentifiers>win81-x86;win81-x64;osx-x64;linux-x64</RuntimeIdentifiers>
+ <RuntimeIdentifiers>win7-x86;win7-x64;osx-x64;linux-x64</RuntimeIdentifiers>
</PropertyGroup>
</Project>
diff --git a/test/tools/TestService/TestService.csproj b/test/tools/TestService/TestService.csproj
index 7630007f41..3b8ded97a0 100644
--- a/test/tools/TestService/TestService.csproj
+++ b/test/tools/TestService/TestService.csproj
@@ -9,7 +9,7 @@
<OutputType>Exe</OutputType>
<TieredCompilation>true</TieredCompilation>
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
- <RuntimeIdentifiers>win81-x86;win81-x64</RuntimeIdentifiers>
+ <RuntimeIdentifiers>win7-x86;win7-x64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
diff --git a/test/xUnit/xUnit.tests.csproj b/test/xUnit/xUnit.tests.csproj
index e181c62660..797f1bd52b 100644
--- a/test/xUnit/xUnit.tests.csproj
+++ b/test/xUnit/xUnit.tests.csproj
@@ -6,7 +6,7 @@
<Description>PowerShell xUnit Tests</Description>
<AssemblyName>powershell-tests</AssemblyName>
<GenerateProgramFile>true</GenerateProgramFile>
- <RuntimeIdentifiers>win81-x86;win81-x64;osx-x64;linux-x64</RuntimeIdentifiers>
+ <RuntimeIdentifiers>win7-x86;win7-x64;osx-x64;linux-x64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup>
diff --git a/tools/ci.psm1 b/tools/ci.psm1
index a03acea2dc..e2feca60dd 100644
--- a/tools/ci.psm1
+++ b/tools/ci.psm1
@@ -467,7 +467,7 @@ function Get-ReleaseTag
function Invoke-CIFinish
{
param(
- [string] $Runtime = 'win81-x64',
+ [string] $Runtime = 'win7-x64',
[string] $Channel = 'preview',
[Validateset('Build','Package')]
[string[]] $Stage = ('Build','Package')
diff --git a/tools/findMissingNotices.ps1 b/tools/findMissingNotices.ps1
index a6ded1e0d6..c7a6514d72 100644
--- a/tools/findMissingNotices.ps1
+++ b/tools/findMissingNotices.ps1
@@ -166,8 +166,8 @@ function Get-CGRegistrations {
"osx-x64",
"win-arm",
"win-arm64",
- "win81-x64",
- "win81-x86",
+ "win7-x64",
+ "win7-x86",
"modules")]
[string]$Runtime,
@@ -196,7 +196,7 @@ function Get-CGRegistrations {
$folder = $unixProjectName
$target = "$dotnetTargetName|$Runtime"
}
- "win81-.*" {
+ "win7-.*" {
$sdkToUse = $winDesktopSdk
$folder = $windowsProjectName
$target = "$dotnetTargetNameWin7|$Runtime"
@@ -264,7 +264,7 @@ function Get-CGRegistrations {
$registrations = [System.Collections.Generic.Dictionary[string, Registration]]::new()
$lastCount = 0
$registrationChanged = $false
-foreach ($runtime in "win81-x64", "linux-x64", "osx-x64", "alpine-x64", "win-arm", "linux-arm", "linux-arm64", "osx-arm64", "win-arm64", "win81-x86") {
+foreach ($runtime in "win7-x64", "linux-x64", "osx-x64", "alpine-x64", "win-arm", "linux-arm", "linux-arm64", "osx-arm64", "win-arm64", "win7-x86") {
$registrationChanged = (Get-CGRegistrations -Runtime $runtime -RegistrationTable $registrations) -or $registrationChanged
$count = $registrations.Count
$newCount = $count - $lastCount
@@ -276,7 +276,7 @@ $newRegistrations = $registrations.Keys | Sort-Object | ForEach-Object { $regist
$count = $newRegistrations.Count
$newJson = @{
- Registrations = $newRegistrations
+ Registrations = $newRegistrations
'$schema' = "https://json.schemastore.org/component-detection-manifest.json"
} | ConvertTo-Json -depth 99
diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1
index 654b48ddfd..d3484793a7 100644
--- a/tools/packaging/packaging.psm1
+++ b/tools/packaging/packaging.psm1
@@ -41,7 +41,7 @@ function Start-PSPackage {
[string[]]$Type,
# Generate windows downlevel package
- [ValidateSet("win81-x86", "win81-x64", "win-arm", "win-arm64")]
+ [ValidateSet("win7-x86", "win7-x64", "win-arm", "win-arm64")]
[ValidateScript({$Environment.IsWindows})]
[string] $WindowsRuntime,
@@ -102,7 +102,7 @@ function Start-PSPackage {
}
if ($Environment.IsWindows) {
- # Runtime will be one of win81-x64, win81-x86, "win-arm" and "win-arm64" on Windows.
+ # Runtime will be one of win7-x64, win7-x86, "win-arm" and "win-arm64" on Windows.
# Build the name suffix for universal win-plat packages.
switch ($Runtime) {
"win-arm" { $NameSuffix = "win-arm32" }
@@ -3200,7 +3200,7 @@ function New-MSIPatch
# This example shows how to produce a Debug-x64 installer for development purposes.
cd $RootPathOfPowerShellRepo
Import-Module .\build.psm1; Import-Module .\tools\packaging\packaging.psm1
- New-MSIPackage -Verbose -ProductSourcePath '.\src\powershell-win-core\bin\Debug\net7.0\win81-x64\publish' -ProductTargetArchitecture x64 -ProductVersion '1.2.3'
+ New-MSIPackage -Verbose -ProductSourcePath '.\src\powershell-win-core\bin\Debug\net7.0\win7-x64\publish' -ProductTargetArchitecture x64 -ProductVersion '1.2.3'
#>
function New-MSIPackage
{
@@ -3591,7 +3591,7 @@ function Start-MsiBuild {
# This example shows how to produce a Debug-x64 installer for development purposes.
cd $RootPathOfPowerShellRepo
Import-Module .\build.psm1; Import-Module .\tools\packaging\packaging.psm1
- New-MSIXPackage -Verbose -ProductSourcePath '.\src\powershell-win-core\bin\Debug\net7.0\win81-x64\publish' -ProductTargetArchitecture x64 -ProductVersion '1.2.3'
+ New-MSIXPackage -Verbose -ProductSourcePath '.\src\powershell-win-core\bin\Debug\net7.0\win7-x64\publish' -ProductTargetArchitecture x64 -ProductVersion '1.2.3'
#>
function New-MSIXPackage
{
diff --git a/tools/releaseBuild/Images/microsoft_powershell_windowsservercore/PowerShellPackage.ps1 b/tools/releaseBuild/Images/microsoft_powershell_windowsservercore/PowerShellPackage.ps1
index 443f22bd85..ae0bc4f2b1 100644
--- a/tools/releaseBuild/Images/microsoft_powershell_windowsservercore/PowerShellPackage.ps1
+++ b/tools/releaseBuild/Images/microsoft_powershell_windowsservercore/PowerShellPackage.ps1
@@ -11,8 +11,8 @@ param (
[string] $destination = "$env:WORKSPACE",
- [ValidateSet("win81-x64", "win81-x86", "win-arm", "win-arm64", "fxdependent", "fxdependent-win-desktop")]
- [string] $Runtime = 'win81-x64',
+ [ValidateSet("win7-x64", "win7-x86", "win-arm", "win-arm64", "fxdependent", "fxdependent-win-desktop")]
+ [string] $Runtime = 'win7-x64',
[switch] $ForMinimalSize,
diff --git a/tools/releaseBuild/azureDevOps/templates/testartifacts.yml b/tools/releaseBuild/azureDevOps/templates/testartifacts.yml
index 4d7111f94d..b75ade828a 100644
--- a/tools/releaseBuild/azureDevOps/templates/testartifacts.yml
+++ b/tools/releaseBuild/azureDevOps/templates/testartifacts.yml
@@ -35,8 +35,8 @@ jobs:
switch ($runtime)
{
- win81-x64 { $packageName = "TestPackage-win-x64.zip" }
- win81-x86 { $packageName = "TestPackage-win-x86.zip" }
+ win7-x64 { $packageName = "TestPackage-win-x64.zip" }
+ win7-x86 { $packageName = "TestPackage-win-x86.zip" }
win-arm64 { $packageName = "TestPackage-win-arm64.zip" }
linux-x64 { $packageName = "TestPackage-linux-x64.zip" }
linux-arm { $packageName = "TestPackage-linux-arm.zip" }
@@ -49,8 +49,8 @@ jobs:
Write-Host "##vso[artifact.upload containerfolder=testArtifacts;artifactname=testArtifacts]$(System.ArtifactsDirectory)/$packageName"
}
- BuildTestPackage -runtime win81-x64
- BuildTestPackage -runtime win81-x86
+ BuildTestPackage -runtime win7-x64
+ BuildTestPackage -runtime win7-x86
BuildTestPackage -runtime win-arm64
BuildTestPackage -runtime linux-x64
BuildTestPackage -runtime linux-arm
diff --git a/tools/releaseBuild/azureDevOps/templates/windows-hosted-build.yml b/tools/releaseBuild/azureDevOps/templates/windows-hosted-build.yml
index f5dfe4b75c..1201edf98b 100644
--- a/tools/releaseBuild/azureDevOps/templates/windows-hosted-build.yml
+++ b/tools/releaseBuild/azureDevOps/templates/windows-hosted-build.yml
@@ -50,8 +50,8 @@ jobs:
$runtime = switch ($env:Architecture)
{
- "x64" { "win81-x64" }
- "x86" { "win81-x86" }
+ "x64" { "win7-x64" }
+ "x86" { "win7-x86" }
"arm" { "win-arm"}
"arm64" { "win-arm64" }
"fxdependent" { "fxdependent" }
diff --git a/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml b/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml
index 10870c8521..befcebf3bd 100644
--- a/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml
+++ b/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml
@@ -239,8 +239,8 @@ jobs:
- pwsh: |
$runtime = switch ($env:Architecture)
{
- "x64" { "win81-x64" }
- "x86" { "win81-x86" }
+ "x64" { "win7-x64" }
+ "x86" { "win7-x86" }
"arm" { "win-arm"}
"arm64" { "win-arm64" }
"fxdependent" { "fxdependent" }