Visual Studio 2008 无法正确加载设置

发布于 2024-11-18 21:27:06 字数 1021 浏览 1 评论 0原文

我在 VS2008 中遇到了最奇怪的错误

首先,在每次加载项目时,它都会在项目文件夹内创建一个“Visual Studio 2008”文件夹。我按照这个问题解决了它: 打开每个新 VS 实例时创建的 Visual Studio 2008\Backup Files 文件夹
我用“\ourDomainServer\users\thomas\my Documents\Visual Studio 2008”修改了 VisualStudioLocation 键

现在,当我启动项目(通过双击 .sln 文件)时,它可以工作。但是当我在没有 .sln 文件的情况下启动它时,它会显示启动屏幕,然后挂起。更多:有时它加载,有时不加载......我找不到准确重现问题的方法。

无论如何,当 VS 加载时,我的设置不会加载。好吧,实际上,我的设置已加载一半:文本的颜色是白色(应该是),但背景也是白色的(即使它应该是黑色)。很难在白色背景上处理白色文本。

当我进入选项>时导入/导出设置,路径为:“\ourDomainServer\users\thomas\my Documents\visualstudion2008Settings\CurrentSettings.vssettings”。请注意“2008”和“设置”之间没有“\”。
如果我尝试修改设置路径,只需在“2008”和“设置”之间添加“\”,当我单击“保存”时,VS 将挂起。
如果我在注册表项中添加尾随“\”,则会弄乱设置路径,例如“\ourDomainServer\users\thomas\mydocuments\\ourDomainServer\users\thomas\mydocuments\visual studio...”。

对于这种非常奇怪的行为的“原因”,更重要的是“如何解决它”,您有什么想法吗?

我应该尝试简单地重新安装它吗?

谢谢

I have the weirdest bug with VS2008

At first, at each load of a project, it created a "Visual Studio 2008" folder inside the project's folder. I solved it following this question : Visual Studio 2008\Backup Files folder created when every new VS instance is opened
I modified the VisualStudioLocation key with "\ourDomainServer\users\thomas\my documents\visual studio 2008"

Now, when I launch a project (by double-clicking on the .sln file), it works. But when I launch it without a .sln file, it shows the splash screen, then hangs. And more : sometimes it loads, sometimes not... I can't find a way to reproduce the problem accurately.

In any case, when VS loads, my settings are not loaded. Well, actually, half of my settings are loaded : the color of the text is white (as it should be), but the background is also white (even if it should be black). Very hard to work with white text on a white background.

When I go to options > import/export settings, the path is : "\ourDomainServer\users\thomas\my documents\visualstudion2008Settings\CurrentSettings.vssettings". Note the absence of "\" between "2008" and "Settings".
If I tried to modify the settings path, by simply adding a "\" between the "2008" and "settings", when I click on "save", VS hangs.
If I add a trailing "\" in the registry key, it messes up the settings path, like "\ourDomainServer\users\thomas\my documents\\ourDomainServer\users\thomas\my documents\visual studio...".

Any idea as of the "why" of this really weird behavior, and more importantly, the "how to resolve it" ?

Should I just try to simply reinstall it ?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云之铃。 2024-11-25 21:27:06

好吧,我必须卸载 VS,删除所有注册表信息,然后重新安装它,它又可以工作了。

以后我会记得定期导出我的设置。

Well, I had to uninstall VS, remove all registry info, and reinstall it, and it works again.

In the future, I will remember to export my settings regularly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文