Update 4/1/2013
I am informed that an updated Microsoft.Aspnet.Webapi.odata nuget package 4.0.1 should fix this. Please try it and confirm.
Original Answer
I have a temporary workaround. I mean temporary because the steps I'm about to enumerate require precision and could easily break in future.
I tested them on a sample generated from the currently deployed Breeze/Knockout SPA template and upgraded successfully to the 1.2.1 version of Breeze. Should work for subsequent Breeze versions (let us know if it doesn't)
Enter the following sequence in the Package Manager Console:
- Uninstall-Package Microsoft.Aspnet.Webapi.odata (fortunately this did NOT uninstall dependencies of this particular package, I assume because other packages had the same dependencies)
- Install-Package Microsoft.Data.OData -Version 5.3.0
- Install-Package Microsoft.Aspnet.Webapi.odata -pre –IgnoreDependencies
- Update-Package breeze.webapi –IgnoreDependencies
The "-IgnoreDependencies" switch provides the leverage to shoehorn v.5.3.0 into your solution.
I want to stress again that this is a temporary solution which may only work for a while. I look forward to returning to your SO question and reporting that this advice has been rescinded. I may even delete this answer.