In Visual Studio when developing on VB.NET, we would get an instant error list- before compiling or building the solution. Why doesn't C# have this same functionality? Whenever I want to see my errors, I have to compile first...
9 3234 JosAH 11,448
Recognized Expert MVP
In Visual Studio when developing on VB.NET, we would get an instant error list- before compiling or building the solution. Why doesn't C# have this same functionality? Whenever I want to see my errors, I have to compile first...
It all depends on your IDE; maybe your C# IDE doesn't compile the source code
you're typing in behind your back. Java's Eclipse and NetBeans do so. They only
parse just enough text to be sure that the code that you have typed is syntactically
correct. Sometimes they even manage to find semantic errors. Maybe C# isn't
such a lucky language and you have to compile everything manually yourself
before you can see the mistakes you've made.
kind regards,
Jos
I can see the errors before compiling on VS 2008 ...
Atli 5,058
Recognized Expert Expert
VS 2005 does that as well. Both the professional and Express versions.
So you are able to see errors, other than syntax errors, before you compile your application using Visual Studio?
How would I ensure that this is turned on in my settings?
Thanks for the replies...
So you are able to see errors, other than syntax errors, before you compile your application using Visual Studio?
How would I ensure that this is turned on in my settings?
Thanks for the replies...
I only see syntax errors. Are you saying you can see runtime errors before compiling your VB.NET?
I only see syntax errors. Are you saying you can see runtime errors before compiling your VB.NET?
Yes. In VB.NET, we could see some runtime errors before compiling. Not all of them of course...
JosAH 11,448
Recognized Expert MVP
Yes. In VB.NET, we could see some runtime errors before compiling. Not all of them of course...
Not knowing VB.NET I find that very strange. What causes those runtime errors then?
kind regards,
Jos
You can't see runtime errors in VB.NET's IDE. They are compile-time errors that you are seeing.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Lucas Raab |
last post by:
Are there any instant messenging programs out there for use in a Python
app?? I've heard of Jabber, but never looke into it.
|
by: Lynda Kilgore |
last post by:
jGu
----qtHwhORV90yyhqJMOc
Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE=
: 10px; TEXT-TRANSFORM: uppercase; COLOR: #ffffff; FONT-FAMILY: verdana,ar=
ial,helvetica,sans-serif; TEXT-DECORATION: none } A.eyebrow:link { TEXT-DE=
CORATION: none }</style><title>H</title><meta http-equiv=3DContent-Type co=
|
by: lafleur |
last post by:
I solved this problem, and thought I should post a solution for it.
I converted a VB.NET web app to C# using SharpDevelop. When I went to
run the C# version, the IDE was ignoring breakpoints - ie. it wouldn't
stop at breakpoints.
After investigating, we found that we had to manually add this region
to the .cs pages:
#region Web Form Designer generated code
|
by: Robert |
last post by:
I have the function below. it returns a "simpleresult" which I've also
included the definition of below.
In VS2005 (after upgrading the project), I get a warning indicating that
Function 'CloseVantive' doesn't return a value on all code paths. A null
reference exception could occur at run time when the result is used.
The code runs fine. But why do I get this message? How do i get rid of it?
The only thing I found is if i add a...
|
by: Brett Romero |
last post by:
I have a simple test app with one form, one datagridview, and a
contextmenustrip. I've assigned the menustrip to the datagridview and
given the grid one column. There isn't any data in the grid. I never
see the context menu appear when I right click the grid. Any
suggestions?
Thanks,
Brett
| |
by: Lucvdv |
last post by:
VS2005: can someone explain why this code doesn't cause endless recursion?
It just returns False.
However, if you replace "Return TestProp" with "Return Me.TestProp", the
compiler warns for recursion (a warning, not an error), and it fails with a
stack overflow at runtime -- as expected.
Public Class Form1
|
by: Chris Carlen |
last post by:
Hi:
I have begun learning Python by experimenting with the code snippets here:
http://hetland.org/writing/instant-python.html
In the section on functions, Magnus Lie Hetland writes:
--------------------------------------------------------------------
For those of you who understand it: When you pass a parameter to a
|
by: tshad |
last post by:
In VS 2008, why doesn't ToString require "()".
If I have Option Strict On on why can I do both:
selectedIndex.ToString()
selectedIndex.ToString
or
sQuery = temp.ToUpper().IndexOf("friend")
|
by: QiongZ |
last post by:
Hi, I just recently started studying C++ and basically copied an example in the textbook into VS2008, but it doesn't compile. I tried to modify the code by eliminating all the templates then it compiled no problem. But I can't find the what the problem is with templates? Please help. The main is in test-linked-list.cpp. There are two template classes. One is List1, the other one is ListNode. The codes are below:
// test-linked-list.cpp :...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |