This is a migrated thread and some comments may be shown as answers.

Problem with Templates

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Linus
Top achievements
Rank 2
Linus asked on 18 Mar 2011, 12:14 PM
Hi!

I'm trying out JustCode and noticed a lot of errors after running Code Analysis. After further investigation it seems that all of these are of type: "C#: Unknown entity: ..." and "C#: There is no applicable variable or member".

In our application we have a UserControl that helps with controlling layout. This is partly done with Templates. The templates are marked with the following attributes:

[TemplateContainer(typeof(BaseContainer)),
TemplateInstance(TemplateInstance.Single),
PersistenceMode(PersistenceMode.InnerProperty)]
public ITemplate HeaderTemplate
{
    get { return headerTemplate; }
    set { headerTemplate = value; }
}

I'm suspecting that JustCode is having problems finding controls in our templates...

Any thoughts?

1 Answer, 1 is accepted

Sort by
0
Deyan Varchev
Telerik team
answered on 30 Mar 2011, 09:35 AM
Hello Linus,

 Thanks for sending this report. This problem has been reported by other users as well and we were successfully able to reproduce it locally. It is a Good-Code-Red issue that we treat with highest priority so we'll do our best to fix it as soon as possible. As a temporary workaround you could ignore those errors either using the right-click menu in JustCode's Error List or from the Fix... menu (JustCode | Fix... - Alt+Enter ).

Best wishes,
Deyan
the Telerik team
Tags
General Discussions
Asked by
Linus
Top achievements
Rank 2
Answers by
Deyan Varchev
Telerik team
Share this question
or