Unknown's avatar

Breeze 1.4.11 breaks MVC Spa with Durandal 2.0.1 starter kit

I created a Web API/ MVC project in VS 2013 using the SPA template, added the Durandal Starter Kit NuGet package, which pulls in Bootstrap 3, which worked fine. When I added the Breeze Client and Server Package and ran, the app fell over:

‘Could not load file or assemblyMicrosoft.Data.Services.Client, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′

The version installed in the project was 5.6.1.0

Added the following to web config & this fixed the issue:

      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-5.6.0.0" newVersion="5.6.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-5.6.0.0" newVersion="5.6.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Spatial" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-5.6.0.0" newVersion="5.6.1.0" />
      </dependentAssembly>