简体   繁体   中英

Third-party applications asks for old assembly

Have a serious problem: need to install a third-party web application. After deploying to my local machine getting the exception:

Could not load file or assembly 'System.Data.Entity, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

The problem is i don't have sources, also nuget packadge manager cannot find anything similar to this version. Installation of Entity Framework ver. 4.2.0 does nothing either.

Any thoughts what and where I should download?

Best regards and thanks a log

You find nothing on nuget? HAve you ever tried?

Google.... "Entity Framework 4.2" leads me to...

https://www.nuget.org/packages/EntityFramework/4.2.0

That is nuget, that is Entity framework and that is 4.2.

Maybe, instead of nuget package manager, you use the nuget tools ;)

Download old version of package with nuget

tells you how to do that - using the command line (which accepts a version parameter).

You should try to install this manually:

  1. Open the solution
  2. Open the Package Manager Console
  3. Type: Install-Package EntityFramework -Version 4.2.0

This will install the specific package version that you need.

You either need : a. the assembly referenced b. the source code to change the reference

I would contact whoever wrote the third-party application and try to resolve it from there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM