MPFProj10 icon indicating copy to clipboard operation
MPFProj10 copied to clipboard

FileNode rename fails

Open qswinson opened this issue 9 years ago • 1 comments

In Visual Studio 2013 (both Shell and Professional), when I select a file node in solution explorer, then click 'Rename' from the context menu, and give the file a new name, I always get an error message "This node has been removed from the hierarchy." The file on the file system gets renamed, but the project file does not get updated, and the file node in the solution explorer goes back to the old name with the warning icon.

As a stop gap, I've tried disabling rename from the context menu, but setting the result to vsCommandStatus.vsCommandStatusUnsupported in QueryStatusOnNode does not seem to have an effect.

qswinson avatar Mar 10 '15 23:03 qswinson

Hi @qswinson,

Thanks for taking the time to report this. I'm in the middle of preparing an initial branch for EWSoftware/SHFB#13 using work previously done in TunnelVisionLabs/SHFB#58. This branch will allow me to test this issue and hopefully find a reliable solution.

My suspicion is this bug was introduced by the implementation for one of the following features, and has simply not been addressed yet:

  • Show All Files performance fixes (specifically canonical name caching)
  • Support for MSBuild wildcard includes

sharwell avatar Mar 21 '15 05:03 sharwell