CefFlashBrowser icon indicating copy to clipboard operation
CefFlashBrowser copied to clipboard

System.IO.FileNotFoundException导致无法启动

Open Mzying2001 opened this issue 2 years ago • 5 comments

          > > System.IO.FileNotFoundException: 未能加载文件或程序集“CefSharp.Core, Version=84.4.10.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138”或它的某一个依赖项。找不到指定的模块。 文件名:“CefSharp.Core, Version=84.4.10.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138” ---> System.IO.FileNotFoundException: 未能加载文件或程序集“CefSharp.Core.dll”或它的某一个依赖项。找不到指定的模块。 文件名:“CefSharp.Core.dll” 在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 在 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 在 System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) 在 System.Reflection.Assembly.LoadFrom(String assemblyFile) 在 CefFlashBrowser.App.<>c.<.ctor>b__1_0(Object s, ResolveEventArgs e) 在 System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)

在 CefFlashBrowser.App.InitCefFlash() 在 CefFlashBrowser.App.OnStartup(StartupEventArgs e) win11,23H2,所有版本都无法打开(以上为1.0.8 32位报错信息)

不应该啊,你是没有全部文件都解压出来吧,Assets文件夹不能丢,所有依赖都在里面

应该是全部都解压了 之前22H2的时候可以用1.0.6的,升级到23H2就打不开了,1.0.8的64位也打不开

Originally posted by @whyvo1 in https://github.com/Mzying2001/CefFlashBrowser/issues/16#issuecomment-1868437644

Mzying2001 avatar Dec 24 '23 05:12 Mzying2001

把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试

Mzying2001 avatar Dec 24 '23 05:12 Mzying2001

把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试

我也出现了这个问题,但是很奇怪,同一个电脑系统版本(WIN10 22H2)在我一台intel处理器的电脑上是可以正常打开的,而amd处理器不管什么版本都打不开。在更新某个Windows补丁之前amd处理器也是能正常打开的。

fuzzylittlebunny avatar Mar 11 '24 00:03 fuzzylittlebunny

把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试

我试过了,但仍然出现 System.IO.FileNotFoundException: 未能加载文件或程序集“CefSharp.Core.dll”或它的某一个依赖项。找不到指定的模块。 文件名:“CefSharp.Core.dll” 在 CefFlashBrowser.App.InitCefFlash() 在 CefFlashBrowser.App.OnStartup(StartupEventArgs e)

的错误并且无法打开,该怎么处理

shshshhdudj avatar Jul 08 '24 12:07 shshshhdudj

把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试

版本是windows 10 22h2,软件版本是FlashBrowser_v1.0.8,x86 和x64都试过了,无法进入

shshshhdudj avatar Jul 08 '24 12:07 shshshhdudj

这个问题似乎是因为缺少 Microsoft Visual C++ Redistributable 导致的,安装完应该就好了,可以在这里下载安装。

image

Mzying2001 avatar Jul 27 '24 03:07 Mzying2001