Skip to content

Commit 858a999

Browse files
add back sqlpackage
publish
1 parent 6ebf339 commit 858a999

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

build/build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ Copy-Item "./temp/linux/Microsoft.Data.Tools*" -Destination "./lib/linux-dac/" -
145145
Copy-Item "./temp/mac/Microsoft.SqlServer.Dac*" -Destination "./lib/mac-dac/" -Force
146146
Copy-Item "./temp/mac/Microsoft.Data.Tools*" -Destination "./lib/mac-dac/" -Force
147147

148+
# Copy SqlPackage executables
149+
Copy-Item "./temp/linux/SqlPackage" -Destination "./lib/linux-dac/SqlPackage" -Force
150+
Copy-Item "./temp/mac/SqlPackage" -Destination "./lib/mac-dac/SqlPackage" -Force
151+
Copy-Item "$dacPath\SqlPackage.exe" -Destination "./lib/win-dac/SqlPackage.exe" -Force
152+
148153
# Core files are already in place from dotnet publish
149154

150155
# Copy var/misc files to appropriate locations

private/assembly-lists.ps1

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if ($env:PROCESSOR_ARCHITECTURE -ne "x86") {
5454
} else {
5555
'Windows' # PowerShell 5.1 and below only runs on Windows
5656
}
57-
57+
5858
if ($currentPlatform -eq 'Windows') {
5959
$script:CoreAssemblies += $script:X64Assemblies
6060
} else {
@@ -131,7 +131,7 @@ if ($env:PROCESSOR_ARCHITECTURE -ne "x86") {
131131
} else {
132132
'Windows' # PowerShell 5.1 and below only runs on Windows
133133
}
134-
134+
135135
if ($currentPlatform -eq 'Windows') {
136136
$script:AssemblyLoadOrder += @(
137137
'Microsoft.SqlServer.Replication',
@@ -267,6 +267,15 @@ $script:PlatformAssemblies = @{
267267
'LumenWorks.Framework.IO' = Join-Path $script:libraryroot "lib/third-party/LumenWorks/core"
268268
}
269269
}
270+
'arm64' = @{
271+
'Path' = Join-Path $script:libraryroot "lib/core/runtimes/unix/lib/net6.0"
272+
'NativePath' = Join-Path $script:libraryroot "lib/core/runtimes/osx-arm64/native"
273+
'Dependencies' = Join-Path $script:libraryroot "lib/core/runtimes/unix/lib/net6.0"
274+
'ThirdParty' = @{
275+
'Bogus' = Join-Path $script:libraryroot "lib/third-party/bogus/core"
276+
'LumenWorks.Framework.IO' = Join-Path $script:libraryroot "lib/third-party/LumenWorks/core"
277+
}
278+
}
270279
'DAC' = Join-Path $script:libraryroot "lib/mac-dac"
271280
}
272281
}

0 commit comments

Comments
 (0)