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 ([[http://stackoverflow.com/questions/8648428/an-error-occurred-while-validating-hresult-8000000a]]), 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 endif endif
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)
RE: Conditional task block and HRESULT = '8000000A'
-
Added by Thomas Higgins over 3 years ago
I was finally able to resolve the problem using CCNet's API. Woot! Details at Stack Overflow: [[http://stackoverflow.com/questions/23278838/recovering-from-error-hresult-8000000a-in-cc-net/25232880#25232880]]
(1-1/1)