hottowel nuget与实体框架6? [英] hottowel nuget with entity framework 6?

查看:165
本文介绍了hottowel nuget与实体框架6?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我收到这个错误:


我想通过nuget在我的德国visual studio 2013 mvc应用程序中安装hottowel。

安装包:在EntityFramework 6.0.1aufEntityFramework 5.0.0更新过程中出错。没有发现EntityFramework.de,
Microsoft.AspNet.Identity.EntityFramework的版本,它与EntityFramework 5.0.0兼容



它只是说新认证的东西叫做身份,它使用的实体框架功能与所需的实体框架5不兼容。



我该如何解决?我想使用新的身份特征以及hottowel。



Regards

解决方案

现在,最简单的做法是按照这个顺序来安装nuget包。我正在与微风团队和ASP.NET团队合作,使之更加容易:)


安装包Microsoft.AspNet.WebApi -version 4.0.30506.0



安装包Microsoft.AspNet.WebApi.Odata -version 4.0.30506.0



Install-Package EntityFramework.SqlServerCompact -version 4.3.6



安装包HotTowel.angular -pre



安装-Package HotTowel.angular.breeze -pre


前3个要求使用WebApi 4.0.30506 ...这使它一切工作一旦我从微风团队获得了一些修改的确认,并与Web Api团队进行了验证,我将更新此信息,让每个人都知道如何使用Web API v2。



再次感谢您的支持!


I'm trying to get hottowel installed via nuget in my german visual studio 2013 mvc application.

I get this error:

Install-Package : Error during the update from "EntityFramework 6.0.1" auf "EntityFramework 5.0.0". No version of "EntityFramework.de, Microsoft.AspNet.Identity.EntityFramework" found, which are compatible with "EntityFramework 5.0.0"

It just says, that the new authentication thing called "identity" uses entityframework features which are not compatible with the needed entity framework 5 for hottowel.

How can I solve this? I want to use the new identity features as well as hottowel.

Regards

解决方案

Thanks for watching my course! Some of you have let me know that there are some issues with the newest WebApi NuGet packages. Once these are resolved (coordinating with Microsoft and Breeze folks) I will let you all know. In the meantime, here is the workaround which is quite simple:

For now, the easiest thing to do is install the nuget packages in this order. I am working with the Breeze team and the ASP.NET team to make this easier soon :)

Install-Package Microsoft.AspNet.WebApi -version 4.0.30506.0

Install-Package Microsoft.AspNet.WebApi.Odata -version 4.0.30506.0

Install-Package EntityFramework.SqlServerCompact -version 4.3.6

Install-Package HotTowel.angular -pre

Install-Package HotTowel.angular.breeze -pre

The first 3 ask it to use the WebApi 4.0.30506 ... which makes it all work. Once I get confirmation from the Breeze team on some changes and check them with the Web Api team, I will update this and let everyone know how to make it work with Web API v2.

Thanks again for your support!

这篇关于hottowel nuget与实体框架6?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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