HowTo disable background compilation

Posted on 2007-10-05
Last Modified: 2013-11-26
I have a large VB.NET 2005 solution (VS 2005 SP1) with a lot of projects with entangled dependencies, and the background compiler is starting to decrease the editor performance. It also givess me a lot of false positives which goes away when I fix the error sitting on top of them.

Is there any way (even registry hacks are welcome) to disable the background compiler (bc) ? Would be great if it is posisble to disable it for the solution only.
Question by:fc_curling
    LVL 25

    Accepted Solution

    Make sure "show all settings" is checked

    Under "Projects and Solutions"
    check "Only Build Startup Projects and Dependencies on Run"
    LVL 5

    Assisted Solution

    Right click on the solution
    Select configuration manager and in there you can set the project that build in debug and release.
    LVL 44

    Assisted Solution

    Only load those projects that you are actively editting.  I am part of a team working on the largest VB6/.NET application in the world (the US Military Health Care system, known as AHLTA).  The complete .NET solution consists of 135 projects, (about 2.5 MILLION lines of source code).  At any given time, I have 2-5 of those projects actually loaded, and the Background compile issue NEVER arises.

    The complete application currently also has about 800,000 lines of VB6 source code.  The application was originally developed entirely in VB6, and we are in the process of porting the VB6 code to .NET - a very long and involved process.


    Author Comment

    So what all of you basically are saying is, that there is no way to turn of the background compiler. Only ways to minimize how much it compiles.
    I will accept all your answers as solutions to close this question

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now