通过调试运行项目需要很长时间才能加载
由于某种原因,我在 VS2010 中的 Silverlight 项目最近开始需要很长时间才能加载,甚至需要 10 分钟左右。有时据我所知,它永远不会加载,只是挂在 silverlight 加载屏幕上,并带有圆形动画中的蓝点。但在达到这一点之前,它加载每个符号文件都要花费整整 10 秒左右的时间。所以在输出中我会得到:
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Symbols loaded.
然后 10 秒后我会得到下一个,大约有 50 个。 奇怪的是,当我在禁用互联网的情况下运行该项目时,它的加载速度非常快。这些符号加载语句中的每一个都飞驰而过,在我意识到之前,我正在查看正在运行的 Silverlight项目。我的队友认为这可能与 Perforce 有关,这就是我们管理源代码的方式,并且我们在 Visual Studio 中有一个插件。
任何人都知道可能导致此问题的原因是什么?或者曾经经历过类似的现象吗?昨天随机开始的。
谢谢!
编辑:我正在使用内置的 VS Server 来托管我的项目(如果相关的话)。
已解决:我们不知道到底是什么原因导致了该问题,但它与网络有关并且已自行修复。我只是希望这样的事情不要再发生了。
For some reason, my Silverlight project in VS2010 recently started to take forever to load, upwards of even 10min or so. Sometimes it won't ever load as far as I can tell, and just hangs on the silverlight loading screen with the blue dots in a circle animation. But before it even gets to that point, it painfully spends a solid 10 seconds or so for each symbols file it loads. So in the output I'll get:
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Symbols loaded.
Then 10 seconds later I'll get the next one, and there's about 50 of them. The weird thing is that when I run the project with my internet disabled, it loads extremely quickly. Each one of those symbols loaded statements flies by, and before I know it I'm looking at my running Silverlight project. My teammate things it might have to do with Perforce, which is how we manage our source, and which we have a plugin for in Visual Studio.
Anyone have any ideas what could be causing this? Or experienced a similar phenomenon once? It randomly started yesterday.
Thanks!
Edit: I'm using the built-in VS Server to host my project, if that's relevant.
Resolved: We don't know exactly what caused the issue, but it was network related and fixed itself. I just hope it doesn't happen again.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能正在从 MSDN 或其他服务器下载符号。检查选项->调试->符号并确保您没有任何活动位置。
You might be downloading symbols from MSDN or some other server. Check Option -> Debugging -> Symbols and make sure you don't have any locations active.