简体   繁体   中英

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. 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
2- Cleaning- Rebuilding
3- Closing and opening visual studio 2012 but still i get the same error

Any other suggestions why it could possibly not be able to see the Extensions folder ?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

Related Question Could not load file or assembly 'Ajax' or one of its dependencies. The system cannot find the file specified A specific: Could not load file or assembly 'xxxx' or one of its dependencies. The system cannot find the file specified 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: 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 Could not load file or assembly or one of its dependencies. The system cannot find the file specified. (No GAC allowed) Could not load file or assembly 'ServiceStack' or one of its dependencies. The system cannot find the file specified Could not load file or assembly 'Logging.SNLLoggingStandard3' or one of its dependencies. The system cannot find the file specified 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