我想安装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
发布评论