视觉工作室不记得打开的文件&启动项目 [英] visual studio not remembering open documents & startup project

查看:22
本文介绍了视觉工作室不记得打开的文件&启动项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去一周,我的 VS 解决方案发生了一些变化,我还没有找到修复它的设置.

For the past week, something has changed about my VS solution, and I havent found a setting to fix it yet.

当我关闭解决方案并重新启动时:

When I close the solution and restart:

  1. 启动项目恢复到与我上次关闭时选择的不同的项目
  2. 我的项目层次结构不是它关闭时的样子 - 每个项目都被扩展
  3. 关闭时打开的文档全部关闭

在每种情况下,我都希望解决方案看起来就像我上次关闭它时一样.

In each case I want the solution to look just like it did when I closed it last.

我该如何实现?

干杯,
贝瑞尔

推荐答案

我相信这些信息都存在于您的 .suo 文件和/或 .user 文件中.如果它们已损坏,VS 会挣扎,因此它会恢复为默认设置.

I believe this information all lives in your .suo file and/or .user file. If they've become corrupt, VS will struggle, so it'll revert to the default.

也许尝试退出 VS,删除 .suo 和/或 .user 文件,启动 VS 并按照您想要的方式进行设置,再次重新启动并查看是否可以记住了设置.

Maybe try exiting VS, deleting the .suo and/or .user files, start VS and set it up how you want, restart it again and see if it remembered the settings.

这篇关于视觉工作室不记得打开的文件&启动项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆