Using directive not required doesn't account for xml doc references

2 posts, 0 answers
  1. Robert
    Robert avatar
    1 posts
    Member since:
    Apr 2011

    Posted 30 Dec 2011 Link to this post

    I followed the guidance of a using directive not required message and found myself with a build break because the using directive was satisfying a Category ref in xml doc was using the using directive to satisfy a non-fully qualified type name.

    In the C# project settings I have "XML documentation file" set to the XML doc I want generated (to enable the XML doc feature in Visual Studio 2010), I have warning level set to 4 and I have "Treat warnings as errors" set to "All".

    In this combination of settings I would expect JustCode to respect the compiler's behavior and not guide me towards a build break.

    Robert.
  2. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 06 Jan 2012 Link to this post

    Hello,

    Thank you for your feedback and sorry for the inconvenience!

    Our unused using directives analysis is based on typename usages in C# code, we don't annotate typename usages in xml documentation.

    I created a PITS item for it, feel free to give your vote for it - link.

    Greetings,
    Svetlozar
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top