[英]System.IO.FileLoadException: 'Could not load file or assembly 'EntityFramework or one of its dependencies. Access is denied.'
System.IO.FileLoadException HResult=0x80070005 Message=Could not load file or assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. System.IO.FileLoadException HResult = 0x80070005消息=无法加载文件或程序集“ EntityFramework,版本= 6.0.0.0,区域性=中性,PublicKeyToken = b77a5c561934e089”或其依赖项之一。 Access is denied. 访问被拒绝。
I understand that this is a common issue however my situation is different. 我了解这是一个常见问题,但是我的情况有所不同。 I downgraded the .net version that my program was using and cleaned and rebuilt the solution. 我降级了我的程序正在使用的.net版本,并对其进行了清理和重建。 I now get that error message as soon as I try to start the program. 现在,当我尝试启动程序时,我立即收到该错误消息。
I have tried the following: 我尝试了以下方法:
Where do I go from here? 我从这里去哪里? Nothing from any posts I see on this website is fixing this issue. 我在此网站上看到的任何帖子都无法解决此问题。
UPDATE: This is a screenshot from a program that uses the same version of entity framework and it is currently working and below is a screenshot of the program where I can't get it to work. 更新:这是使用相同版本的实体框架的程序的屏幕截图,并且目前正在运行,下面是该程序的屏幕快照,我无法使其正常工作。 You can see the different icons in the working version so my only guess is that it is related but I don't know what the blue symbols mean. 您可以在工作版本中看到不同的图标,因此我唯一的猜测是它是相关的,但我不知道蓝色符号的含义。 Any guesses? 有什么猜想吗?
If it's a web app 如果是网络应用
I hope that can help you 希望对您有帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.