C# 解决方案中项目突然丢失

发布于 2024-09-25 21:45:30 字数 327 浏览 4 评论 0原文

今天注意到一件奇怪的事情。

我正在开发一个包含大约 20 个项目的解决方案 - 主要是 DLL、三个 WinFowms 应用程序。它已经有好几年了,在.Net Framework 1.1下启动,然后在.Net 2.0下成功迁移,现在在VS2008中打开。

今天我注意到它的一些项目刚刚从解决方案树中消失了。我没有删除它们,文件夹就位,将它们添加回来甚至没有改变它们的源代码管理状态。尽管我花了很多不愉快的时间试图理解为什么其中一个应用程序无法正常工作......而且今天已经发生了两次!

这一切都很烦人,对我来说似乎是个谜。对于为什么会发生这种情况以及可以采取哪些措施来防止这种情况有何建议?

Noticed a strange thing today.

I'm working on a solution that has about 20 projects in it - mostly DLL, three WinFowms applications. It is several years old, was started under .Net Framework 1.1 and then successfully migrated under .Net 2.0 and is now opened in VS2008.

Today I noticed that some of its projects just disappeared from the Solution Tree. I didn't delete them, folders were at place and adding them back even didn't change their source control status. Though I had many unpleasant minutes trying to understand why one of the apps is not working correctly... And it had happened twice today!

All this is very annoying and seems to be a mystery to me. Any suggestions why this could happen and what can be done to prevent such situations?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文