https://github.com/gustavoamerico/sqlserverdeploy
Task for deploy SQL Server
https://github.com/gustavoamerico/sqlserverdeploy
azure-devops-extension dacpac database dotnet-tool mssql
Last synced: about 1 year ago
JSON representation
Task for deploy SQL Server
- Host: GitHub
- URL: https://github.com/gustavoamerico/sqlserverdeploy
- Owner: GustavoAmerico
- License: mit
- Created: 2017-07-19T12:46:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T11:48:39.000Z (over 3 years ago)
- Last Synced: 2025-03-18T13:56:41.619Z (about 1 year ago)
- Topics: azure-devops-extension, dacpac, database, dotnet-tool, mssql
- Language: PowerShell
- Size: 5.41 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README

[](https://opensource-gag.visualstudio.com/Visual%20Studio%20Marketplace/_build/latest?definitionId=6&branchName=master)
[PT-BR](./src/AzureDevOps/SQLServerDeploy/readme-pt-br.md)
# **What is?**
The Dacpac Tool is a set of scripts that are able to perform the publication of the structure of your database (MS SQL Server) based on the selected .dacpac file.
# **How it works?**
The executed script searches for a file that matches the pattern entered, connects to the database using the connection string, instantiates a class, from the SDDT package, configures the execution of the publication, and executes deploy.
## Deploy database on same server

# **Requirements:**
## publish a dacpac on database
This task will install all requirements automatically
1. .Net Core 2.100+
2. .[Net Core Tool](./docs/How-use.md) - [Dacpac.Tool](https://www.nuget.org/packages/Dacpac.Tool/)
## Generate .dacpac from .sqlproj
For this task to run the "Agent" running server must have installed SQL Server Data Tools in the directory C:\Program Files (x86)\Microsoft SQL Server\120\DAC\bin\Microsoft.SqlServer.Dac.dll
[Link para download](https://docs.microsoft.com/pt-br/sql/ssdt/download-sql-server-data-tools-ssdt)
## **To collaborate:**
[](https://github.com/GustavoAmerico/SQLServerDeploy)
[Help me continue with coding](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GAAV5TY5P8AJL&source=url)