Forráskód Böngészése

Drop back to SQL Server 2016 Express LocalDB

Doug Bunting 7 éve
szülő
commit
7a5981131c
2 módosított fájl, 7 hozzáadás és 7 törlés
  1. 1 1
      .azure/pipelines/ci.yml
  2. 6 6
      eng/scripts/InstallSqlServerLocalDB.ps1

+ 1 - 1
.azure/pipelines/ci.yml

@@ -296,7 +296,7 @@ jobs:
     buildArgs: -test "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true"
     beforeBuild:
     - powershell: ./eng/scripts/InstallSqlServerLocalDB.ps1
-      displayName: Install SQL Server 2017 Express LocalDB
+      displayName: Install SQL Server 2016 Express LocalDB
     - powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
       displayName: Setup IISExpress test certificates and schema
     - powershell: "& ./.azure/pipelines/tools/SetupTestEnvironment.ps1 Setup signalrclienttests.exe"

+ 6 - 6
eng/scripts/InstallSqlServerLocalDB.ps1

@@ -1,11 +1,11 @@
 <#
 .SYNOPSIS
-    Installs SQL Server 2017 Express LocalDB on a machine.
+    Installs SQL Server 2016 Express LocalDB on a machine.
 .DESCRIPTION
     This script installs Microsoft SQL Server 2016 Express LocalDB on a machine.
 .LINK
-    https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-2016-express-localdb?view=sql-server-2017
-    https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt?view=sql-server-2017
+    https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-2016-express-localdb?view=sql-server-2016
+    https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-command-prompt?view=sql-server-2016
 #>
 
 $ErrorActionPreference = 'Stop'
@@ -17,13 +17,13 @@ mkdir $intermedateDir -ErrorAction Ignore | Out-Null
 $bootstrapper = "$intermedateDir\SQLExpressInstaller.exe"
 $ProgressPreference = 'SilentlyContinue' # Workaround PowerShell/PowerShell#2138
 
-Write-Host "Installing SQL Server 2017 Express LocalDB" -f Magenta
+Write-Host "Installing SQL Server 2016 Express LocalDB" -f Magenta
 
 # Get the bootstrapper.
 Write-Host ""
-Write-Host "Downloading 'SQLServer2017-SSEI-Expr.exe' to '$bootstrapper'."
+Write-Host "Downloading 'SQLServer2016-SSEI-Expr.exe' to '$bootstrapper'."
 Invoke-WebRequest -OutFile $bootstrapper -Uri `
-  "https://download.microsoft.com/download/5/E/9/5E9B18CC-8FD5-467E-B5BF-BADE39C51F73/SQLServer2017-SSEI-Expr.exe"
+  "https://download.microsoft.com/download/3/7/6/3767D272-76A1-4F31-8849-260BD37924E4/SQLServer2016-SSEI-Expr.exe"
 
 # Download SqlLocalDB.msi.
 Write-Host ""