如何识别 GAC 程序集是否正在加载 [英] How to identify if a GAC assembly is loading

查看:26
本文介绍了如何识别 GAC 程序集是否正在加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已安装 Visual Studio 2011 测试版,但发现我正在使用的网站已停止工作.有人建议有来自 GAC 的 MVCRazor 程序集正在加载和接管.我将如何检查这个?

I have installed Visual Studio 2011 beta, and have found that a website I was working on has since stopped working. It has been suggested that there is an MVC or Razor assembly from the GAC which is loading and taking over. How would I check this?

推荐答案

在调试模式下运行应用程序并观察 Visual Studio 中的输出窗口.它将在加载时列出每个程序集,您将通过其完整文件路径轻松识别 GAC 程序集.

Run the application in Debug mode and watch the Output window in Visual Studio. It will list every assembly as it is loaded, you will recognize GAC assemblies easily by its full file path.

这篇关于如何识别 GAC 程序集是否正在加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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