IDE Output Window (Need to catch compile errors)
I've written a build tool that reads in a xml file that shows all projects and their dependencies.
Does anyone know how to grab the output window so that during a compile I can get any compiler errors?
example:
System.Type t = System.Type.GetTypeFromProgID("VisualStudio.Solution.7.1");
object obj = System.Activator.CreateInstance(t, true);
soln = (EnvDTE.Solution)obj;
I'm then doing a soln.solutionbuild(projectname, true);
if build fails I want to display why it failed.
Thanks in advance everyone.
Gibby
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Andrzej WegierskiRank #1,729 · 877 reputationPosted Apr 12, 2004, 9:32 PM EDT
jmeehan27 reputationPosted Apr 16, 2004, 6:12 AM EDT