Erroneous warning

Thread is closed for posting
2 posts, 0 answers
  1. Jan
    Jan avatar
    5 posts
    Member since:
    Aug 2012

    Posted 11 Aug 2012 Link to this post

    JustCode creates a warning for an unused XAML resource.

    However, the XAML resource is referred to in the code:

    myControl.Style = (Style)Resources["MyStyle"];

    I understand that it is difficult (or maybe even impossible, given end-user expectations of performance) to check for a resource that may be referred to in code.

    Just a heads-up on what is fundamentally a bug though.

  2. Svetlozar
    Svetlozar avatar
    294 posts

    Posted 16 Aug 2012 Link to this post


    Thank you for your feedback!

    Yes, you are right, we don't analyze backend usages of resources. We could improve that in the future, but I can't promise you anything about the time frame.

    If you have any other problems or suggestions, please don't hesitate to write back!

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top