第三方应用程序要求旧装配

时间:2023-01-19 11:04:28

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

有一个严重的问题:需要安装第三方Web应用程序。部署到我的本地计算机后获取异常:

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.

无法加载文件或程序集'System.Data.Entity,Version = 4.2.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089'或其依赖项之一。该系统找不到指定的文件。

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.

问题是我没有消息来源,还有nuget packadge管理器找不到类似这个版本的东西。安装Entity Framework ver。 4.2.0也没有做任何事情。

Any thoughts what and where I should download?

有什么想法我应该下载什么?

Best regards and thanks a log

最好的问候,并感谢日志

3 个解决方案

#1


2  

You find nothing on nuget? HAve you ever tried?

nuget上什么都找不到?你尝试过吗?

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

谷歌......“实体框架4.2”引导我......

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

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

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

那是nuget,即Entity框架,即4.2。

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

也许,而不是nuget包管理器,你使用nuget工具;)

Download old version of package with nuget

用nuget下载旧版本的软件包

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

告诉你如何做到这一点 - 使用命令行(接受版本参数)。

#2


2  

You should try to install this manually:

您应该尝试手动安装:

  1. Open the solution
  2. 打开解决方案
  3. Open the Package Manager Console
  4. 打开包管理器控制台
  5. Type: Install-Package EntityFramework -Version 4.2.0
  6. 键入:Install-Package EntityFramework -Version 4.2.0

This will install the specific package version that you need.

这将安装您需要的特定软件包版本。

#3


0  

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

你要么需要:a。装配参考b。更改引用的源代码

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

我会联系编写第三方应用程序的人,并尝试从那里解决它。

#1


2  

You find nothing on nuget? HAve you ever tried?

nuget上什么都找不到?你尝试过吗?

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

谷歌......“实体框架4.2”引导我......

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

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

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

那是nuget,即Entity框架,即4.2。

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

也许,而不是nuget包管理器,你使用nuget工具;)

Download old version of package with nuget

用nuget下载旧版本的软件包

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

告诉你如何做到这一点 - 使用命令行(接受版本参数)。

#2


2  

You should try to install this manually:

您应该尝试手动安装:

  1. Open the solution
  2. 打开解决方案
  3. Open the Package Manager Console
  4. 打开包管理器控制台
  5. Type: Install-Package EntityFramework -Version 4.2.0
  6. 键入:Install-Package EntityFramework -Version 4.2.0

This will install the specific package version that you need.

这将安装您需要的特定软件包版本。

#3


0  

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

你要么需要:a。装配参考b。更改引用的源代码

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

我会联系编写第三方应用程序的人,并尝试从那里解决它。