Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.IO.FileNotFoundException导致无法启动 #38

Open
Mzying2001 opened this issue Dec 24, 2023 · 2 comments
Open

System.IO.FileNotFoundException导致无法启动 #38

Mzying2001 opened this issue Dec 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Mzying2001
Copy link
Owner

          > > 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 #16 (comment)

@Mzying2001
Copy link
Owner Author

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

@Mzying2001 Mzying2001 added the bug Something isn't working label Dec 24, 2023
@fuzzylittlebunny
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants