Closed Thread
Results 1 to 4 of 4

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

  1. #1
    Kernel is offline RSS Feed Bot
    Join Date
    Sep 2006
    Posts
    2,105
    Rep Power
    34

    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. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

  4. #3
    Jordan Guest

    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.

  5. #4
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Alex G. CSS "Sexy Buttons" - what about "submit on 'ENTER'" ?
    By shackrock in forum JavaScript and CSS
    Replies: 7
    Last Post: 12-05-2010, 04:57 PM
  2. Replies: 2
    Last Post: 11-01-2010, 11:52 PM
  3. Using "Enter" as an event trigger in VB 2008
    By dionysus.god in forum Visual Basic Programming
    Replies: 2
    Last Post: 05-10-2010, 03:45 PM
  4. IIs in Visual Studio 2008
    By zkazemi in forum ASP, ASP.NET and Coldfusion
    Replies: 3
    Last Post: 03-09-2010, 06:58 AM
  5. Replies: 3
    Last Post: 10-03-2008, 03:21 PM

Bookmarks

Posting Permissions

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