Conditional task block and HRESULT = '8000000A'

Added by Thomas Higgins about 4 years ago

I use Visual Studio 2010 with .vdproj files and am seeing an error a lot when building the MSI files for my applications:
"ERROR: An error occurred while validating. HRESULT = '8000000A'."
Per StackOverflow ([[]]), this is a known issue with VS 2010 and won't be fixed by Microsoft.

The error can almost always be resolved by forcing another build manually. That's a real pain; naturally I'd like to automate it. :^) But I'm having trouble figuring out part of the process. I know I'll need to use a conditional task block. The pseudocode for what I want to do looks like:

if statusCondition == Failure
  if failure is caused by HRESULT = '8000000A'    <-- this is the part I can't figure out
    Use devenv to rebuild vdproj file

How can I use CC.Net to determine the cause of the failure? I'm not seeing anything in the Integration Properties or Task Condition Blocks that looks like what I need.

Thank you.

Replies (1)