hottowel nuget with entity framework 6?

让人想犯罪 __ 提交于 2020-01-25 00:32:06

问题


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


回答1:


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!



来源:https://stackoverflow.com/questions/19525619/hottowel-nuget-with-entity-framework-6

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