2

As show in the screenshot, how can I disable showing the wavy lines?

enter image description here

user1888955
  • 626
  • 1
  • 9
  • 27
  • That is an extremely tiny screenshot, which doesn't really show what you are talking about. – howcheng Jun 29 '16 at 22:26
  • @howcheng Hi, sorry for that inconvenience. I've update the screenshot. – user1888955 Jun 29 '16 at 22:44
  • The green wavy lines are Warnings. This [SO answer](http://stackoverflow.com/questions/17088244/how-can-i-disable-a-specific-warning-for-a-c-sharp-project-in-vs2012) might help you. But you should try and fix them instead of suppress them, because they may comeback and bite you in the butt later on. – zgood Jun 29 '16 at 23:12
  • @zgood Hi, I write a custom handler to process a custom XML block in web.config. But somehow, the warnings show up... – user1888955 Jul 05 '16 at 17:22

1 Answers1

3

Assuming you are using Productivity Power Tools extension in VS

Tools -> Options -> Productivity Power Tools -> Solution Error Visualizer -> untick "Show squiggles for error items in Solution Explorer"

desflan
  • 468
  • 3
  • 13