安装特定版本的EntityFramework [英] Install a specific version of EntityFramework

查看:82
本文介绍了安装特定版本的EntityFramework的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安装EF的旧版本,但是我不知道版本号。我们可以在Nuget中做到吗?
使用管理控制台总是得到最新的而不是所需的。

I want to install an old version of EF, but I don't know the version number. Can we do it in Nuget? Using manage console is always getting the latest one not a desired one.

我想从下拉菜单中查找并选择一个。使用命令行有点愚蠢。

I want to look up it from a drop down menu and select one. Using command line is sort of foolish.

推荐答案

要使用Package Manager控制台查看EntityFramework NuGet软件包的所有版本,可以运行:

To see all versions of the EntityFramework NuGet package using the Package Manager console you can run:

Get-Package -Filter EntityFramework -ListAvailable -AllVersions | Where-Object { $_.Id -eq 'EntityFramework' }

如果要使用GUI然后查看 NuGet包资源管理器。有一个选项可以显示NuGet软件包的所有版本。

If you want to use a GUI then take a look at NuGet Package Explorer. There is an option to show all versions of the NuGet packages.

或者,您可以在 NuGet网站

这篇关于安装特定版本的EntityFramework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆