Please help with this oneeeee An error occurred while validating. HRESULT = '80004005'

Posted by FredoGodoFredo02@reddit | learnprogramming | View on Reddit | 1 comments

I'm implementing CI/CD for a couple applications using GithubActions in GHES with a self-hosted runner and I've been facing this problem "An error occurred while validating. HRESULT = '80004005'" for days. The project is in .NET Framework 4.7.2 and I'm using Visual Studio Community 2022

To give more context, I'm building a .vdproj to generate the msi installer, this is the whole error:

WARNING: Unable to find dependency 'CEFSHARP' (Signature='40C4B6FC221F4138' Version='121.3.70.0') of assembly 'CefSharp.BrowserSubprocess.exe' WARNING: Unable to find dependency 'CEFSHARP' (Signature='40C4B6FC221F4138' Version='121.3.70.0') of assembly 'CefSharp.BrowserSubprocess.Core.dll' ERROR: An error occurred while validating. HRESULT = '80004005'

To give more context, the vdproj is in a sln together with a ClickOnce project, I'm restoring the dependencies of the solution using nuget restore then I'm building the clickonce with project with msbuild and after that I'm building the vdproj using devenv.com

I have already set the DWORD for the registries even though they have the same purpose.

  1. EnableOutOfProcBuild = 0
  2. DisableOutOfProcBuild = 1

I was having a similar problem with another vdproj in the exact same conditions and I could solve it with setting the DWORD and as I'm creating my own yaml templates I just had to checkout the new repo and add the path of sln, csproj and vdproj to my powershell step but now it's not working does not matter what.

This was the first error I was getting and I could solve

WARNING: Unable to find dependency 'CEFSHARP' (Signature='40C4B6FC221F4138' Version='94.4.110.0') of assembly 'CefSharp.BrowserSubprocess.exe' WARNING: Unable to find dependency 'CEFSHARP' (Signature='40C4B6FC221F4138' Version='94.4.110.0') of assembly 'CefSharp.BrowserSubprocess.Core.dll' ERROR: An error occurred while validating. HRESULT = '8000000A'

The only differences are the HRESULT code and the version of the dependencies