在 Webmatrix 2 RC 中安装 Entity Framewok v5 [英] Install Entity Framewok v5 in Webmatrix 2 RC

查看:27
本文介绍了在 Webmatrix 2 RC 中安装 Entity Framewok v5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Webmatrix 2 RC 中的 Entity Framework 进行项目,因此我需要使用 Entity Framework v.5 RC,因为以前的版本和 .NET Framework 4.5 之间存在冲突.

I'm working on a project with Entity Framework in Webmatrix 2 RC, so I need to use Entity Framework v.5 RC because of conflicts between previous versions and .NET Framework 4.5.

我知道的在 Webmatrix 中安装 NuGet 包的两种方法是来自 Webmatrix 功能区上的 NuGet 库和来自 ASP.NET 网页管理中的包管理器:任一解决方案仅建议使用实体框架 v4.3.1.

The two ways I know to install NuGet packages in Webmatrix are from the NuGet Gallery on the Webmatrix ribbon and from the package manager in ASP.NET Web Pages Administration: either solution proposes only Entity Framework v4.3.1.

我已经使用 Visual Web Developer 的包管理器控制台下载了 Entity Framework v.5 RC,并将 EntityFramework.dll 复制到我的项目的 bin 文件夹中.

I have downloaded Entity Framework v.5 RC with the Package Manager Console of Visual Web Developer and copied the EntityFramework.dll into the bin folder of my project.

此解决方案有效,但我想知道是否存在安装不需要使用 Visual Web Developer 的不推荐 NuGet 包的方法.

This solution works but I wonder if exists a way to install a not recommended NuGet package that doesn't require the use of Visual Web Developer.

推荐答案

您可以使用 nuget.exeNuGet 包浏览器,两者都是独立且轻量级的.不过,您仍然需要手动添加对文件的引用.

You can use nuget.exe or NuGet Package Explorer, both are standalone and lightweight. You'll still have to manually add references to the files though.

这篇关于在 Webmatrix 2 RC 中安装 Entity Framewok v5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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