+ Reply to Thread
Results 1 to 4 of 4

Thread: Visual Studio 2008 SP1 "Background Compiling" for C#

  1. #1
    RSS Feed Bot Kernel is on a distinguished road
    Join Date
    Sep 2006
    Posts
    1,231

    Visual Studio 2008 SP1 "Background Compiling" for C#

    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:



    More...

  2. #2
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Visual Studio 2008 SP1 "Background Compiling" for C#

    This feature has been available in the VB.NET version for years. I'm not sure why it was only introduced now in C# - after all, C# is waaaay cooler than VB.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  3. #3
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: Visual Studio 2008 SP1 "Background Compiling" for C#

    The squiggle lines have been in C# since the beginning just like in VB. I think the article means "They are adding more squiggle lines without the need to compile". Or maybe, I just read it wrong.

  4. #4
    Xav
    Xav is offline
    Code Slinger Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav has much to be proud of Xav's Avatar
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,210
    Blog Entries
    13

    Re: Visual Studio 2008 SP1 "Background Compiling" for C#

    Yes, I know they have been available, as I have been using them for years. However, in C# the squiggle lines have never appeared until you compiled, whereas in VB they have always appeared straight after you type them.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Replies: 10
    Last Post: 09-25-2009, 07:28 AM
  2. Visual Studio 2008: C# Hello World Tutorial
    By Jordan in forum CSharp Tutorials
    Replies: 27
    Last Post: 07-23-2009, 04:32 PM
  3. Visual Studio 2005 and Windows Vista
    By Jordan in forum General Programming
    Replies: 14
    Last Post: 01-10-2009, 02:39 PM
  4. Replies: 2
    Last Post: 08-03-2007, 01:05 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts