473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

VS doesn't refresh display when using C#

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
2 3009
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: user | last post by:
when i first load index.php with arguments ie: "index.php?page=x", the $_SERVERvalue is null. I then get the session id appended to each link. If i refresh the page, I get the $_SERVER I want, but...
6
by: laura | last post by:
I'm doing a page which gathers some text in the form of a text box in a <form>. This text is saved to a text file, notices.txt and I want to be able to display the saved text on the page, as soon...
5
by: Tmajarov | last post by:
Haven't been able to find a clear answer to this... I am building an asp.net application and trying to enforce some work flow by displaying a form via the showmodaldialog method. I can get the...
8
by: TS | last post by:
Im in a web page and call an asynchronous method in business class. the call back method is in the web page. When page processes, it runs thru code begins invoking the method then the page...
17
by: SamSpade | last post by:
picDocument is a picturebox When I do picDocument.Invalidate() the box paints. But if instead I do picDocument.Refresh() the box does not paint. What does Refresh do. I guessed it did an...
3
by: Ned Balzer | last post by:
Hi all, I posted this question some time ago in an earlier thread but so far I still don't have an understanding of why this is happening or what I can do to fix it. I use Session variables,...
2
by: wreed06 | last post by:
Hello, I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully...
2
by: malcster2 | last post by:
hello, i am a beginner to ajax. i have created a mysql database, which i would like to access from a web page. i have created 3 files, a html to display the data, a php file to extract the data,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.