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.