Microsoft.SqlServer.Types' version 10 or higher could not be found on visual studio online

Viewed 3428

I have seen this problem on several questions, all of the solutions work fine when you're building locally. I currently have my code on visualstudio.com, and I have an automatic build whenever I push code from my machine.

I know you have to install a nuget package (Which I have) and install the types from the following link:

http://go.microsoft.com/fwlink/?LinkID=239644&clcid=0x409

The problem is, I don't know how to install that from my browser, since it's building in the cloud.

Am I missing something?

4 Answers

After all tipps I found on the web didn't work out for me, I want do document the solution which worked for me:

I installed the Nuget Package and created the following redirect in app/web.config:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
    <assemblyIdentity name="Microsoft.SqlServer.Types" publicKeyToken="89845dcd8080cc91" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-14.0.0.0" newVersion="14.0.0.0" />
  </dependentAssembly>
</assemblyBinding>    

I found the neccessary infos here: https://github.com/aspnet/EntityFramework6/issues/244

Related