I'm implementing a custom project system using native COM/ATL.
IVsBuildableProjectCfg::StartBuild and StartClean run asynchronously. For
example, a call to StartBuild just starts the build, and the call returns
before the build operation is complete. Synchronization is handled via event
callbacks. StartClean is similar.
It appears that StartUpToDateCheck is synchronous - if it returns E_FAIL
that means that the build is not up to date, but if it returns S_OK then the
build *is* up to date.
Is my understanding of this correct? Is there any way to have
StartUpToDateCheck run asynchronously, and have the VS shell just "do the
right thing"?
thanks
--Don B.
"Gary Chang[MSFT]" - 05 May 2006 07:58 GMT
Hi Don,
Your understanding is all right. The IVsBuildableProjectCfg::StartBuild and
StartClean calls just request the VS IDE to begin the corresponding
build/clean process, they will return immediately when the build/clean
process starts or fails to start.
On the other hand, the StartUpToDateCheck call will return the status of
whether or not the current build is up to date. All these behaviors are as
expected in Visual Studio 2005. They are by design, in other words VS shell
does the right thing.
Thanks for your understanding.
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.