C#SciLexer.dll问题(C# SciLexer.dll question)

编程入门 行业动态 更新时间:2024-10-24 22:22:32
C#SciLexer.dll问题(C# SciLexer.dll question)

我正在使用ScintillaNET作为Scintilla控件的包装器。 我已经编辑了一个词法分析器并想尝试查看更改是否有效,但问题是我不知道它在我的计算机上使用了哪个SciLexer.dll文件。 应用程序目录中的那个似乎没有什么区别。

所以我的问题基本上是,如何知道我的应用程序正在使用哪个SciLexer.dll文件以及如何将其设置为使用应用程序目录中的文件?

I am using ScintillaNET a wrapper of the Scintilla control. I've edited the a lexer a bit and would like to try and see if the changes work, but the problem is I don't know which SciLexer.dll file it's using on my computer. The one in the application's directory did not seem to make a difference.

So my question is basically, how do I know which SciLexer.dll file my application is using and how can I set it to use the one in the application's directory?

最满意答案

使用Visual Studio,检查项目引用的DLL:

打开项目/解决方案后,展开解决方案资源管理器中的“引用”文件夹,找到当前引用的SciLexer.dll的名称。

双击相关组件以在对象浏览器中显示它。

在对象浏览器的右下方窗格中,您将看到磁盘上指向项目引用的特定DLL的完整路径。

这是您需要更改/更新的DLL。 或者,您可以删除现有引用,并将新的引用添加到您希望应用程序使用的目录中的DLL。

Using Visual Studio, check to see which DLL your project references:

With your project/solution open, expand the "References" folder in the Solution Explorer, and locate the name of the SciLexer.dll you are currently referencing.

Double-click on the relevant assembly to display it in the Object Browser.

In the bottom-right pane of the Object Browser, you will see the full path on disk to the specific DLL that your project is referencing.

This is the DLL that you need to change/update. Or, you could remove the existing reference and add a new one to the DLL in the directory that you want your application to use.

更多推荐

本文发布于:2023-07-25 10:44:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1260037.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SciLexer   dll   question

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!