An error occurred while validating hresult setup project

Turns out they don’t understand the setup project, so you have to do some tweaking to get it to work.

There are a couple of options if you’re going to use setup projects.

It’s fairly nasty, but once you’ve done it, your builds will work without users having to edit the project file or anything crazy.

For more information, see the migration report:2016-06-21T.5711249Z C:\a\1\s\Source\Upgrade Log.htm2016-06-21T.7821256Z ========== Rebuild All: 0 succeeded, 0 failed, 0 skipped ==========As a wrote in my question, I have five projects in my solution. Hi @Dafna - you should always install VS on the build machine.

Main project is a WPF application, three external libraries and an installer project. As far as I understand licensing, you can install the "highest" SKU you have licenses to on the build machine, and as long as no user uses that VS (other than the build agent) you don't actually pay for a license.

Let’s walk through creating a simple build definition to build a vdproj.

Here’s an example: For reference, here’s how my source is structured: You can then publish the setup exe or msi if you need to.

The project ' Database.sqlproj' will close once model building has paused.

Serializing the project state for project ' Database.sqlproj'...First try to build my setup project .vdproj from visual studio 2015. Detecting file changes for project ' Database.sqlproj'...Deserialization has been completed for project ' Database.sqlproj'. HRESULT = '80004005'" error while building Setup Project(S) in Visual Studio 2008 where as project (A) included in the setup build successfully.This error occures if something is wrong with references of the project(A) Follow steps below to troubleshoot.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.

Tags: , ,