VS2008:项目现在需要永远打开 [英] VS2008: Projects now take forever to open

查看:19
本文介绍了VS2008:项目现在需要永远打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天下午,Visual Studio 2008 突然开始花费很长时间打开 ASP.NET(Web 窗体)项目,几个月后没有出现任何问题.

yesterday afternoon Visual Studio 2008 suddenly started taking a really long time to open ASP.NET (Web Forms) projects, after several months with no problems.

在我尝试向我的主要工作项目添加对CrystalDecisions.Enterprise.dll"和CrystalDecisions.Enterprise.Framework.dll"的引用后,这个问题似乎开始了.但是,现在每个项目都受到这种滞后的影响——即使是只有默认页面且没有其他 VS 实例运行的 ASP.NET 测试项目,以及删除了这些引用的主项目.

This problem seemed to begin after I tried adding references to "CrystalDecisions.Enterprise.dll" and "CrystalDecisions.Enterprise.Framework.dll" to my main work project. However, every project now suffers from this lag--even ASP.NET test projects with only a default page and no other VS instances running, and my main project with those references removed.

我不知道 CrystalDecisions 的事情是否是巧合,但那是从那时开始的,即使在删除引用和新的空项目后仍然存在.

I don't know if the CrystalDecisions thing is a coincidence or not, but that's when this started, and persisted even after removing the references and in new, empty projects.

默认情况下,我在一个空的环境(没有 Web 起始页)下打开 VS,这会很快发生——它会打开现在需要几分钟才能完成的任何项目.

By default I open VS with an empty environment (no Web start page) and this happens quickly--it's opening any project that now takes minutes to complete.

可能很重要的事情:这是在无法访问 Internet 的网络上,所以如果 VS 突然在外面寻找以前没有的东西,即使打开一个没有引用的空测试项目,这也可能是一个问题.

Something that may matter: this is on a network with no Internet access, so if VS is suddenly looking outside for something it wasn't before, even when opening an empty test project with no references, that could be a problem.

我尝试过的东西:

  1. 卸载/重新安装 VS2008(和 SP1)
  2. 将调试器从一个 VS 实例附加到另一个加载测试项目并监控本机/托管代码(根据:Visual Studio 在打开项目时冻结)
  3. 确保工具|选项|调试|符号没有外部引用
  4. 通过工具|选项寻找任何其他外部参考(例如,环境|启动很清楚)

这是在 XP 上(所以不是:VS 2008 Open Web Site 需要永远!).

This is on XP (so no: VS 2008 Open Web Site takes forever!).

有人对我可以检查的其他内容有什么建议吗?不幸的是,我在我的机器上没有管理员权限,所以我无法安装其他监控工具,如 Sysinternals(或重新安装操作系统,并且可能会在几周内或永远不会发生这种请求).

Does anybody have any advice on what else I can check? Unfortunately I have no admin rights on my machine so I can't install other monitoring tools like Sysinternals (or reinstall the OS, and a request for this might happen in weeks, or never).

在打开测试项目时附加调试器时,我真的没有看到任何东西.有一个对 mswsock.dll 的引用;这是否意味着它正在尝试调用某些东西,或者它只是准备在本地运行我的项目或其他一些正常操作?

I didn't really see anything when attaching the debugger while opening a test project. There was a reference to mswsock.dll; does that mean it's trying to call out for something or is it just preparing to run my project locally or some other normal operation?

我还尝试创建一个空的类库(即非 Web)项目,加载时间也一样长.

I also tried creating an empty Class Library (i.e., non-Web) project and it takes just as long to load.

当加载一个项目时,VS 会怎么做,而这个项目可能会改变并拖慢速度?

What does VS do when loading a project that could change and slow things down to a crawl?

推荐答案

是 BusinessObjects Enterprise 的东西让 VS 缓慢爬行.

It's the BusinessObjects Enterprise stuff that's knocking VS down to a slow crawl.

他们的 .NET SDK 做到了这一点,甚至在我安装之前,仅仅引用相关程序集就导致我的主要工作项目的启动时间为 7 分钟.

Their .NET SDK does this, and even before I installed that just referencing the relevant assemblies led to a start-up time of 7 minutes for my primary work project.

它们与 IDE 的集成使得每个项目——即使是具有默认设置的简单项目——打开速度很慢.

Their integration with the IDE makes every project--even simple ones with default settings--slow to open.

一般的 Web 和 SAP 论坛搜索并没有发现太多关于这个问题的信息,这令人困惑(并且让我觉得我做错了什么;但我团队中的其他人现在也遇到了同样的问题).

General Web and SAP forum searches haven't turned up much about this problem, which is confusing (and makes me think I'm doing something incorrectly; yet others on my team now have the same problem).

有没有其他人在使用 BO Enterprise 时遇到过这个问题?有人在使用它但没有看到我们在 VS 集成中遇到的相同问题吗?

Has anybody else encountered this problem with BO Enterprise? Anybody using it and not seeing the same issues we are with VS integration?

在这一点上,我们认为我们不能用它来实际开发.[我在他们的论坛上发布了一些内容,但还没有收到任何回复.]

At this point we don't think we can realistically develop with it. [I posted something over on their forums but haven't received any responses yet.]

这篇关于VS2008:项目现在需要永远打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆