File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Common/Product/SharedProject Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -929,9 +929,8 @@ public virtual void Remove(bool removeFromStorage) {
929929
930930 RaiseOnItemRemoved ( documentToRemove , filesToBeDeleted ) ;
931931
932- // When we don't call this it behaves properly also in Solution Explorer search result set
933932 // Notify hierarchy event listeners that items have been invalidated
934- // ProjectMgr.OnInvalidateItems(this);
933+ ProjectMgr . OnInvalidateItems ( this ) ;
935934
936935 // Dispose the node now that is deleted.
937936 this . Dispose ( true ) ;
@@ -996,8 +995,12 @@ internal void RemoveNonDocument(bool removeFromStorage) {
996995 ProjectMgr . OnItemDeleted ( this ) ;
997996
998997 // Remove child if any before removing from the hierarchy
999- for ( HierarchyNode child = this . FirstChild ; child != null ; child = child . NextSibling ) {
998+ HierarchyNode child = this . FirstChild ;
999+ while ( child != null ) {
1000+ // Need to read NextSibling before calling Remove
1001+ var next = child . NextSibling ;
10001002 child . Remove ( removeFromStorage ) ;
1003+ child = next ;
10011004 }
10021005
10031006 // the project node has no parentNode
Original file line number Diff line number Diff line change 11<PackageManifest Version =" 2.0.0" xmlns =" http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns : d =" http://schemas.microsoft.com/developer/vsx-schema-design/2011" >
22 <Metadata >
3- <Identity Id =" 29102E6C-34F2-4FF1-BA2F-C02ADE3846E8" Version =" 1.3.0.3 " Language =" en-US" Publisher =" Microsoft" />
3+ <Identity Id =" 29102E6C-34F2-4FF1-BA2F-C02ADE3846E8" Version =" 1.3.0.4 " Language =" en-US" Publisher =" Microsoft" />
44 <DisplayName >Node.js Tools - Interactive Window</DisplayName >
55 <Description xml : space =" preserve" >Node.js Tools - Interactive Window.</Description >
66 <MoreInfo >http://go.microsoft.com/fwlink/?LinkId=785971</MoreInfo >
Original file line number Diff line number Diff line change 11<PackageManifest Version =" 2.0.0" xmlns =" http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns : d =" http://schemas.microsoft.com/developer/vsx-schema-design/2011" >
22 <Metadata >
3- <Identity Id =" FE8A8C3D-328A-476D-99F9-2A24B75F8C7F" Version =" 1.3.0.3 " Language =" en-US" Publisher =" Microsoft" />
3+ <Identity Id =" FE8A8C3D-328A-476D-99F9-2A24B75F8C7F" Version =" 1.3.0.4 " Language =" en-US" Publisher =" Microsoft" />
44 <DisplayName >Node.js Tools</DisplayName >
55 <Description xml : space =" preserve" >Provides support for editing and debugging Node.js programs.</Description >
66 <MoreInfo >http://go.microsoft.com/fwlink/?LinkId=785971</MoreInfo >
Original file line number Diff line number Diff line change 11<PackageManifest Version =" 2.0.0" xmlns =" http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns : d =" http://schemas.microsoft.com/developer/vsx-schema-design/2011" >
22 <Metadata >
3- <Identity Id =" B515653F-FB69-4B64-9D3F-F1FCF8421DD0" Version =" 1.3.0.3 " Language =" en-US" Publisher =" Microsoft" />
3+ <Identity Id =" B515653F-FB69-4B64-9D3F-F1FCF8421DD0" Version =" 1.3.0.4 " Language =" en-US" Publisher =" Microsoft" />
44 <DisplayName >Node.js Tools - Profiling</DisplayName >
55 <Description xml : space =" preserve" >Provides support for profiling Node.js projects</Description >
66 <MoreInfo >http://go.microsoft.com/fwlink/?LinkId=785971</MoreInfo >
You can’t perform that action at this time.
0 commit comments