在Visual Studio Online上找不到Microsoft.SqlServer.Types的版本10或更高版本

Ran*_*ger 4 c# visual-studio

我在几个问题上都看到了这个问题,当您在本地构建时,所有解决方案都可以正常工作。我目前在visualstudio.com上有我的代码,每当我从计算机中推送代码时,我都会自动构建。

我知道您必须安装nuget软件包(我有),并通过以下链接安装类型:

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

问题是,我不知道如何从浏览器安装它,因为它是在云中构建的。

我想念什么吗?

Lui*_*lle 5

在网上发现所有提示后,我都无法解决问题,我想记录一下适用于我的解决方案:

我安装了Nuget软件包,并在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>    
Run Code Online (Sandbox Code Playgroud)

我在这里找到了必要的信息:https : //github.com/aspnet/EntityFramework6/issues/244