当我添加程序集引用时,Visual Studio 2008 会做什么?
当我将对程序集(位于 GAC 中)的引用添加到 ASP.NET 项目中的 web.config 时,Visual Studio 会做什么?
[这与之前有关 BusinessObjects 的问题相关:VS2008:项目现在需要永远打开 ]
当我添加“CrystalDecisions. Enterprise”和“CrystalDecisions.Enterprise.Framework”添加到 web.config 中的程序集元素中,VS 对此进行了长时间的思考,在它审查新来者的同时将我锁定了几分钟。
这段时间它在做什么呢?我用谷歌搜索了这个,但结果是空的。
我可以做出一些有根据的猜测(也许是 IntelliSense 集成?),但理想情况下希望找到一些文档来准确描述正在发生的情况。
最终,我希望了解为什么这些 BO 参考资料使 VS 需要几分钟才能打开我的项目(我在 SAP 论坛上被淘汰)。
When I add a reference to an assembly (living in the GAC) to web.config in an ASP.NET project, what does Visual Studio do?
[This is related to an earlier question pertaining to BusinessObjects: VS2008: Projects now take forever to open ]
When I add "CrystalDecisions.Enterprise" and "CrystalDecisions.Enterprise.Framework" to the assemblies element in web.config, VS thinks long and hard about it, locking me out for a couple of minutes while it scrutinizes the newcomers.
What is it doing during this time? I Googled this but came up empty.
I can make some educated guesses (IntelliSense integration, perhaps?) but would ideally like to find some documentation describing exactly what's going on.
Ultimately I'm hoping to learn why these BO references are making VS take several minutes to open my projects (I struck out on the SAP forums).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我无法直接帮助您查找文档,但 Visual Studio 需要将这些程序集加载到内存中并导航程序集结构以了解许多不同的内容,例如智能感知填充、对象浏览器等。它还可能需要加载其他 GAC这些程序集依赖于内存并执行类似操作的项目。
I can't help you directly with finding documentation but Visual Studio will need to load these assemblies into memory and navigate the assembly structure for many different things, such as Intellisense population, Object Browser, etc. It will also have to potentially load other GAC items that those assemblies depend upon into memory and do similar things.