System.IO.FileNotFoundException导致无法启动
> > 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
把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试
把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试
我也出现了这个问题,但是很奇怪,同一个电脑系统版本(WIN10 22H2)在我一台intel处理器的电脑上是可以正常打开的,而amd处理器不管什么版本都打不开。在更新某个Windows补丁之前amd处理器也是能正常打开的。
把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试
我试过了,但仍然出现 System.IO.FileNotFoundException: 未能加载文件或程序集“CefSharp.Core.dll”或它的某一个依赖项。找不到指定的模块。 文件名:“CefSharp.Core.dll” 在 CefFlashBrowser.App.InitCefFlash() 在 CefFlashBrowser.App.OnStartup(StartupEventArgs e)
的错误并且无法打开,该怎么处理
把 Assets/CefSharp 里面的所有文件移动到主程序所在的目录下再打开试试
版本是windows 10 22h2,软件版本是FlashBrowser_v1.0.8,x86 和x64都试过了,无法进入