Page 1 of 1

How to write plugin in C# (or VB.NET)

PostPosted: Tue Oct 23, 2012 4:41 pm
by nikkilocke
I want to write a WinMerge plugin which converts Sqlite database files into text for comparison.

I know how to do the conversion, but I can't seem to create a C# (or even VB.Net) program which WinMerge recognises as a plugin.

Does anyone have a clue how to do this?

Re: How to write plugin in C# (or VB.NET)

PostPosted: Wed Oct 31, 2012 10:55 pm
by jtuc
If you create a command line tool that takes the path to the input file as parameter and writes resulting text to standard output, you can follow the approach outlined here:
viewtopic.php?f=4&t=352&start=10#p1399.

Re: How to write plugin in C# (or VB.NET)

PostPosted: Thu Nov 01, 2012 10:26 am
by nikkilocke
Thanks for that.

Unfortunately, that method seems to require Winmerge 2011 rather than standard Winmerge. Which would be OK if it would install on my 64-bit system. It does say it might install if I added a Microsoft hotfix, but I am reluctant to go down that path.

Other people seem to be able to write WinMerge plugins - I can't understand what I am doing wrong.

My code is available at http://stackoverflow.com/questions/1303 ... -or-vb-net if anyone wants to look at it and tell me what's wrong.