![](/img/trans.png)
[英]Could not load file or assembly 'Ajax' or one of its dependencies. The system cannot find the file specified
[英]Could not load file or assembly 'Extensions' or one of its dependencies. The system cannot find the file specified
我扩展了一些控件,并将它们放在Application根目录下的“ Extensions”文件夹中。 但是我收到此错误:
Could not load file or assembly 'Extensions' or one of its dependencies. The system cannot find the file specified.
Line 7: <%@ Register TagPrefix="RE" Namespace="MyApplication.Extensions" Assembly="Extensions" %>
Line 8:
我尝试了以下方法:
1-删除ASP.Net临时文件的内容
2-清洗-重建
3-关闭和打开Visual Studio 2012,但我仍然遇到相同的错误
还有其他建议为什么它可能看不到Extensions文件夹?
从上面的Adriano Repetti的评论中可以看出,我使用了错误的Assembly,因此这是注册的正确方法:
<%@ Register TagPrefix="RE" Namespace="MyApplication.Extensions" Assembly="MyApplication" %>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.