2 added 140 characters in body
source | link

This is accomplished through the CreateNewDatabase command line publish parameter:

/p CreateNewDatabase=True

Specifies whether the target database should be updated or whether it should be dropped and re-created when you publish to a database.

You can also set this in the publish xml file:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    ... other properties ...
    <CreateNewDatabase>True</CreateNewDatabase>

Or you can use the publish UI (which sets the above mentioned XML property):

SSDT user interface screenshot

I consider the documentation on this to be a little hard to find, so here's a link to it: Microsoft Docs - SqlPackage.exe

This is accomplished through the CreateNewDatabase command line publish parameter:

/p CreateNewDatabase=True

You can also set this in the publish xml file:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    ... other properties ...
    <CreateNewDatabase>True</CreateNewDatabase>

I consider the documentation on this to be a little hard to find, so here's a link to it: Microsoft Docs - SqlPackage.exe

This is accomplished through the CreateNewDatabase command line publish parameter:

/p CreateNewDatabase=True

Specifies whether the target database should be updated or whether it should be dropped and re-created when you publish to a database.

You can also set this in the publish xml file:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    ... other properties ...
    <CreateNewDatabase>True</CreateNewDatabase>

Or you can use the publish UI (which sets the above mentioned XML property):

SSDT user interface screenshot

I consider the documentation on this to be a little hard to find, so here's a link to it: Microsoft Docs - SqlPackage.exe

1
source | link

This is accomplished through the CreateNewDatabase command line publish parameter:

/p CreateNewDatabase=True

You can also set this in the publish xml file:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    ... other properties ...
    <CreateNewDatabase>True</CreateNewDatabase>

I consider the documentation on this to be a little hard to find, so here's a link to it: Microsoft Docs - SqlPackage.exe