You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have variables I need to substitute during publish. I use XML publish profile files. I would like to use those files when publishing from code. I believe the object I need to use is DacProfile. I don't know how to use it in my code as shown below:
var dacpac = DacPackage.Load("...");
var dacpacService = new DacServices(connectionString);
dacpacService.Publish(dacpac, "MyDB", new PublishOptions());
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have variables I need to substitute during publish. I use XML publish profile files. I would like to use those files when publishing from code. I believe the object I need to use is
DacProfile
. I don't know how to use it in my code as shown below:Beta Was this translation helpful? Give feedback.
All reactions