Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue while trying to compare file with server version

For some reason I really can't understand, whenever I try to compare a file with its server version, Visual Studio freezes. It shows this message at the bottom:

Running a compare operation in the background. Once the operation has completed, the results will be displayed in the compare tool.

What's even more strange is that it will freeze only in ONE particular solution and work fine in every others.

Did anyone ever experienced this issue? If so how did you solve it?

Here's what I tried so far:

  • Compared files of different sizes and types
  • Changed my screens resolutions in case the compare tool window was in a popup somewhere outside screen bounds
  • Ran Visual Studio in safe mode
  • Ran Visual Studio in diagnosis mode (haven't found anything significant in the log file)
  • Deleted solution.suo file and projects .user files
  • Installed a third party comparison tool (in case the issue was within the diffmerge.exe tool itself)
  • Unbinded / rebinded solution to source control
  • Deleted Visual Studio components cache
  • Deleted Team Foundation cache
  • Repaired Visual Studio installation
  • Uninstall / reinstall Visual Studio

None of this made any difference.

Also, common TFS operations like checking in and out works normally.

Thanks for any help you can provide.

MORE DETAILS ON THE ENVIRONMENT:

  • Windows 8.1 Pro 64 bits
  • (ask me anything)

MORE DETAILS ON THE SOLUTION:

  • It's composed of 79 projects, most of them being VB.NET library projects.
  • (ask me anything)
like image 774
Crono Avatar asked Feb 20 '14 14:02

Crono


People also ask

How do I compare versions in Visual Studio?

locate the required file in the Solution Explorer window, right-click it and choose Compare Selected File in the context menu; open the required file in Visual Studio, right-click the required document name in the document tab well and in the document's context menu select Compare Current File.

How can I compare two text files for changes?

Open one of the two versions of the document that you want to compare. On the Tools menu, point to Track Changes, and then click Compare Documents. In the Original document list, select the original document. In the Revised document list, browse to the other version of the document, and then click OK.


1 Answers

Do you have a third party compare tool setup/configured in VS? Go Tools > Options > expand Source Control > select Visual Studio Team Foundation Server > click Configure User Tools... It might be pointing or waiting for feedback from a third party app like Beyond Compare which isn't starting up or is incorrectly configured.

like image 131
Alicia Avatar answered Oct 14 '22 16:10

Alicia