Hi.
It seems that the OnQueryRenameDirectories method is not called when renaming a folder in the solution explorer. The folder is within a C# project and is created using the Add->Folder context menu (e.g. perfectly normal folder). However, when I rename it (press F2, write another name and press Enter) the method called is not OnQueryRenameDirectories, but OnQueryRenameFiles. I expected behaviour similar to the OnQueryRemoveXXX methods - first the OnQueryRemoveDirectories method is called, then the OnQueryRemoveFiles method is called with files contained in the removed directory.
Am I missing something here?
Thanks.
---
Forgot to mention: Visual Studio 2008 Team System Developer Edition SP1, Windows 7 x64
It seems that the OnQueryRenameDirectories method is not called when renaming a folder in the solution explorer. The folder is within a C# project and is created using the Add->Folder context menu (e.g. perfectly normal folder). However, when I rename it (press F2, write another name and press Enter) the method called is not OnQueryRenameDirectories, but OnQueryRenameFiles. I expected behaviour similar to the OnQueryRemoveXXX methods - first the OnQueryRemoveDirectories method is called, then the OnQueryRemoveFiles method is called with files contained in the removed directory.
Am I missing something here?
Thanks.
---
Forgot to mention: Visual Studio 2008 Team System Developer Edition SP1, Windows 7 x64