gpt4 book ai didi

visual-studio - 如何在 Visual Studio 2015 中比较 .dsql(Azure SQL DW 和 PDW)文件?

转载 作者:行者123 更新时间:2023-12-04 05:36:27 25 4
gpt4 key购买 nike

如果我在扩展名为 .dsql 的文本文件(Azure SQL DW 和 PDW SQL 脚本)上调用 Visual Studio 2015 中的文件差异工具,我会收到错误消息:

Error occurred during difference operation: Cannot execute the configured tool



对于其他文本文件扩展名,Diff 可以正常工作。

Visual Studio Professional 14.0.25431.01 Update 3 使用 VSTS 源代码管理。

最佳答案

您可以使用与 Visual Studio 集成的默认文件比较工具 Diff window 来比较文本文件。 .

但是,您可以使用这些配置将文件类型与第三方比较工具相关联 steps .

更新:

或者,您可以试试 WinMerge比较文件的工具,很简单,open source :

  1. Open Source Control > Visual Studio Team Foundation under the Tools > Options menu in Visual Studio.

  2. Click on Configure User Tools … and the Configure User Tools dialog will become available.

    • Add the WinMerge details for the Compare Tool. Click on the Add … button on the Configure User Tools dialog and configure as per the screenshot below. The arrow button next to the arguments text box exposes details about the information that Visual Studio can provide the tool being configured.

    • The configured arguments are:

      /e /u /wl /wr /dl %6 /dr %7 %1 %2
  3. WinMerge Command Line Options

    /e    Enables WinMerge to be closed with a single Esc key press.
    /u Prevents WinMerge from adding either the left or right hand side
    file path to the Most Recently Used (MRU) list.
    /wl Opens left hand side as read-only.
    /wr Opens right hand side as read-only.
    /dl Description for left hand side title bar.
    /dr Description for right hand side title bar.

关于visual-studio - 如何在 Visual Studio 2015 中比较 .dsql(Azure SQL DW 和 PDW)文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47982383/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com