hottowel nuget with entity framework 6?

2019-08-15 02:54发布

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条回答
Root(大扎)
2楼-- · 2019-08-15 03:04

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!

查看更多
登录 后发表回答