VS doesn't refresh display when using C#

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi.
When I use VB.NET projects, Visual Studio refreshes the display when I
correct errors. (i.e. removes the blue and red lines under syntax errors
etc.)
But when I use C# projects, the display doesn't refresh until I do a build,
or a "View in browser". Can anyone help or have advice? This is VERY
frustrating for a beginner like myself having to rebuild every time I TRY to
correct something just to see if my syntax errors are fixed.
Thanks in advance.
 
Well, VB and C# are a little different.

In C# the compiler is only run when requested by a build, and as such only
updates semantic errors (the blue squiggles) with a build. The lexer and
parser are run continuously such that parse errors (red squiggles) are
caught almost immediately and disappear once fixed without requiring a
rebuild.

I know it doesn't help much, but hopefully understanding the differences
between the blue and red squiggles should help a little.
 
Yep, that's all I needed. Knowing there is a reason (rather than 'just my
setup/config'), is fine.

Thanks!
 
Back
Top