Visual Studio解决方案资源管理器锁定

时间:2021-10-24 01:31:37

I have an issue with Visual Studio 2005 w/ TFS where, from time to time, the Solution Explorer will stop responding to interaction. Instead it does the beep, like I'm trying to click on a parent window with a modal dialog visible, but there isn't one. The only thing I've found to do so far, is to restart VS, but that's kind of a pain because our solution is rather large. And it's not even a guarantee... it might happen again when I load the solution.

我的Visual Studio 2005 w / TFS存在问题,解决方案资源管理器会不时响应交互。相反它会发出哔哔声,就像我试图点击一个可见模态对话框的父窗口,但没有一个。到目前为止,我发现的唯一一件事就是重启VS,但这很痛苦,因为我们的解决方案相当庞大。它甚至都不是保证......当我加载解决方案时,它可能会再次发生。

I was curious if anyone else has had this problem and knows of a better solution that restarting VS until it goes away.

我很好奇是否有其他人遇到过这个问题并知道一个更好的解决方案,重新启动VS直到它消失。

[Edit: 6-11-2010] I've since moved over to VS 2008 and haven't had this problem since.

[编辑:2010年6月11日]我已经转移到VS 2008并且从那时起就没有遇到过这个问题。

13 个解决方案

#1


7  

If VS Editor lockdown is accompanied by creation of Setup.exe process that never finishes (visible in the task manager), then this is an issue with Microsoft Office 2007 components.

如果VS Editor锁定伴随着从未完成的Setup.exe进程的创建(在任务管理器中可见),则这是Microsoft Office 2007组件的问题。

The solution that has worked for me - reinstalling Microsoft Office 2007. More details.

解决方案对我有用 - 重新安装Microsoft Office 2007.更多详细信息。

#2


4  

In Visual Studio 2005, the modal dialogs that pop up remember their position relative to 0,0 on the Windows virtual desktop. If you change your multimon configuration, for example removing a monitor, and the popup dialog restores itself to a position that no longer is a visible part of the virtual desktop, you can have a modal dialog existing off screen. If you enter this situation again, try hitting alt-spacebar to pull down the System menu of the window, and then press M for move. Then press one of the arrow keys and the dialog's position will then bind itself to the mouse. You can then bring the modal dialog back on screen.

在Visual Studio 2005中,弹出的模式对话框记住它们在Windows虚拟桌面上相对于0,0的位置。如果更改multimon配置(例如删​​除监视器),弹出对话框将自身恢复到不再是虚拟桌面可见部分的位置,则可以在屏幕外显示模式对话框。如果再次进入此情况,请尝试按alt-spacebar以下拉窗口的System菜单,然后按M进行移动。然后按其中一个箭头键,然后对话框的位置将自己绑定到鼠标。然后,您可以将模态对话框重新显示在屏幕上。

This bug was fixed in VS 2008 SP1.

此错误已在VS 2008 SP1中修复。

#3


1  

Yes this was a common problem in Visual Studio 2005, a background thread would like Visual Studio and no let anything happen. Then a little icon would should up in the status bar that basically said "Visual Studio is Working Be patient." This happened to me whenever I started the document explorer for the first time.

是的,这是Visual Studio 2005中的常见问题,后台线程喜欢Visual Studio,不会发生任何事情。然后在状态栏中会出现一个小图标,基本上说“Visual Studio正在工作时要耐心等待”。每当我第一次启动文档浏览器时,这都发生在我身上。

#4


1  

I have had problems like this with different parts of VS 2005, but they had more to do with network drives that were no longer accessible and IntelliSense refreshing.

我在VS 2005的不同部分遇到过这样的问题,但它们更多地与不再可访问的网络驱动器和IntelliSense刷新有关。

I made sure to unmount any unused network drives and disable IntelliSense since I'm using Visual Assist anyway using this method:

我确保卸载所有未使用的网络驱动器并禁用IntelliSense,因为无论如何我使用此方法使用Visual Assist:

http://www.wholetomato.com/forum/topic.asp?TOPIC_ID=5550

#5


1  

I had this same issue with VS2008 9.0.30729.1. SP and once I used Alt+Space, then M, then dragged the model window into view VS2008 was thereafter able to remember where I wanted this model dialog to be displayed.

我对VS2008 9.0.30729.1也有同样的问题。 SP和一旦我使用Alt + Space,然后M,然后将模型窗口拖入视图VS2008此后能够记住我希望显示该模型对话框的位置。

Note that Google was not able to find this page, but Bing was!

请注意,Google无法找到此页面,但Bing却是!

#6


1  

My OS is 64bit. I had office 2007 installed. I uninstalled it and installed office 2010. Then this problem started occurring. I ran the "C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe" application using the repair option and the issue is resolved. A colleague of mine had the same issue for the same reason and the same fix resolved the issue for him also.

我的操作系统是64位。我安装了Office 2007。我卸载了它并安装了Office 2010.然后这个问题就开始了。我使用修复选项运行“C:\ Program Files(x86)\ Common Files \ microsoft shared \ OFFICE12 \ Office Setup Controller \ Setup.exe”应用程序,问题得到解决。由于同样的原因,我的一位同事也有同样的问题,同样的解决方案也为他解决了这个问题。

#7


0  

Also, a very large document store will slow down the Team Explorer significantly.. sigh

此外,一个非常大的文档存储将显着减慢团队资源管理器..叹息

#8


0  

Try unbinding your solution from source control. You can use the command line TFS tool ("tf") to do the same actions and it should prevent VS from freezing up due to high latency connections / drops, to TFS.

尝试从源代码管理中解除您的解决方案。您可以使用命令行TFS工具(“tf”)执行相同的操作,并且它应该防止VS由于高延迟连接/丢弃而冻结到TFS。

#9


0  

My Visual Studio 2008 would lock up every time I was entering the Designer mode editing an aspx file.

每次进入Designer模式编辑aspx文件时,我的Visual Studio 2008都会锁定。

My solution was to reinstall .net 3.5 with sp1 and it seemed to solve the problem.

我的解决方案是用sp1重新安装.net 3.5,它似乎解决了这个问题。

#10


0  

I had this same problem with Visual Studio 2008 (and specifically after installing MVC framework). My resolution was to install the .Net 3.5 SP1 Family update, reinstall Visual Studio through add/remove, and reinstall MVC framework... hopefully that helps someone - because the issue was really ANNOYING.

我在Visual Studio 2008中遇到了同样的问题(特别是在安装MVC框架之后)。我的决心是安装.Net 3.5 SP1系列更新,通过添加/删除重新安装Visual Studio,并重新安装MVC框架...希望这有助于某人 - 因为问题真的很烦人。

#11


0  

If solutions start behaving badly one of the first things I would try is if deleting the .suo file helps. This file contains information about the current designer and Window state (and more).

如果解决方案开始表现糟糕,我会尝试的第一件事就是删除.suo文件有帮助。此文件包含有关当前设计器和窗口状态(以及更多)的信息。

Deleting this allows reopening the solution just like when it was just checked out from source control, without designer crashes etc.

删除它允许重新打开解决方案,就像刚刚从源代码管理中检出一样,没有设计器崩溃等。

If you have some add-in problems, running 'devenv.exe /resetskippkgs' might help. (This re-enables add-ins that have been disabled after previous errors)

如果您有一些加载项问题,运行'devenv.exe / resetskippkgs'可能有所帮助。 (这会重新启用先前错误后已禁用的加载项)

#12


0  

I just started getting the same problem with VS 2008 after a clean install of Office 2010 Pro Plus. Alt-Space-M-arrow keys isn't doing anything.

在干净安装Office 2010 Pro Plus之后,我刚开始遇到与VS 2008相同的问题。 Alt-Space-M-arrow键没有做任何事情。

#13


0  

I have had Souution Explorer lock up after undocking it and moving it onto a second monitor.

脱掉它后将Souution Explorer锁定并将其移动到第二台显示器上。

Wierdly, Solution Explorer still responded when I changed the file I was working on but did not allow me click in the window itself.

很奇怪,当我更改我正在处理的文件时,解决方案资源管理器仍然响应,但是不允许我在窗口中单击。

This was fixed by selecting Window > Reset Window Layout

选择Window> Reset Window Layout可以解决这个问题

#1


7  

If VS Editor lockdown is accompanied by creation of Setup.exe process that never finishes (visible in the task manager), then this is an issue with Microsoft Office 2007 components.

如果VS Editor锁定伴随着从未完成的Setup.exe进程的创建(在任务管理器中可见),则这是Microsoft Office 2007组件的问题。

The solution that has worked for me - reinstalling Microsoft Office 2007. More details.

解决方案对我有用 - 重新安装Microsoft Office 2007.更多详细信息。

#2


4  

In Visual Studio 2005, the modal dialogs that pop up remember their position relative to 0,0 on the Windows virtual desktop. If you change your multimon configuration, for example removing a monitor, and the popup dialog restores itself to a position that no longer is a visible part of the virtual desktop, you can have a modal dialog existing off screen. If you enter this situation again, try hitting alt-spacebar to pull down the System menu of the window, and then press M for move. Then press one of the arrow keys and the dialog's position will then bind itself to the mouse. You can then bring the modal dialog back on screen.

在Visual Studio 2005中,弹出的模式对话框记住它们在Windows虚拟桌面上相对于0,0的位置。如果更改multimon配置(例如删​​除监视器),弹出对话框将自身恢复到不再是虚拟桌面可见部分的位置,则可以在屏幕外显示模式对话框。如果再次进入此情况,请尝试按alt-spacebar以下拉窗口的System菜单,然后按M进行移动。然后按其中一个箭头键,然后对话框的位置将自己绑定到鼠标。然后,您可以将模态对话框重新显示在屏幕上。

This bug was fixed in VS 2008 SP1.

此错误已在VS 2008 SP1中修复。

#3


1  

Yes this was a common problem in Visual Studio 2005, a background thread would like Visual Studio and no let anything happen. Then a little icon would should up in the status bar that basically said "Visual Studio is Working Be patient." This happened to me whenever I started the document explorer for the first time.

是的,这是Visual Studio 2005中的常见问题,后台线程喜欢Visual Studio,不会发生任何事情。然后在状态栏中会出现一个小图标,基本上说“Visual Studio正在工作时要耐心等待”。每当我第一次启动文档浏览器时,这都发生在我身上。

#4


1  

I have had problems like this with different parts of VS 2005, but they had more to do with network drives that were no longer accessible and IntelliSense refreshing.

我在VS 2005的不同部分遇到过这样的问题,但它们更多地与不再可访问的网络驱动器和IntelliSense刷新有关。

I made sure to unmount any unused network drives and disable IntelliSense since I'm using Visual Assist anyway using this method:

我确保卸载所有未使用的网络驱动器并禁用IntelliSense,因为无论如何我使用此方法使用Visual Assist:

http://www.wholetomato.com/forum/topic.asp?TOPIC_ID=5550

#5


1  

I had this same issue with VS2008 9.0.30729.1. SP and once I used Alt+Space, then M, then dragged the model window into view VS2008 was thereafter able to remember where I wanted this model dialog to be displayed.

我对VS2008 9.0.30729.1也有同样的问题。 SP和一旦我使用Alt + Space,然后M,然后将模型窗口拖入视图VS2008此后能够记住我希望显示该模型对话框的位置。

Note that Google was not able to find this page, but Bing was!

请注意,Google无法找到此页面,但Bing却是!

#6


1  

My OS is 64bit. I had office 2007 installed. I uninstalled it and installed office 2010. Then this problem started occurring. I ran the "C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe" application using the repair option and the issue is resolved. A colleague of mine had the same issue for the same reason and the same fix resolved the issue for him also.

我的操作系统是64位。我安装了Office 2007。我卸载了它并安装了Office 2010.然后这个问题就开始了。我使用修复选项运行“C:\ Program Files(x86)\ Common Files \ microsoft shared \ OFFICE12 \ Office Setup Controller \ Setup.exe”应用程序,问题得到解决。由于同样的原因,我的一位同事也有同样的问题,同样的解决方案也为他解决了这个问题。

#7


0  

Also, a very large document store will slow down the Team Explorer significantly.. sigh

此外,一个非常大的文档存储将显着减慢团队资源管理器..叹息

#8


0  

Try unbinding your solution from source control. You can use the command line TFS tool ("tf") to do the same actions and it should prevent VS from freezing up due to high latency connections / drops, to TFS.

尝试从源代码管理中解除您的解决方案。您可以使用命令行TFS工具(“tf”)执行相同的操作,并且它应该防止VS由于高延迟连接/丢弃而冻结到TFS。

#9


0  

My Visual Studio 2008 would lock up every time I was entering the Designer mode editing an aspx file.

每次进入Designer模式编辑aspx文件时,我的Visual Studio 2008都会锁定。

My solution was to reinstall .net 3.5 with sp1 and it seemed to solve the problem.

我的解决方案是用sp1重新安装.net 3.5,它似乎解决了这个问题。

#10


0  

I had this same problem with Visual Studio 2008 (and specifically after installing MVC framework). My resolution was to install the .Net 3.5 SP1 Family update, reinstall Visual Studio through add/remove, and reinstall MVC framework... hopefully that helps someone - because the issue was really ANNOYING.

我在Visual Studio 2008中遇到了同样的问题(特别是在安装MVC框架之后)。我的决心是安装.Net 3.5 SP1系列更新,通过添加/删除重新安装Visual Studio,并重新安装MVC框架...希望这有助于某人 - 因为问题真的很烦人。

#11


0  

If solutions start behaving badly one of the first things I would try is if deleting the .suo file helps. This file contains information about the current designer and Window state (and more).

如果解决方案开始表现糟糕,我会尝试的第一件事就是删除.suo文件有帮助。此文件包含有关当前设计器和窗口状态(以及更多)的信息。

Deleting this allows reopening the solution just like when it was just checked out from source control, without designer crashes etc.

删除它允许重新打开解决方案,就像刚刚从源代码管理中检出一样,没有设计器崩溃等。

If you have some add-in problems, running 'devenv.exe /resetskippkgs' might help. (This re-enables add-ins that have been disabled after previous errors)

如果您有一些加载项问题,运行'devenv.exe / resetskippkgs'可能有所帮助。 (这会重新启用先前错误后已禁用的加载项)

#12


0  

I just started getting the same problem with VS 2008 after a clean install of Office 2010 Pro Plus. Alt-Space-M-arrow keys isn't doing anything.

在干净安装Office 2010 Pro Plus之后,我刚开始遇到与VS 2008相同的问题。 Alt-Space-M-arrow键没有做任何事情。

#13


0  

I have had Souution Explorer lock up after undocking it and moving it onto a second monitor.

脱掉它后将Souution Explorer锁定并将其移动到第二台显示器上。

Wierdly, Solution Explorer still responded when I changed the file I was working on but did not allow me click in the window itself.

很奇怪,当我更改我正在处理的文件时,解决方案资源管理器仍然响应,但是不允许我在窗口中单击。

This was fixed by selecting Window > Reset Window Layout

选择Window> Reset Window Layout可以解决这个问题