我正在使用带有SP1的Visual Studio 2008 Team System,并且我注意到每当我停止调试应用程序时IDE会挂起几(10-15)秒的烦人倾向.起初我认为这只发生在WPF应用程序中,但我也观察到Windows窗体应用程序和ASP.NET站点中的行为.我已根据之前的帖子对选项进行了一系列更改,并完成了详尽的Google/MSDN搜索,但仍未找到阻止此操作的方法.
有人有主意吗?
@ korona - 不,没有解决它.谢谢你的建议.
ProcMon中的更多研究显示了这个有趣的消息,不确定它是否相关:
8:45:46.6790857 AM WindowsFormsApplication1.vshost.exe 7684 FASTIO_CHECK_IF_POSSIBLE C:\WINXP\Microsoft.NET\Framework\v2.0.50727\CONFIG\enterprisesec.config.cch FAST IO DISALLOWED Operation: Read, Offset: 48, Length: 12 8:45:46.6793569 AM WindowsFormsApplication1.vshost.exe 7684 ReadFile C:\WINXP\Microsoft.NET\Framework\v2.0.50727\CONFIG\enterprisesec.config.cch FAST IO DISALLOWED Offset: 508, Length: 12
重复几次,如数百次,然后切换到不同的路径:
8:45:46.7470314 AM WindowsFormsApplication1.vshost.exe 7684 FASTIO_CHECK_IF_POSSIBLE D:\documents and settings\myusername\Application Data\Microsoft\CLR Security Config\v2.0.50727.42\security.config.cch FAST IO DISALLOWED Operation: Read, Offset: 48, Length: 12 8:45:46.7472187 AM WindowsFormsApplication1.vshost.exe 7684 ReadFile D:\documents and settings\myusername\Application Data\Microsoft\CLR Security Config\v2.0.50727.42\security.config.cch FAST IO DISALLOWED Offset: 508, Length: 12
并且再次重复多次,每次迭代的偏移量略有变化.也许无关,但....