简体   繁体   English

无法加载文件或程序集的“扩展名”或其依赖项之一。 该系统找不到指定的文件

[英]Could not load file or assembly 'Extensions' or one of its dependencies. The system cannot find the file specified

I extended a few controls and placed them in "Extensions" folder under my Application root. 我扩展了一些控件,并将它们放在Application根目录下的“ Extensions”文件夹中。 However I'm getting this error : 但是我收到此错误:

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:

I tried the following : 我尝试了以下方法:

1- Deleting the contents of Temporary ASP.Net files 1-删除ASP.Net临时文件的内容
2- Cleaning- Rebuilding 2-清洗-重建
3- Closing and opening visual studio 2012 but still i get the same error 3-关闭和打开Visual Studio 2012,但我仍然遇到相同的错误

Any other suggestions why it could possibly not be able to see the Extensions folder ? 还有其他建议为什么它可能看不到Extensions文件夹?

从上面的Adriano Repetti的评论中可以看出,我使用了错误的Assembly,因此这是注册的正确方法:

<%@ Register TagPrefix="RE" Namespace="MyApplication.Extensions" Assembly="MyApplication" %>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集“ Ajax”或其依赖项之一。 该系统找不到指定的文件 - Could not load file or assembly 'Ajax' or one of its dependencies. The system cannot find the file specified 具体:无法加载文件或程序集“xxxx”或其依赖项之一。 该系统找不到指定的文件 - A specific: Could not load file or assembly 'xxxx' or one of its dependencies. The system cannot find the file specified 无法加载文件或程序集“ XXX”或其依赖项之一。 该系统找不到指定的文件 - Could not load file or assembly 'XXX' or one of its dependencies. The system cannot find the file specified 无法加载文件或程序集“路径”或其依赖项之一。 该系统找不到指定的文件 - Could not load file or assembly "path" or one of its dependencies. The system cannot find the file specified XamlParseException:无法加载文件或程序集“ ResourceLibrary,...”或其依赖项之一。 该系统找不到指定的文件 - XamlParseException: Could not load file or assembly 'ResourceLibrary, …' or one of its dependencies. The system cannot find the file specified 无法加载文件或程序集或其依赖项之一。该系统找不到指定的文件 - Could not load file or assembly or one of its dependencies. The system cannot find the file specified 无法加载文件或程序集或其依赖项之一。 该系统找不到指定的文件。 (不允许GAC) - Could not load file or assembly or one of its dependencies. The system cannot find the file specified. (No GAC allowed) 无法加载文件或程序集“ServiceStack”或其依赖项之一。 该系统找不到指定的文件 - Could not load file or assembly 'ServiceStack' or one of its dependencies. The system cannot find the file specified 无法加载文件或程序集“Logging.SNLLoggingStandard3”或其依赖项之一。 该系统找不到指定的文件 - Could not load file or assembly 'Logging.SNLLoggingStandard3' or one of its dependencies. The system cannot find the file specified 无法加载文件或程序集“Elmah”或其依赖项之一。 该系统找不到指定的文件 - Could not load file or assembly 'Elmah' or one of its dependencies. The system cannot find the file specified
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM