TFS 2010: An error occurred while validating. HRESULT = ‘8000000A’

Hello everyone,

I’ve had a few cases already, where our customers came across a rare problem: They were building Visual Studio Installer projects with Team Build of Team Foundation Server 2010 and the build failed with the error: “An error occurred while validating. HRESULT = '8000000A'”. When running the build process again, it usually succeeded.

The problem was almost impossible to reproduce and unpredictable in its manner: The customers had several setup projects in their solution and the error appeared seemingly random during the compilation of each of them.

If you ever experience this issue, here is what may be happening and what you can do to work around it:

The error code you are seeing was introduced with this KB:

There is a race condition that sometimes used to cause hangs when building setup projects on the command line. It turned out to be an issue that was very risky to tackle, so the decision was made to return this error code (8000000A) instead.

Considering the high risk of solving the problem, and the fact that Visual Studio Installer projects have been deprecated in Visual Studio 2010 (see “Visual Studio Setup and Deployment Projects”:, it is very unlikely that this issue will be fixed.

Instead, there are a few recommendations on how to work around the problem:

  • Script the build process to check for this particular error message. If it appears, rebuild the setup project.
  • Attempt to automate Visual Studio to load and build the project in the IDE and not from the command line. (This one is more difficult to implement.)


I hope this saves you a headache or two, while trying to figure out where this error code is coming from.



Helge Mahrt

Comments (2)
  1. Amal says:

    I have no idea how to fix it.

    Even Microsoft have no idea how to fix the issue.

  2. vletroye says:

    In my case, it was working fine with VS 2010 on TFS 2010. But it fails now with the same error with VS 2013 on TFS 2013 ! although this should have been fixed according to 🙁

    UPDATE: We have released the RTM version of this extension – v1.0.0.0. This release addresses:

    – Warnings when building with Microsoft.bcl.async

    – Error 2727 occuring with more than 1 content file

    – Some cases of the 0x8000000A when using the command line

Comments are closed.

Skip to main content