N/APosted on - 08/23/2011
When I write code in Visual Studio and trying to debug it then I receive given error after it I remove my code and then I take code from internet and try to debug that code but same error appear again please tell me why this error appear and tell me its solution.
Microsoft Visual C# 2005 Express Edition
There were build errors. Would you like to continue and run the last successful
Thanks for providing help
Microsoft Visual C# 2005 Express Edition Build Error
Errors can occur in variety of situation. There are mainly > design time, run time & logical error occurs in our code and when we try to compile or run our code then variety of windows pop up.
For the above error, the window that pop up, I will discuss about Design time error.
You can also call it as a compile time error. This type of error occurs when we write our code. It may be syntax error, Type checking error or if the compiler crashes.
Most of the time we create this error before the program runs and in that case the program don't run and most of the time asking you that " there were build errors, would you like to continue and run the last successful build "?
If you click " yes" then it will run the last time build. If last time was not build then it will show the same result.
If you click " no " then it will take to the code window where you need to modify or correct !!!!
This type of error are very easy to handle because C# will underline those errors with colored line.
Three type of color you can see: blue , red and green.
Red lines indicate syntax errors such as missing semicolon, missing curly brackets.
Green lines indicate compiler warning because of declaring variable that are not used.
Blue lines indicate that you can edit the code without stopping the program.
I hope your problem is simple and this will help you .