Exe $(OutputOfExec.Substring($(OutputOfExec.IndexOf("Unhandled exception")))) $(ErrorOutput.Substring(0, $(ErrorOutput.IndexOf(';'))))