mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 01:25:36 -05:00
Initial Pre-post deployment changes (#11703)
* Update Open Project to display pre-post deployment scripts in the project tree * Address comments * Fixed tests * Update nonDeployScripts to noneDeployScripts and throw a warning message instead of informational message for prePostDeployCount
This commit is contained in:
@@ -38,6 +38,7 @@ export const newDatabaseProjectName = localize('newDatabaseProjectName', "New da
|
||||
export const sqlDatabaseProject = localize('sqlDatabaseProject', "SQL database project");
|
||||
export const yesString = localize('yesString', "Yes");
|
||||
export const noString = localize('noString', "No");
|
||||
export const okString = localize('okString', "Ok");
|
||||
export const extractTargetInput = localize('extractTargetInput', "Select folder structure for SQL files");
|
||||
export const extractDatabaseSelection = localize('extractDatabaseSelection', "Select database to import");
|
||||
export const selectString = localize('selectString', "Select");
|
||||
@@ -111,6 +112,7 @@ export const databaseSelectionRequired = localize('databaseSelectionRequired', "
|
||||
export const databaseReferenceAlreadyExists = localize('databaseReferenceAlreadyExists', "A reference to this database already exists in this project");
|
||||
export const ousiderFolderPath = localize('outsideFolderPath', "Items with absolute path outside project folder are not supported. Please make sure the paths in the project file are relative to project folder.");
|
||||
export const parentTreeItemUnknown = localize('parentTreeItemUnknown', "Cannot access parent of provided tree item");
|
||||
export const prePostDeployCount = localize('prePostDeployCount', "To successfully build, update the project to have one pre-deployment script and/or one post-deployment script");
|
||||
export function projectAlreadyOpened(path: string) { return localize('projectAlreadyOpened', "Project '{0}' is already opened.", path); }
|
||||
export function projectAlreadyExists(name: string, path: string) { return localize('projectAlreadyExists', "A project named {0} already exists in {1}.", name, path); }
|
||||
export function noFileExist(fileName: string) { return localize('noFileExist', "File {0} doesn't exist", fileName); }
|
||||
@@ -170,6 +172,9 @@ export const Properties = 'Properties';
|
||||
export const RelativeOuterPath = '..';
|
||||
export const ProjectReference = 'ProjectReference';
|
||||
export const TargetConnectionString = 'TargetConnectionString';
|
||||
export const PreDeploy = 'PreDeploy';
|
||||
export const PostDeploy = 'PostDeploy';
|
||||
export const None = 'None';
|
||||
|
||||
// SqlProj File targets
|
||||
export const NetCoreTargets = '$(NETCoreTargetsPath)\\Microsoft.Data.Tools.Schema.SqlTasks.targets';
|
||||
|
||||
Reference in New Issue
Block a user