1

I want to make VS2015 beep on build success but want to be able to decide on what solutions to do that. I have seen that solution but would like to make it simpler.

So I have followed that and make a batch file that beeps when launched.

In short when I launch it, it writes BEEP and beeps.

But when I put in post build event the line C:\Development\beep.bat it doesn't beep but writes the BEEP label but doesn't make a sound. What's wrong in that?

Community
  • 1
  • 1
Luca
  • 918
  • 2
  • 13
  • 30

1 Answers1

2

I think your batch file is echoing Ctrl-G to the standard output stream. The stdout is captured by Visual Studio for post build events, so you get the Ctrl-G sent to the build log, not to the OS.

PhillipH
  • 6,182
  • 1
  • 15
  • 25
  • 1
    No. You would have to write a small command shell application that addressed the speaker directly. – PhillipH Aug 09 '16 at 11:02