简体   繁体   English

打开解决方案时,Visual Studio 2008挂起

[英]Visual Studio 2008 hangs while opening the solution

I have a windows service project which I have created in Visual Studio 2008, sp1 with .net framework 3.5. 我有一个Windows服务项目,该项目是在Visual Studio 2008 sp1中使用.net framework 3.5创建的。 The solution was working fine until today when I tried to open it again for further working and it just got hanged. 直到今天,当我尝试再次将其打开以进行进一步的工作时,该解决方案都运行良好,并且刚刚挂起。 Project doesn't get opened and just keep showing a waiting symbol. 项目没有打开,只是一直显示等待的符号。 I don't know how and why did it happen. 我不知道它是如何发生的以及为什么发生。 I tried to clear bin folder before opening but same result. 我尝试在打开前清除bin文件夹,但结果相同。 This project is not connected to any source control (TFS/VSS). 该项目未连接到任何源代码管理(TFS / VSS)。 Also other VS2008 projects get opened without any issue. 另外,其他VS2008项目也可以正常打开。

Could anyone please provide a solution? 有人可以提供解决方案吗?

Try opening a new solution, and adding the existing projects to it, one by one. 尝试打开一个新的解决方案,并一个一个地添加现有项目。

Also, you should put your solution under source control, and then you can easily track it's changes over time. 另外,您应该将解决方案置于源代码控制之下,然后可以轻松跟踪其随着时间的变化。 You could then revert any change that caused an odd error like this. 然后,您可以还原任何引起此类奇怪错误的更改。

EDIT: 编辑:

If you can't create new windows based solutions, perhaps you need to reinstall Visual Studio. 如果无法创建基于Windows的新解决方案,则可能需要重新安装Visual Studio。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM