0

我已经升级到 Visual Studio 2013,自然想升级 HotTowel、Breeze 和其他所有的朋友也支持 MVC5、WebApi2、EF6 等。

经过多次来回,我设法更新到 WebApi2 和 Breeze for WebApi2 + EF6。但热毛巾挣扎。

我无法取回 HotTowel,因为它在包管理器控制台中启动并显示以下消息:安装包:已经引用了较新版本的“Microsoft.AspNet.WebApi”

这意味着什么?在 nuget 页面上,它说它取决于:Microsoft.AspNet.WebApi (≥ 4.0.30506.0)。我的 webapi 版本是 5.xx,超过了所需的 4.0xx。

谁能帮我取回热毛巾?

谢谢。

4

1 回答 1

0

So it all depends on where you are now. I suggest removing the packages and dll's and starting fresh. Start with a clean project and install-package hottowel.angular. If you want to try to piecemeal it together, it can work but it may be more painful.

If you started with the older hottowel, asp.net web api 2 broke it. SO the newest one uses the latest features. If you want web api v2, use hottowel.angular.breeze.

The issue is not HotTowel, its the incompat with Web Api 2 and some other MSFT features.

For more details, see this link: http://www.johnpapa.net/hottowel-angular-and-asp-net-web-api-2-compat/

于 2013-11-16T15:34:45.983 回答