I developed a .NET 4 application providing custom features for Subversion working copies. Like for the TortoiseSVN software I'd like to show shell context menu entries only for files located in Subversion working copies. These directories can be identified by an hidden '.svn' folder stored at their root.
The best solution seem to write a context menu shell extension, and getting the path of the file in the IShellExtInit::Initialize() method like proposed in this question. I am not familiar with C++ and doing it with C# doesn't seem good, even if some nice examples exist, and I don't want to chose a complicated and time-consuming solution.
I also found that the Advanced Query Syntax (AQS) can be used in registry values to evaluate a condition before showing a context menu entry, but I can't find examples to look if a parent folder contains a '.svn' directory.
Can you please help me to find a simple solution to my problem?
Thank you!