How do I configure VS 2008 to make warnings into errors?

Posted on 2011-05-05
Last Modified: 2013-12-16
I like the idea, for a large project, to force a warning to be an error. This keeps the project from developing a possbily mammoth set of warnings.

Can someone please tell me how to configure this on VS2008?

Question by:newbieweb
    LVL 7

    Accepted Solution

    Go to Project->Properties, and click the "Build" tab on the left side. Under the "Treat Warnings as Errors" section, select the "All" radio button.

    Good luck!

     Warnings as Errors...

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    Pick image, show data 4 25
    Javascript newbie 5 30
    report c# 9 56
    Linking dictionary and columns together 2 33
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    779 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

    15 Experts available now in Live!

    Get 1:1 Help Now