Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sounds for build error/success in Visual C++?

On long Visual C++ builds, it would be really helpful to hear some sort of (optional) sounds for such build/compile results as:

  • individual compile error
  • file compile success/failure
  • build success/failure
  • batch build success/failure

Does anyone know how to enable sounds for these kinds of build occurrences in Visual C++ (especially Visual C++ 2008 on Vista)?

like image 491
jwfearn Avatar asked Sep 25 '08 17:09

jwfearn


People also ask

How do I show build errors in Visual Studio?

To display the Error List, choose View > Error List, or press Ctrl+\+E.

How do I resolve build errors in Visual Studio?

You can also send feedback and enter bugs within the IDE. In Visual Studio, go to the menu bar and choose Help > Send Feedback > Report a Problem, or submit a suggestion by using Help > Send Feedback > Send a Suggestion.


1 Answers

CJM is almost right.

In VC++ 9 (Visual Studio 2008) Go to Control Panel's Sounds applet (Control Panel/Hardware and Sounds/Sounds in Vista).

Under the Sounds tab scroll to "Build Succeeded" under "Microsoft Visual Studio" and set a sound for this event.

If you have (or had) multiple VS on this PC (I have 6.0, 2003, 2005, and 2008) there may be multiple entries with names like "Microsoft Developer" or blanks - which I assume work in the older versions. I often end-up setting the wrong ones. It seems you'll have to close VS 2008 and reopen for this to take effect.

Someone mentioned this was broken/removed in VS 2005 - I noticed this as well.

like image 162
Aardvark Avatar answered Oct 14 '22 15:10

Aardvark