An error occurred while validating hresult setup project

10-Aug-2014 03:11 by 10 Comments

An error occurred while validating hresult setup project - sexhookup no strings attached zambia

The Flexera software installer looked slick and acted like it worked,but the service would never show up in the Services list.

an error occurred while validating hresult setup project-82an error occurred while validating hresult setup project-87

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. When running the build process again, it usually succeeded.

Does anyone have any advice on why exactly this error occurs and how to go about fixing it?

This is a known issue in Visual Studio 2010 (a race condition). We've ran into this as well, and had a very unsatisfying support call on this issue with Microsoft.

But there is a tweak which will help you to enable the same and you will now be allowed to build the MSI setup project from the command line itself.

The solution towards “An error occurred while validating.

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.The suggested workaround for right clicking "Detected Dependencies" and "Refresh Dependencies" doesn't seem to do a lot.However, I do notice that when I look at the dependencies on my local computer and compare them to what is listed on my build machine, the list is different.Also, don't forget to share your views and/or feedback in the comment section below.