Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories is not called when renaming a directory?

$
0
0
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

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>