This question is locked. New answers and comments are not allowed.
I am working with a project that has a bunch of user controls in it. I recently merged this over to a new branch and since doing that the new branch is getting tons (1205) false positive errors. The errors read "ASP.Net tags: File not found" and "ASP.Net tags: ASP.net tag uc:customcontol not registered" . I have verified that the file does exist and it exists in the specified location. Any ideas why I am now getting all these errors where I wasn't before?
4 Answers, 1 is accepted
0
Hi,
Thank you for your feedback. We have seen a similar to the "File not found issue" when the file is a linked one. Is that your case as well?
As for the second one - we were not able to reproduce it. Could you send us a sample solution that reproduces this issue.
Another thing you could do is to refresh the code analysis from the JustCode menu to see whether the errors are still shown.
That way we will be able to find the reason and fix it as soon as possible.
Thank you for your help!
Kind regards,
Ivan
the Telerik team
Thank you for your feedback. We have seen a similar to the "File not found issue" when the file is a linked one. Is that your case as well?
As for the second one - we were not able to reproduce it. Could you send us a sample solution that reproduces this issue.
Another thing you could do is to refresh the code analysis from the JustCode menu to see whether the errors are still shown.
That way we will be able to find the reason and fix it as soon as possible.
Thank you for your help!
Kind regards,
Ivan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Andrew
Top achievements
Rank 1
answered on 01 Aug 2012, 01:34 PM
Hi,
I can confirm the reported problems (using Visual Studio 2010 with JustCode 2012.2.719.1)
We have the scenario that user controls are in a separate project than the actual web site.
All controls are registered via web.config file as described by ScottGu - http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx
web.config:
<add tagPrefix="uc" tagName="UIKeywordLocationSearch" src="~/UIComponents/UIKeywordLocationSearch.ascx"/>
*.aspx file:
<uc:UIKeywordLocationSearch ID="Search" runat="server"></uc:UIKeywordLocationSearch>
Gives me the following output in JustCode error window:
ASP.Net tags: ASP.net tag uc:UIKeywordLocationSearch not registered *.aspx Website 32 5 ASP.Net tags
Your suggestion to refresh the code analysis doesn't improve the situation and gives same amount of JustCode errors.
Regards
I can confirm the reported problems (using Visual Studio 2010 with JustCode 2012.2.719.1)
We have the scenario that user controls are in a separate project than the actual web site.
All controls are registered via web.config file as described by ScottGu - http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx
web.config:
<add tagPrefix="uc" tagName="UIKeywordLocationSearch" src="~/UIComponents/UIKeywordLocationSearch.ascx"/>
*.aspx file:
<uc:UIKeywordLocationSearch ID="Search" runat="server"></uc:UIKeywordLocationSearch>
Gives me the following output in JustCode error window:
ASP.Net tags: ASP.net tag uc:UIKeywordLocationSearch not registered *.aspx Website 32 5 ASP.Net tags
Your suggestion to refresh the code analysis doesn't improve the situation and gives same amount of JustCode errors.
Regards
0
Hi,
Thank you for your feedback and sorry for the late reply. I tried to reproduce your issue, following the steps you gave me, but I was not able to.
Could I ask you to send me a sample solution that reproduces this issue?
Thank you for your help!
Kind regards,
Ivan
the Telerik team
Thank you for your feedback and sorry for the late reply. I tried to reproduce your issue, following the steps you gave me, but I was not able to.
Could I ask you to send me a sample solution that reproduces this issue?
Thank you for your help!
Kind regards,
Ivan
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Mustafa
Top achievements
Rank 1
answered on 20 Oct 2013, 09:20 PM
All controls are registered via web.config.
i did it. i survive!