0

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!

Community
  • 1
  • 1
JulienVan
  • 881
  • 1
  • 11
  • 30
  • It looks context menu shell extension is the only solution. – Denis Anisimov Mar 10 '14 at 14:34
  • Thanks for your comment Denis. I think that I'm going to try doing it with [SharpShell](https://sharpshell.codeplex.com), even if it is not recommended to use .NET it seems so easy to implement. I will check if the context menu takes time to load. – JulienVan Mar 10 '14 at 18:18

0 Answers0