stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <>
Subject RE: duplicate error message in Windows builds
Date Wed, 06 Dec 2006 17:35:06 GMT
> -----Original Message-----
> From: Martin Sebor [] 
> Sent: Wednesday, December 06, 2006 5:15 PM
> To:
> Subject: Re: duplicate error message in Windows builds
> >   This is a feature of the devenv. The only way is build 
> one project 
> > per one invocation of the devenv.
> A feature or a bug? It seems like the latter to me. We should 
> confirm that with Microsoft and if it is not documented as a 
> feature, file a change request.
  I can't find information how the MSVC build is working.

  The SolutionBuild object from MSVC automation objects model
contain the method Build (which returns void) to build solution, and
the property LastBuildInfo, which returns the number of projects that
failed to build. So I make the conclusion that the devenv tries to build
the all projects and counts the build fails using LastBuildInfo

> Andrew also mentioned that he could find no way to retrieve 
> the status of the last operation (invocation?) of the devenv 
> executable.
  The devenv, I guess, returns number of projects that failed to build.
I don't verified this yet, but I verified that devenv returns zero code
all projects builds with success and nonzero if any fail encountered.


View raw message