c# - Scintilla .NET - 找不到库

标签 c# visual-studio-2008 scintilla

我正在尝试让 Scintilla .NET 在我正在制作的 C# 窗体中工作。 我已按照自述文件中提供的说明进行操作,例如将 Scintilla 组件添加到工具箱中,但是当我尝试将组件拖动到 C# 窗体时,出现以下错误: http://tinypic.com/r/152m7wx/4

我已将两个包含的 dll(SciLexer.dll、ScintillaNET.dll)放在我的 system32 文件夹中。我似乎无法弄清楚出了什么问题。

我正在使用 VS 2008 和 Windows 7。

我为什么会收到“找不到文件”错误的任何想法?

最佳答案

您的计算机是 x86 还是 x64?如果是 x64,则需要将 dll 放在 C:\Windows\SysWOW64 中 否则执行以下操作:将 scilexer.dll 放在与 scintillanet.dll 相同的目录中(请注意,当您从 VS 2008 引用 scintillanet.dll 时,它会将其复制到调试目录..因此 scilexer.dll 也应该放在调试中。

关于c# - Scintilla .NET - 找不到库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1639073/

相关文章:

c# - 如何使 Backgroundworker 中的进程在取消挂起事件时退出

c# - MVC 3 在 ValidationSummary 中显示 HTML

c++ - 无效错误包 : C2059, C2143、C2181、C2660

c# - WPF XAML 问题中的 ScintillaNET

c# - 验证 asp.net mvc 中的下拉列表

c# - 使用 Matlab dll 时,在 Windows Store App 中的模块 mscorlib.dll 错误中找不到类型 System.ApplicationException

c++ - 编译的应用程序可执行文件崩溃,除非重命名。为什么?

visual-studio - BuildShadowTask "Could not load file or assembly"

c++ - 当用户按下 Enter 时如何控制 wxStyledTextCtrl 中的 LineIndentation

delphi - DScintilla 是否有语法突出显示的示例?