Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Does dbDACFx provider support SqlCommandVariable parameters?

$
0
0

Hi

I have been playing around with the dbDACFx provider to deploy databases based on the output from my SSDT project (a dacpac file), instead of using the $(IntermediateOutputPath)AutoScripts\MyDb_IncrementalSchemaOnly.dacpac which can be generated for my. 

I have tried to use the Parameters.xml file to set custom deploy parameters but when using the the following xml I am a bit lost:

<parameter name="Service Account" description="Please provide a service account" defaultValue="Test" tags="">
<parameterEntry kind="SqlCommandVariable" scope="<which file to use here?>" match="ServiceAccount" />
</parameter>

What file do I use as scope? As I see it, it makes no sense to use the dacpac file, since it is some binary format. How can I instruct ms deploy to pass the parameters on to the DACFx framework so when it deploys the dacpac the sqlcmdvars have been correctly set?


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>