visual studio 2015 - How can I suppress Intellisense errors for certain files? -
visual studio 2015 offers option show intellisense errors in same window displays regular build errors. because don't need build in order see if code sytatictically correct.
however, window shows 1 false positive error seems related intellisense bug. there way suppress intellisense errors specific code regions or entire files?
did find answer? can writing following in code on line prior error raised
#pragma warning disable xxxx
where xxxx error code without "cs"
or can try these steps suppress specific warnings visual c# or f#
- in solution explorer, choose project in want suppress warnings.
- on menu bar, choose view, property pages.
- choose build page.
- in suppress warnings box, specify error codes of warnings want suppress, separated semicolons, , rebuild solution.
taken here https://msdn.microsoft.com/en-us/library/jj715718.aspx
note warnings mentioned rather errors, me listed errors if choose show suppressed errors in error list window. might need enable column in error list window.
Comments
Post a Comment