Итак, я видел кучу ответов на этот вопрос. Кажется, что никто не разрешает мою проблему. Я запускаю проект как самостоятельный веб-сервис, используя служебную программу.Entity Framework 6.1.3 Не удалось загрузить
- Да я удалил и переустановили рамки сущности, убирали решение, перезапуск Visual Studio, перестроены
- Да я проверил все обязательные переадресовывает.
- Да, я проверил, что EntityFramework Dll находится в папке, которая ищет DLL.
- Да У меня есть разрешения на эту папку (из отчаяния я поместил проект на свой рабочий стол, чтобы устранить проблемы с безопасностью).
- Да, пакет nuget, проект и все конфигурации имеют .net 4.5.1 как свои целевые платформы.
Несмотря на все это, я все еще получаю ошибку:
Could not load file or assembly 'EntityFramework' or one of its dependencies. Access is denied.":"EntityFramework"
=== Pre-bind state information ===
LOG: DisplayName = EntityFramework
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: EntityFramework | Domain ID: 1
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/Users/MyUserName/Desktop/TempFolder/Web.MyProject.Service/bin/x86/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\MyUserName\Desktop\TempFolder\Web.MyProject.Service\bin\x86\Debug\Web.MyProject.Service.vshost.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Users/MyUserName/Desktop/TempFolder/Web.MyProject.Service/bin/x86/Debug/EntityFramework.DLL.
ERR: A fatal error occurred when retrieving next codebase for download (hr = 0x80070005).
Может кто-нибудь мне точку на некоторые инструменты, чтобы отследить причину проблемы (если вы не знаете, в чем проблема ;-D).