Add validation for checking for dacpac being on the same drive (#21434)

* add extra validation for add dacpac reference quickpick

* Add placeholder with message
This commit is contained in:
Kim Santiago
2022-12-16 14:18:26 -08:00
committed by GitHub
parent 710fb0df62
commit 754d70d654
2 changed files with 30 additions and 12 deletions

View File

@@ -282,6 +282,7 @@ export const databaseNameServerNameVariableRequired = localize('databaseNameServ
export const otherServer = 'OtherServer';
export const otherSeverVariable = 'OtherServer';
export const databaseProject = localize('databaseProject', "Database project");
export const dacpacMustBeOnSameDrive = localize('dacpacNotOnSameDrive', "Dacpac references need to be located on the same drive as the project file.");
export const dacpacNotOnSameDrive = (projectLocation: string): string => { return localize('dacpacNotOnSameDrive', "Dacpac references need to be located on the same drive as the project file. The project file is located at {0}", projectLocation); };
export const referenceType = localize('referenceType', "Reference type");