问题
I've configured Beyond Compare in Visual Studio 2013 as described in How to configure Visual Studio to use Beyond Compare
Now I am working with a new web project and added web.config transformation files.
When I try to perform a «Preview Transform» I get the error message «Parameter count mismatch».
I deleted the Compare operation and then the preview works and is opened with the default compare view of Visual Studio.
Therefore I suppose there is something wrong with the Arguments %1 %2 /title1=%6 /title2=%7
I tried already with just %1 %2 but to no avail.
So the question is: does anybody know which arguments have to been set so that the preview works with Beyond Compare as well?
回答1:
My solution was to specify the extensions I wanted to use BCompare for.
In other words, don't put .* as the extension.
For me, I work in mostly c++ and c#, so I included '.c,.cs,.cpp,.h,.txt, .log'
Now, when I preview transform, VS uses it's own diffing tool -- and beyondCompare for everything else I regularly compare.
回答2:
This worked for me, under Tools/Options using Beyond Compare 4.
来源:https://stackoverflow.com/questions/22554145/configure-beyond-compare-in-visual-studio-for-config-preview-transform