Configure Beyond Compare in Visual Studio for conf

2019-07-20 02:51发布

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?

2条回答
时光不老,我们不散
2楼-- · 2019-07-20 03:16

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.

查看更多
做自己的国王
3楼-- · 2019-07-20 03:17

This worked for me, under Tools/Options using Beyond Compare 4.

Visual Studio 2013 settings

查看更多
登录 后发表回答