Merge pull request #1677 from dzsquared/dacfx-186

update dacfx to 18.6
This commit is contained in:
Maxim Lobanov
2020-10-12 11:24:44 +03:00
committed by GitHub
3 changed files with 9 additions and 2 deletions

View File

@@ -1,10 +1,10 @@
#################################################################################### ####################################################################################
## File: Install-DACFx.ps1 ## File: Install-DACFx.ps1
## Desc: Install SQL Server® Data-Tier Application Framework (DACFx) for Windows ## Desc: Install SQL Server® Data-Tier Application Framework (DacFx) for Windows
#################################################################################### ####################################################################################
$InstallerName = "DacFramework.msi" $InstallerName = "DacFramework.msi"
$InstallerUrl = "https://go.microsoft.com/fwlink/?linkid=2134206" $InstallerUrl = "https://go.microsoft.com/fwlink/?linkid=2143544"
Install-Binary -Url $InstallerUrl -Name $InstallerName Install-Binary -Url $InstallerUrl -Name $InstallerName

View File

@@ -165,6 +165,7 @@ $markdown += New-MDNewLine
$markdown += New-MDHeader "Database tools" -Level 3 $markdown += New-MDHeader "Database tools" -Level 3
$markdown += New-MDList -Style Unordered -Lines @( $markdown += New-MDList -Style Unordered -Lines @(
(Get-AzCosmosDBEmulatorVersion), (Get-AzCosmosDBEmulatorVersion),
(Get-DacFxVersion),
(Get-SQLPSVersion), (Get-SQLPSVersion),
(Get-MySQLVersion) (Get-MySQLVersion)
) )

View File

@@ -254,3 +254,9 @@ function Get-AZDSVersion {
$azdsVersion = $(azds --version) | Select-String "(\d+\.\d+\.\d+.\d+)" $azdsVersion = $(azds --version) | Select-String "(\d+\.\d+\.\d+.\d+)"
return "Azure Dev Spaces CLI $azdsVersion" return "Azure Dev Spaces CLI $azdsVersion"
} }
function Get-DacFxVersion {
cd "C:\Program Files\Microsoft SQL Server\150\DAC\bin\"
$dacfxversion = (./sqlpackage.exe /version)
return "DacFx $dacfxversion"
}