Visual Studio not saving startup project and solution config

前端 未结 2 1853
一向
一向 2020-12-21 06:45

I\'ve got a C++ solution that always forgets the solution config(debug vs release etc), and startup project when opened.

On startup it always defaults back to debug

相关标签:
2条回答
  • 2020-12-21 07:22

    This information is stored in a .suo file. In VS 2015 this file is stored in a hidden .vs directory along the solution file (.vs\solution_name\v14\.suo). You can try to delete this file in case it is corrupted.

    0 讨论(0)
  • 2020-12-21 07:25

    The selected answer did not work for me, the file got recreated but after that again when running the solution it switched to a wrong startup project. I ended up fetching the complete solution again from our GIT repository, which did fix the issue.

    0 讨论(0)
提交回复
热议问题