Remove ItemGroup from sqlproj if node being removed is the last one (#12398)

* remove ItemGroup if node being removed is the only one

* fix for if ItemGroup has elements with different tag names

* fix for ItemGroups not at the end of the sqlproj
This commit is contained in:
Kim Santiago
2020-09-18 09:35:00 -07:00
committed by GitHub
parent c50067b6d2
commit 2162e2f50c
2 changed files with 32 additions and 34 deletions

View File

@@ -170,6 +170,7 @@ export function unableToFindObject(path: string, objType: string) { return local
export function deployScriptExists(scriptType: string) { return localize('deployScriptExists', "A {0} script already exists. The new script will not be included in build.", scriptType); }
export function notValidVariableName(name: string) { return localize('notValidVariableName', "The variable name '{0}' is not valid.", name); }
export function cantAddCircularProjectReference(project: string) { return localize('cantAddCircularProjectReference', "A reference to project '{0} cannot be added. Adding this project as a reference would cause a circular dependency", project); }
export function unableToFindSqlCmdVariable(variableName: string) { return localize('unableToFindSqlCmdVariable', "Unable to find SQLCMD variable '{0}'", variableName); }
// Action types
export const deleteAction = localize('deleteAction', 'Delete');