Suppress errors of files that are not set to be built from the "Error List" window
Posted
by ohadsc
on Stack Overflow
See other posts from Stack Overflow
or by ohadsc
Published on 2010-05-13T13:29:13Z
Indexed on
2010/05/13
14:14 UTC
Read the original article
Hit count: 205
visual-studio
I have some cs files in my project that are not set to be built (Properties -> Build Action = None). They contain bits of code that don't compile as a whole and are there merely for reference. I don't care about any compilation errors in them, but they appear in the "Error List" window, cluttering it. Is there some way to tell VS to ignore errors in that file? Or in all files not set to be built, at that ?
I'm using VS 2010
Thanks
© Stack Overflow or respective owner