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) {
929
929
930
930
RaiseOnItemRemoved ( documentToRemove , filesToBeDeleted ) ;
931
931
932
- // When we don't call this it behaves properly also in Solution Explorer search result set
933
932
// Notify hierarchy event listeners that items have been invalidated
934
- // ProjectMgr.OnInvalidateItems(this);
933
+ ProjectMgr . OnInvalidateItems ( this ) ;
935
934
936
935
// Dispose the node now that is deleted.
937
936
this . Dispose ( true ) ;
@@ -996,8 +995,12 @@ internal void RemoveNonDocument(bool removeFromStorage) {
996
995
ProjectMgr . OnItemDeleted ( this ) ;
997
996
998
997
// 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 ;
1000
1002
child . Remove ( removeFromStorage ) ;
1003
+ child = next ;
1001
1004
}
1002
1005
1003
1006
// the project node has no parentNode
Original file line number Diff line number Diff line change 1
1
<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" >
2
2
<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" />
4
4
<DisplayName >Node.js Tools - Interactive Window</DisplayName >
5
5
<Description xml : space =" preserve" >Node.js Tools - Interactive Window.</Description >
6
6
<MoreInfo >http://go.microsoft.com/fwlink/?LinkId=785971</MoreInfo >
Original file line number Diff line number Diff line change 1
1
<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" >
2
2
<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" />
4
4
<DisplayName >Node.js Tools</DisplayName >
5
5
<Description xml : space =" preserve" >Provides support for editing and debugging Node.js programs.</Description >
6
6
<MoreInfo >http://go.microsoft.com/fwlink/?LinkId=785971</MoreInfo >
Original file line number Diff line number Diff line change 1
1
<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" >
2
2
<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" />
4
4
<DisplayName >Node.js Tools - Profiling</DisplayName >
5
5
<Description xml : space =" preserve" >Provides support for profiling Node.js projects</Description >
6
6
<MoreInfo >http://go.microsoft.com/fwlink/?LinkId=785971</MoreInfo >
You can’t perform that action at this time.
0 commit comments