我需要添加到我的项目Sql编辑器(像ssms使用)。朋友告诉我使用这个类(SqlScriptEditorControl
)我试图使用它,但它给了我错过dll
的错误
Error 108 The type 'Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameNotify2' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\i5\Desktop\Finish_Project\MyProject\Sqaddin\Sqaddin\Form1.cs 19 13 Sqaddin
Error 109 The type 'Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualStudio.TextManager.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\i5\Desktop\Finish_Project\MyProject\Sqaddin\Sqaddin\Form1.cs 19 13 Sqaddin
Error 110 The type 'Microsoft.VisualStudio.Shell.Interop.IVsStatusbarUser' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\i5\Desktop\Finish_Project\MyProject\Sqaddin\Sqaddin\Form1.cs 19 13 Sqaddin
Error 111 The type 'Microsoft.VisualStudio.TextManager.Interop.IVsFindTarget' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualStudio.TextManager.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\i5\Desktop\Finish_Project\MyProject\Sqaddin\Sqaddin\Form1.cs 19 13 Sqaddin
Error 112 The type 'Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameNotify' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\i5\Desktop\Finish_Project\MyProject\Sqaddin\Sqaddin\Form1.cs 19 13 Sqaddin
Error 113 The type 'Microsoft.VisualStudio.Shell.Interop.IVsWindowPane' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\i5\Desktop\Finish_Project\MyProject\Sqaddin\Sqaddin\Form1.cs 19 13 Sqaddin
我在哪里可以得到这个DLL? (如果你使用这门课我会非常感谢你,如果你留下关于这个课程的usfull链接(不是这个https://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.ui.vsintegration.editors.sqlscripteditorcontrol.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1)
这张照片是Brien Foss的答案
that what I get,I dont know where you got the second picture
我不知道你在哪里找到第二张照片