By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,454 Members | 1,417 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,454 IT Pros & Developers. It's quick & easy.

VS doesn't refresh display when using C#

P: n/a
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.
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.
"John" <no****@please.net> wrote in message
news:uq**************@TK2MSFTNGP12.phx.gbl...
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.

Nov 15 '05 #2

P: n/a
Yep, that's all I needed. Knowing there is a reason (rather than 'just my
setup/config'), is fine.

Thanks!
"Grant Richins [MS]" <gr*****@online.microsoft.com> wrote in message
news:e7**************@TK2MSFTNGP09.phx.gbl...
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.

--
--Grant
This posting is provided "AS IS" with no warranties, and confers no rights.

"John" <no****@please.net> wrote in message
news:uq**************@TK2MSFTNGP12.phx.gbl...
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.


Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.