Install Entity Framewok v5 in Webmatrix 2 RC

允我心安 提交于 2019-12-25 07:58:38

问题


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.

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.

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.

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.


回答1:


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.



来源:https://stackoverflow.com/questions/11970076/install-entity-framewok-v5-in-webmatrix-2-rc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!