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

Ignore Lightswitch

3 Answers 89 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rayne
Top achievements
Rank 1
Rayne asked on 29 Mar 2011, 08:53 PM
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.

3 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 30 Mar 2011, 02:05 AM
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?)
0
Yanaki Yanakiev
Telerik team
answered on 30 Mar 2011, 09:30 AM
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
0
Rayne
Top achievements
Rank 1
answered on 30 Mar 2011, 01:31 PM
Apparently I missed a few of the projects. It works now that I added ClientGenerated and ServerGenerated. Thanks.
Tags
Code Analysis
Asked by
Rayne
Top achievements
Rank 1
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Yanaki Yanakiev
Telerik team
Rayne
Top achievements
Rank 1
Share this question
or