VS2013 or VS2015 shows “unspecified error”

柔情痞子 提交于 2021-02-06 14:26:34

问题


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?

enter image description here


回答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 enter image description here

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:

  1. Go at File -> Source Control -> Advanced -> Change Source Control
  2. Select your projects and unbind them
  3. 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.

  1. Make sure your solution is closed.
  2. Open your solution.
  3. 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

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