Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Data Studio #39

Open
PlaidPhantom opened this issue Nov 14, 2023 · 1 comment
Open

Azure Data Studio #39

PlaidPhantom opened this issue Nov 14, 2023 · 1 comment

Comments

@PlaidPhantom
Copy link

PlaidPhantom commented Nov 14, 2023

Hi, has anyone figured out how to use this with Azure Data Studio's Publish command? I've tried setting up a publish profile and adding the parameters as new properties, but so far this seems to get ignored:

(my.publish.xml)

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <TargetDatabaseName>[ ... ]</TargetDatabaseName>
    <TargetConnectionString>[ ... ]</TargetConnectionString>
    <AllowIncompatiblePlatform>True</AllowIncompatiblePlatform>
    <DropPermissionsNotInSource>True</DropPermissionsNotInSource>
    <DropObjectsNotInSource>True</DropObjectsNotInSource>
    <DropRoleMembersNotInSource>True</DropRoleMembersNotInSource>
    <IgnoreKeywordCasing>False</IgnoreKeywordCasing>
    <IgnoreSemicolonBetweenStatements>False</IgnoreSemicolonBetweenStatements>
    <IncludeCompositeObjects>True</IncludeCompositeObjects>
    <AllowDropBlockingAssemblies>True</AllowDropBlockingAssemblies>
    <ProfileVersionNumber>1</ProfileVersionNumber>
    <AdditionalDeploymentContributorPaths>C:\path\to\dll\</AdditionalDeploymentContributorPaths>
    <AdditionalDeploymentContributors>AgileSqlClub.DeploymentFilterContributor</AdditionalDeploymentContributors>
    <AdditionalDeploymentContributorArguments>SqlPackageFilter=IgnoreSchema(rpt)</AdditionalDeploymentContributorArguments>
  </PropertyGroup>
</Project>
@t-johnson
Copy link
Collaborator

personally i've never had luck with this property in the deployment profile xml file, wheras the command line parameter has worked:

/p:AdditionalDeploymentContributorPaths=c:\path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants