简体   繁体   English

TFS Visual Studio 2010中,某些类型的“合并工具选项”中没有显示“合并更改”。 如何启用它?

[英]TFS Visual studio 2010, I do not see Merge Changes in Merge Tool Option for some types. How can I enable it?

when there is confilct on merging, merge tool option is not avaliable for some files, while it is avliable for other page type. 当存在合并冲突时,某些文件不提供合并工具选项,而其他页面类型则可用。 check two screen shot below 检查下面的两个屏幕截图

Merge Changes in merge tool is not avaliable for aspx page type 合并工具中的合并更改不适用于aspx页面类型

merge changes in merge tool is avaliable for sln 合并工具中的合并更改适用于sln

Just enable the option " Enable file merging and multiple check-out " for the file type *.aspx . 只需为文件类型*.aspx启用选项“ Enable file merging and multiple check-out ”即可。

For example in VS 2015 ( no vs 2010 on my side, it should be similar as vs 2015 ): 例如在VS 2015中( 我这边没有vs 2010,应该与vs 2015类似 ):

  1. Open Visual Studio --> Connect to your TFS server 打开Visual Studio->连接到TFS服务器
  2. Team --> Team Project Collection Settings --> Source Control... Team -> Team Project Collection Settings -> Source Control...
  3. Select the Asp.net Files --> Edit 选择Asp.net Files -> Edit
  4. Make sure the file type *.aspx is added and the option " Enable file merging and multiple check-out " is enabled/checked 确保添加了文件类型*.aspx ,并且启用/选中Enable file merging and multiple check-outEnable file merging and multiple check-out ”选项
  5. Close and restart the Visual Studio, then try it again, the Merge Changes in Merge Tool option will show up now. 关闭并重新启动 Visual Studio,然后重试,现在将显示“ Merge Changes in Merge ToolMerge Changes in Merge Tool选项。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Visual Studio 2010中,我看不到“合并工具选项”中的“合并更改”。 如何启用它? - Visual studio 2010, I do not see Merge Changes in Merge Tool Option. How can I enable it? 如何使用Visual Studio中的“文件比较”工具合并更改? - How can I use the File Compare tool in Visual Studio to merge changes? 如何在 Visual Studio 2019 中将 WinMerge 设置为合并工具? - How do I set WinMerge as the merge tool in Visual Studio 2019? 如何将 SemanticMerge 配置为 Visual Studio 2017 中的合并工具 - How do I configure SemanticMerge as the merge tool in Visual Studio 2017 合并工具缺失时Visual Studio合并更改 - Visual Studio Merge Changes In Merge Tool Missing 在使用TFS时,如何调整Visual Studio认为的合并冲突? - How can I fine tune what Visual Studio considers a merge conflict when using TFS? 将Araxis Merge 2010与Visual Studio 2010和TFS 2010集成 - Integrating Araxis Merge 2010 with Visual Studio 2010 and TFS 2010 如何在Visual Studio团队资源管理器中一次性接受多个文件中的Git分支合并更改? - How do I accept Git branch merge changes in multiple files in one go in Visual Studio Team Explorer? 如何将本地分支合并到TFS中 - How do I merge a local branch into TFS 如何在 Visual Studio 中启用自动填充选项 - How do i enable auto fill option in Visual studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM