系统.IO.FileLoadException
尝试从单独的项目绑定本地化资源程序集时出现“System.IO.FileLoadException:无法加载文件或程序集”。
Fusion 日志显示:ERR:安装失败 小时 = 0x80070005。错误:失败 完成装配设置(hr = 0x80070005)。探测终止。
已经尝试解决这个问题 3 个小时了,但没有任何帮助。
Getting "System.IO.FileLoadException: Unable to load file or assembly" when trying to bind localized resources assembly from the separate project.
Fusion Log shows: ERR: Setup failed
with hr = 0x80070005. ERR: Failed to
complete setup of assembly (hr =
0x80070005). Probing terminated.
Trying to solve this for 3 hours already, nothing helps.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我刚刚发现模拟用户缺乏权限。很抱歉问这个问题,但也许它可以帮助其他人。
I've just found out that there was lack of privileges for impersonated user. Sorry for that question, but maybe it could help somebody else.
我有类似的问题,并出现以下错误消息
“无法加载文件或程序集“TestGUI,Version=xxxxxxxxxx,Culture=neutral,PublicKeyToken=xxxxxxxxxxxxx”或其依赖项之一。由于应用程序配置不正确,此应用程序无法启动。重新安装应用程序可能会解决此问题。( HRESULT 异常:0x800736B1)"
如何检查文件依赖性。使用 Dependency walker 并将所有丢失的文件复制到 System32 中仍然无法解决此问题。
I have similar problem with following error message
"Could not load file or assembly 'TestGUI, Version=x.x.x.xxxxxxx, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxx' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)"
How do I check the file dependency. Used Dependency walker and copied all the files missing into System32 still not able to resolve this issue.