Getting error
Could not load file or assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
How to resolve it.
Thanks,
Siva.
Technology Tips and News
Getting error
Could not load file or assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
How to resolve it.
Thanks,
Siva.
Hi Siva,
EntityFramework assembly is not part of the SharePoint family so you need to manually add this to your solution and have reference in the Package Designer.
Try this link, It will gives you the clear idea on how to include the assembly and package it.
Yes,
Still you need to refer your entity assembly in the package whether you wanted to keep your assembly on your project folder or on GAC during runtime.
Hi,
1. Open Toos > Nuget Package Manager > Package Manager Console
then run
install-package entityframework -version 6.0.0.0
2. Try to copy EntityFramework.dll to the bin folder under Solution.
3. Try to copy EntityFramework.dll to SharePoint web application bin folder.
C:\inetpub\wwwroot\wss\VirtualDirectories\<port>\bin
Best Regards