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
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.
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.