-
version
102.0.100
-
What architecture x86 or x64?
x64
-
What version of .Net?
.Net 6.0
-
On what operating system?
Win11
-
Are you using WinForms, WPF or OffScreen?
WinForms
-
What steps will reproduce the problem?
PublishSingleFile projects cannot run on Win11 Home , I can't run even if I copy CefSharp.Core.Runtime.dll CefSharp.Core.dll ... file
- I used
[Program.PublishSingleFile.cs](https://github.com/cefsharp/CefSharp.MinimalExample/blob/master/CefSharp.MinimalExample.WinForms/Program.PublishSingleFile.cs) in net6.0 project
-
Please provide any additional information below.
Exception Info: System.IO.FileNotFoundException:
File name: 'CefSharp.Core.Runtime, Version=102.0.100, Culture=neutral, PublicKeyToken=40c4b6fc221f4138'

static int Main(string[] args)
{
var exitCode = CefSharp.BrowserSubprocess.SelfHost.Main(args);
if (exitCode >= 0)
{
return exitCode;
}
var settings = new CefSharp.WinForms.CefSettings()
{
MultiThreadedMessageLoop = true,
IgnoreCertificateErrors = true,
CachePath = Program.CachePath,
LogSeverity = LogSeverity.Disable,
BrowserSubprocessPath = ExePath
};
Cef.Initialize(settings, false);
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0-windows' AND '$(PublishSingleFile)' == 'true'">
<!-- Extract all files to disk at runtime -->
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<!-- Include our native files in the resulting exe -->
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
</PropertyGroup>
version
102.0.100What architecture x86 or x64?
x64What version of .Net?
.Net 6.0On what operating system?
Win11Are you using
WinForms,WPForOffScreen?WinFormsWhat steps will reproduce the problem?
PublishSingleFileprojects cannot run onWin11 Home, I can't run even if I copyCefSharp.Core.Runtime.dllCefSharp.Core.dll... file[Program.PublishSingleFile.cs](https://github.com/cefsharp/CefSharp.MinimalExample/blob/master/CefSharp.MinimalExample.WinForms/Program.PublishSingleFile.cs)in net6.0 projectPlease provide any additional information below.
Exception Info: System.IO.FileNotFoundException:
File name: 'CefSharp.Core.Runtime, Version=102.0.100, Culture=neutral, PublicKeyToken=40c4b6fc221f4138'