问题
When I open my worked solution (after merge from other branch) VS2013 shows error message "unspecified error" and I cannot close the window (the error's dialog jumps each time when I close it). VS2012 opens the solution without error messages. I suspect issue related to TFS configuration. How can I found actual reason of the error?
回答1:
I have searched a lot about its root cause but couldn't found any concrete information.
For me,
- Deleting the solution's .suo file.
resolve this problem.
回答2:
I still don't understand the actual reason for this error, but I found a workaround.
According to "Change source control" window (VS) solution file (.sln) not connected to TFS
When I connected the solution to TFS in VS2012 (with the help of this link), VS2013 opened the solution too without error message.
回答3:
Found a solution at this address:
- Go at File -> Source Control -> Advanced -> Change Source Control
- Select your projects and unbind them
- Rebind them.
The problem should be solved.
回答4:
I have removed and recreated new workspace for the project and its works for me
回答5:
This always works for me 100% of the time.
- Make sure your solution is closed.
- Open your solution.
- As QUICKLY AS YOU CAN press Ctrl-Shift-B.
Your solution will build and the error message will disappear. When it reappears do the same thing again.
回答6:
May be URL of TFS server is mentioned wrongly in solution file.
来源:https://stackoverflow.com/questions/28926888/vs2013-or-vs2015-shows-unspecified-error