An error occurred while validating hresult

For the last day or so, we’ve been working on rolling out the next release of our code to our QA environment.When it came time to build a new set of solutions I stumbled across a weird validation error.Then a colleague suggested cleaning the solution, and restarting VS - and that worked!

Mircrosoft stoped supporting Installer projects a long time ago but some of us still have solutions with installer projects.We've worked around this issue by triggering the MSI build a second time when it fails a first time.Not nice, but it works most of the time (error rate is down from ~ 10% to ~ 1%).This error popped up on the setup applications for several new programs.Doing some searching I stumbled across a couple of posts that hinted on removing the project output from the setup, and trying again.

Search for an error occurred while validating hresult:

an error occurred while validating hresult-80an error occurred while validating hresult-78

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “an error occurred while validating hresult”