Ignore Lightswitch

4 posts, 0 answers
  1. Rayne
    Rayne avatar
    241 posts
    Member since:
    Sep 2010

    Posted 29 Mar 2011 Link to this post

    I'm trying to figure out how to turn off Code Analysis for my Lightswitch project. I keep getting numerous errors about unknown entites and methods not used because of the way lightswitch works.

    I can temporarily turn off all Errors and Warnings, but the next time I modify the code behind, I get more squiggles. It's driving me crazy.

    I'm not sure what to put in the Exclude Projects setting to make it ignore my lightswitch project since it's comprised of several different projects.
  2. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 29 Mar 2011 Link to this post

    I don't have it in front of me but in the options isn't there a text box that allows you to enter project names to ignore (comma or semicolon delimited i think?)
  3. DevCraft banner
  4. Yanaki Yanakiev
    Admin
    Yanaki Yanakiev avatar
    16 posts

    Posted 30 Mar 2011 Link to this post

    Hi All,

    You are correct Steve there is such option(please find the screenshot attached).
    Back to Rayne's question you can list all the different projects in the "Exclude projects filters".


    Best wishes,
    Yanaki Yanakiev
    the Telerik team
  5. Rayne
    Rayne avatar
    241 posts
    Member since:
    Sep 2010

    Posted 30 Mar 2011 Link to this post

    Apparently I missed a few of the projects. It works now that I added ClientGenerated and ServerGenerated. Thanks.
Back to Top