Assuming you are talking about messages that appear in the Visual Studio output window ... If you right-click on the window, you will see a menu that looks like this:

You can turn off process exit messages, thread exit messages, and anything you don't want to see.