如何将nhunspell dll添加到visual studio中 [英] How do a add the nhunspell dlls to visual studio

查看:84
本文介绍了如何将nhunspell dll添加到visual studio中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了包并拥有了DLL。从未添加过 DLL,我很快就学会了这个看似非常简单的过程。项目/添加引用并找到DLL然后单击确定。它说我不能添加它。我尝试了x64和x32版本,结果相同。我使用 VS2015社区





我尝试过:



我用谷歌搜索并搜索了这个帮助,网站发送给我这里提问。

解决方案

作为由多个DLL组成的包,你最好使用NuGet正确添加它...

搜索NHunSpell,或按照这里的说明操作:https://www.nuget.org/packages/NHunspell/ [ ^ ]


您只能添加对基于COM或.NET的引用.DLL的引用。任何其他.DLL都必须通过您使用所谓的编写的代码直接访问。平台调用 [ ^ ]。

I have downloaded the package and have the DLLs. Having never added a new DLL I soon learned the process which seems quite simple. Project/add reference and find the DLL then click ok. It says I cannot add it. I tried both the x64 and x32 versions with the same result. I am using VS2015 Community 



What I have tried:

I have googled and searched help with this and the website sends me here to ask questions.

解决方案

As the package made from several DLLs you better use NuGet to add it correctly...
Search for NHunSpell, or follow the instructions here: https://www.nuget.org/packages/NHunspell/[^]


You can only add a reference to COM-based or .NET assmebly .DLL's. Any other .DLLs would have to be accessed directly through code you write using what's called Platform Invoke[^].


这篇关于如何将nhunspell dll添加到visual studio中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆