0

I have project WinForms with .net core 3.1 and I am using in this project CefSharp.WinForms (version 89.0.170).

I upgraded to newest version:

CefSharp.Common.NETCore" Version="111.2.20"

CefSharp.WinForms.NETCore" Version="111.2.20"

When I build app in Visual Studio 2022 everything works correctly.

However, when I try to create the msi installer, I get an error:

Done building project "Tets.csproj". ------ Starting pre-build validation for project 'TestSetup' ------ WARNING: Unable to find dependency 'SYSTEM.IO.FILESYSTEM' (Signature='B03F5F7F11D50A3A' Version='4.1.2.0') of assembly 'Test.Installer.SetupActions.dll' WARNING: Unable to find dependency 'SYSTEM.RUNTIME.EXTENSIONS' (Signature='B03F5F7F11D50A3A' Version='4.2.2.0') of assembly 'Test.Installer.SetupActions.dll' WARNING: Unable to find dependency 'SYSTEM.RUNTIME' (Signature='B03F5F7F11D50A3A' Version='4.2.2.0') of assembly 'Test.Installer.SetupActions.dll' WARNING: Unable to find dependency 'SYSTEM.DIAGNOSTICS.PROCESS' (Signature='B03F5F7F11D50A3A' Version='4.2.2.0') of assembly 'Test.Installer.SetupActions.dll' WARNING: Unable to find dependency 'SYSTEM.CONSOLE' (Signature='B03F5F7F11D50A3A' Version='4.1.2.0') of assembly 'Test.Installer.SetupActions.dll' ------ Pre-build validation for project 'TestSetup' completed ------ 12>------ Rebuild All started: Project: TestSetup, Configuration: Release ------ Building file '\Release\TestSetup.msi'... ERROR: Unrecoverable build error - 0x8007000B

In version CefSharp.WinForms (version 89.0.170) works correctly.

Does anyone know how to fix this or how to check the error (logs) more precisely?

Even viewer - there is nothing

Bob Arnson
  • 21,377
  • 2
  • 40
  • 47
damian17
  • 1
  • 1
  • Have you set a [RuntimeIdentifier](https://github.com/cefsharp/CefSharp/wiki/Quick-Start-For-MS-.Net-5.0-or-greater#20-set-a-runtimeidentifier-in-your-proj-file) as per the instructions? – amaitland Apr 19 '23 at 20:37
  • @amaitland I added RuntimeIdentifier and it works. Thank you. – damian17 Apr 20 '23 at 12:41

0 Answers0