Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / May 2006

Tip: Looking for answers? Try searching our database.

IVsBuildableProjectCfg::StartUpToDateCheck - synchronous or asynch

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don B. - 04 May 2006 17:45 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.