Configure Beyond Compare in Visual Studio for config Preview Transform

元气小坏坏 提交于 2019-12-11 02:14: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?


回答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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!