简体   繁体   English

无法加载文件或程序集'Microsoft.SqlServer.TransactSql,Version = 13.0.0.0

[英]Could not load file or assembly 'Microsoft.SqlServer.TransactSql, Version=13.0.0.0

The possible answer posted above is wrong. 上面发布的可能答案是错误的。

Cannot debug a project because of this error message. 由于此错误消息,无法调试项目。

** **

Could not load file or assembly 'Microsoft.SqlServer.TransactSql, Version=13.0.0.0 无法加载文件或程序集'Microsoft.SqlServer.TransactSql,Version = 13.0.0.0

** **

The project type is a VSIX extension. 项目类型是VSIX扩展。

I'm guessing that somehow, the VS SQL support has been whacked somehow... but not sure what to do to fix. 我猜不知怎么说,VS SQL支持已经被某种方式破坏了......但不知道该怎么做才能修复。

I found this in Add/Remove programs, but do not know how they were installed (maybe through VS install?). 我在添加/删除程序中找到了这个,但不知道它们是如何安装的(可能是通过VS安装?)。
2016版SQL

My VS Version is: 我的VS版本是:

在此输入图像描述

Please advise. 请指教。

This line was causing the issues, I wanted to provide a listing of all classes in assemblies to user to see versioning. 这一行引起了问题,我想提供程序集中所有类的列表给用户以查看版本控制。 When I commented it out, problem disappeared. 当我评论它时,问题就消失了。

var types = AppDomain.CurrentDomain.GetAssemblies().Select(a => a.GetTypes()).ToList();

I still don't know why I have the 2016 SSMS installs, maybe I tried it out earlier this summer. 我仍然不知道为什么我有2016年SSMS安装,也许我今年夏天早些时候尝试过。 But, oddly why does this line of code above cause the problem? 但是,奇怪的是为什么上面这行代码会导致问题呢? Weird. 奇怪的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集Microsoft.ReportViewer.ProcessingObjectModel,版本= 13.0.0.0 - Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectModel, Version=13.0.0.0 在Visual Studio 2015上加载ASP.NET MVC网站时,获取“无法加载文件或程序集'Microsoft.SqlServer.BatchParser,版本= 13.0.0.0” - Getting “Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=13.0.0.0” when loading ASP.NET MVC site on Visual Studio 2015 无法加载文件或程序集'Microsoft.SqlServer.Smo,版本= 10.0.0 - Could not load file or assembly 'Microsoft.SqlServer.Smo, Version=10.0.0 无法加载文件或程序集 'Microsoft.SqlServer.Types,版本 = 11.0.0.0 - Could not load file or assembly 'Microsoft.SqlServer.Types, Version=11.0.0.0 程序集加载错误 - > 无法加载文件或程序集“Microsoft.SqlServer.Types,版本 = 10.0.0.0”或其依赖项之一 - Assembly Load Error - > Could not load file or assembly 'Microsoft.SqlServer.Types, Version=10.0.0.0' or one of its dependencies Azure Function 无法加载文件或程序集 'Newtonsoft.Json,版本 = 13.0.0.0' - Azure Function Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0' 2017服务器中无法加载文件或程序集Microsoft.SqlServer.management.sdk.sfc版本11.0.0.0 - Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0 in 2017 server 项目Runnig错误无法加载文件或程序集'Microsoft.SqlServer.Management.SDK.SqlStudio,版本= 14.0.0.0 - Project Runnig error Could not load file or assembly 'Microsoft.SqlServer.Management.SDK.SqlStudio, Version=14.0.0.0 无法加载文件或程序集“Microsoft.SqlServer.Types,Version=10.0.0.0”或其依赖项之一 - Could not load file or assembly 'Microsoft.SqlServer.Types, Version=10.0.0.0' or one of its dependencies 无法加载文件或程序集 Microsoft.SqlServer.BatchParser? - Could not load file or assembly Microsoft.SqlServer.BatchParser?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM