Shared item
2 shares
Visual Studio 2008 SP1 "Background Compiling" for C#
via CodeBetter.Com - Stuff you need to Code Better! by (author unknown) on May 12, 2008
Shared by npike
Visual Studio is _just_now_ getting this feature?I don't know the proper term for the new functionality in Visual Studio 2008 SP1 for C# that does code anaysis and finds compilation errors without an explicit compile ( what I would term "Background Compilation" ), but Scott Guthrie provides the following description:
"The C# code editor now identifies and displays red squiggle errors for many semantic code issues that previously required an explicit compilation to identify. For example, if you try to declare and use an unknown type in the C# code-editor today you won't see a compile error until you do a build. Now with SP1 you'll see live red squiggle errors immediately (no explicit compile required):"
Holy time savings Batman, this is much needed functionality for those developers who are not using ReSharper or another tool that provides similar code analysis in the background. I had to jump on my development machine that is not running the Visual Studio 2008 SP1 Beta just to make sure this background compilation wasn't already being done in Visual Studio 2008.
I didn't put the feature through a thorough testing, but I was just happy that it would identify unknown classes and other little things. The red squiggles are a huge time saver.
This is worth Visual Studio 2008 SP1 alone. And, no, I don't know what performance impact this has on large projects :)
Recent Visual Studio 2008 SP1 Beta Posts:
Shared by: