An error occurred while validating hresult setup project

So there's really no reason not to install VS on the build machine. Hi @Neslihan The only thing I can think of is that the command line VS you are using isn't matching the GUI that you're successfully building from.

Hi @jafuentes - looks like you're source-controlling an older version of the solution - say VS 2010, and then you have a newer version of VS on the build server, say VS 2015. But I get an ERROR: An error occurred while validating. HRESULT = '8000000A' I also get this error from TFSBuild ... You'll have to get it working from the command line first, otherwise the build will never work.

(working Folder = C:\a

So there's really no reason not to install VS on the build machine. Hi @Neslihan The only thing I can think of is that the command line VS you are using isn't matching the GUI that you're successfully building from.Hi @jafuentes - looks like you're source-controlling an older version of the solution - say VS 2010, and then you have a newer version of VS on the build server, say VS 2015. But I get an ERROR: An error occurred while validating. HRESULT = '8000000A' I also get this error from TFSBuild ... You'll have to get it working from the command line first, otherwise the build will never work.(working Folder = C:\a\1\s\src)2016-06-21T.6476927Z "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" /Rebuild release "C:\a\1\s\Source\Camera View.sln" /Project "C:\a\1\s\Source\Easy View-Installer\Camera View-Installer.vdproj"2016-06-21T.6486928Z Error message highlight pattern: 2016-06-21T.6486928Z Warning message highlight pattern: 2016-06-21T.5701254Z Microsoft Visual Studio 2015 Version 14.0.25123.0.2016-06-21T.5701254Z Copyright (C) Microsoft Corp.All rights reserved.2016-06-21T.5711249Z Some errors occurred during migration.

||

So there's really no reason not to install VS on the build machine. Hi @Neslihan The only thing I can think of is that the command line VS you are using isn't matching the GUI that you're successfully building from.

Hi @jafuentes - looks like you're source-controlling an older version of the solution - say VS 2010, and then you have a newer version of VS on the build server, say VS 2015. But I get an ERROR: An error occurred while validating. HRESULT = '8000000A' I also get this error from TFSBuild ... You'll have to get it working from the command line first, otherwise the build will never work.

(working Folder = C:\a\1\s\src)2016-06-21T.6476927Z "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" /Rebuild release "C:\a\1\s\Source\Camera View.sln" /Project "C:\a\1\s\Source\Easy View-Installer\Camera View-Installer.vdproj"2016-06-21T.6486928Z Error message highlight pattern: 2016-06-21T.6486928Z Warning message highlight pattern: 2016-06-21T.5701254Z Microsoft Visual Studio 2015 Version 14.0.25123.0.2016-06-21T.5701254Z Copyright (C) Microsoft Corp.

All rights reserved.2016-06-21T.5711249Z Some errors occurred during migration.

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.

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.

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.

\s\src)2016-06-21T.6476927Z "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" /Rebuild release "C:\a

So there's really no reason not to install VS on the build machine. Hi @Neslihan The only thing I can think of is that the command line VS you are using isn't matching the GUI that you're successfully building from.Hi @jafuentes - looks like you're source-controlling an older version of the solution - say VS 2010, and then you have a newer version of VS on the build server, say VS 2015. But I get an ERROR: An error occurred while validating. HRESULT = '8000000A' I also get this error from TFSBuild ... You'll have to get it working from the command line first, otherwise the build will never work.(working Folder = C:\a\1\s\src)2016-06-21T.6476927Z "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" /Rebuild release "C:\a\1\s\Source\Camera View.sln" /Project "C:\a\1\s\Source\Easy View-Installer\Camera View-Installer.vdproj"2016-06-21T.6486928Z Error message highlight pattern: 2016-06-21T.6486928Z Warning message highlight pattern: 2016-06-21T.5701254Z Microsoft Visual Studio 2015 Version 14.0.25123.0.2016-06-21T.5701254Z Copyright (C) Microsoft Corp.All rights reserved.2016-06-21T.5711249Z Some errors occurred during migration.

||

So there's really no reason not to install VS on the build machine. Hi @Neslihan The only thing I can think of is that the command line VS you are using isn't matching the GUI that you're successfully building from.

Hi @jafuentes - looks like you're source-controlling an older version of the solution - say VS 2010, and then you have a newer version of VS on the build server, say VS 2015. But I get an ERROR: An error occurred while validating. HRESULT = '8000000A' I also get this error from TFSBuild ... You'll have to get it working from the command line first, otherwise the build will never work.

(working Folder = C:\a\1\s\src)2016-06-21T.6476927Z "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" /Rebuild release "C:\a\1\s\Source\Camera View.sln" /Project "C:\a\1\s\Source\Easy View-Installer\Camera View-Installer.vdproj"2016-06-21T.6486928Z Error message highlight pattern: 2016-06-21T.6486928Z Warning message highlight pattern: 2016-06-21T.5701254Z Microsoft Visual Studio 2015 Version 14.0.25123.0.2016-06-21T.5701254Z Copyright (C) Microsoft Corp.

All rights reserved.2016-06-21T.5711249Z Some errors occurred during migration.

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.

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.

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.

\s\Source\Camera View.sln" /Project "C:\a

So there's really no reason not to install VS on the build machine. Hi @Neslihan The only thing I can think of is that the command line VS you are using isn't matching the GUI that you're successfully building from.Hi @jafuentes - looks like you're source-controlling an older version of the solution - say VS 2010, and then you have a newer version of VS on the build server, say VS 2015. But I get an ERROR: An error occurred while validating. HRESULT = '8000000A' I also get this error from TFSBuild ... You'll have to get it working from the command line first, otherwise the build will never work.(working Folder = C:\a\1\s\src)2016-06-21T.6476927Z "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" /Rebuild release "C:\a\1\s\Source\Camera View.sln" /Project "C:\a\1\s\Source\Easy View-Installer\Camera View-Installer.vdproj"2016-06-21T.6486928Z Error message highlight pattern: 2016-06-21T.6486928Z Warning message highlight pattern: 2016-06-21T.5701254Z Microsoft Visual Studio 2015 Version 14.0.25123.0.2016-06-21T.5701254Z Copyright (C) Microsoft Corp.All rights reserved.2016-06-21T.5711249Z Some errors occurred during migration.

||

So there's really no reason not to install VS on the build machine. Hi @Neslihan The only thing I can think of is that the command line VS you are using isn't matching the GUI that you're successfully building from.

Hi @jafuentes - looks like you're source-controlling an older version of the solution - say VS 2010, and then you have a newer version of VS on the build server, say VS 2015. But I get an ERROR: An error occurred while validating. HRESULT = '8000000A' I also get this error from TFSBuild ... You'll have to get it working from the command line first, otherwise the build will never work.

(working Folder = C:\a\1\s\src)2016-06-21T.6476927Z "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" /Rebuild release "C:\a\1\s\Source\Camera View.sln" /Project "C:\a\1\s\Source\Easy View-Installer\Camera View-Installer.vdproj"2016-06-21T.6486928Z Error message highlight pattern: 2016-06-21T.6486928Z Warning message highlight pattern: 2016-06-21T.5701254Z Microsoft Visual Studio 2015 Version 14.0.25123.0.2016-06-21T.5701254Z Copyright (C) Microsoft Corp.

All rights reserved.2016-06-21T.5711249Z Some errors occurred during migration.

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.

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.

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.

\s\Source\Easy View-Installer\Camera View-Installer.vdproj"2016-06-21T.6486928Z Error message highlight pattern: 2016-06-21T.6486928Z Warning message highlight pattern: 2016-06-21T.5701254Z Microsoft Visual Studio 2015 Version 14.0.25123.0.2016-06-21T.5701254Z Copyright (C) Microsoft Corp.

All rights reserved.2016-06-21T.5711249Z Some errors occurred during migration.

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.

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.

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.

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.

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.

The underlying problem was a project with a reference to another project that had been removed.

As such the setup could not find the dependency to include in the setup package.