[英]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安装?)。
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.