Report question

Question: Is it possible to detect when building in the VS IDE?