简体   繁体   中英

Could not load file or assembly 'Microsoft.SqlServer.Types,Version=15.0.0.0,Culture Neutral,PublicKeyToken=89845dcd8080cc91'

I'm a C# Developer, and i encounter a problem when i create the DataSet type (especially TableAdapter ).

数据集问题中表适配器的创建

I installed the Microsoft.SqlServer.Types package from Nuget Packages Solution but still the same thing.

Could not load file or assembly 'Microsoft.SqlServer.Types,Version=15.0.0.0,Culture Neutral,PublicKeyToken=89845dcd8080cc91' or one of its dependencies. the specific file is not found.

I'm on visual studio 2019 community edition and use data source i will try update to 2022 next

  1. Select Tools > Import and Export Settings from the menu bar to open the Import and Export Settings Wizard.
  2. In the Import and Export Settings Wizard, select Reset all settings,choose no to
    save current
  3. restart visual studio and data source worked

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

Related Question Could not load file or assembly 'Microsoft.SqlServer.Management.RegisteredServers, Version=15.2.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' Could not load file or assembly 'Microsoft.SqlServer.Types, Version=12.0.0.0, Culture=neutral, PublicKeyToken=myKey' or one of its dependencies. Could not load file or assembly 'Microsoft.SqlServer.Types, Version=11.0.0.0 FileLoadException: Could not load file or assembly 'Microsoft.Practices.ObjectBuilder, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=null' Assembly Load Error - > Could not load file or assembly 'Microsoft.SqlServer.Types, Version=10.0.0.0' or one of its dependencies Could not load file or assembly 'Esri.ArcGISRuntime, Version=100.13.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' Could not load file or assembly 'EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' Could not load file or assembly 'Microsoft.SqlServer.Types, Version=10.0.0.0' or one of its dependencies Could not load file or assembly 'Microsoft.Extensions.DependencyModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XX' or one of its dependencies
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM