c# – 无法加载文件或程序集’Microsoft.VisualStudio.Data.Tools.SqlEditor.dll’

每次我在VS 2013中运行我的项目时,都会遇到以下异常Could not load file or assembly‘Microsoft.VisualStudio.Data.Tools.SqlEditor.dll’ or one of itsdependencies. An attempt was made to load a program with...

每次我在VS 2013中运行我的项目时,都会遇到以下异常

Could not load file or assembly
‘Microsoft.VisualStudio.Data.Tools.SqlEditor.dll’ or one of its
dependencies. An attempt was made to load a program with an incorrect format.

我试图运行一些命令,但没有到达任何地方.可能是什么原因,并解决它.谢谢.

解决方法:

基于this,Microsoft.VisualStudio.Data.Tools.SqlEditor.dll由Microsoft SQL Server数据工具安装,由Visual Studio安装.

运行Visual Studio安装程序(从“添加/删除程序”)并选择修复重新安装此缺少的依赖项,现在我不再在启动时收到错误.

本文标题为:c# – 无法加载文件或程序集’Microsoft.VisualStudio.Data.Tools.SqlEditor.dll’

基础教程推荐