Question

Is there a way that I can call the same commands that Ankh SVN uses, within C# code?

For example, can I call the same functionality that adds a solution to a subversion from code?

I am writing Visual Studio addin that will allow me to reuse a solution template, rather than having to recreate the same basic structure again and again.

Is there a list of macros or similar that AnkhSVN would map its commands to - i.e. Add solution to subversion?

I have looked around for templates or addins that would do the job for me but have decided to make my own, so am not looking for links to any other templates or addins.

Edit: I think that I may also be able to use this._applicationObject in my addin to add my solution to subversion as I would if I were manually doing so using Visual Studio.

Était-ce utile?

La solution

You could use SharpSvn to work with Subversion directly from within your C# extension.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top