VS2010添加.dll引用错误
我正在尝试将 DLL 添加到我的项目中,但出现一些问题。 首先,当我在引用中添加dll时,VS不会编译。它显示错误:
“ResolveManifestFiles”任务的“NativeAssemblies=@(NativeReferenceFile);@(_DeploymentNativePrecession)”参数无效。
无法使用其输入参数初始化“ResolveManifestFiles”任务。
谁能告诉我出了什么问题?
I am trying to add a DLL to my project but there are some problems.
first of all, VS dont compile when I add the dll in references. it shows the error :
The "NativeAssemblies=@(NativeReferenceFile);@(_DeploymentNativePrerequisite)" parameter for the "ResolveManifestFiles" task is invalid.
The "ResolveManifestFiles" task could not be initialized with its input parameters.
anyone can tell me what is wrong ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
之前也有人问过类似的问题。您可以参考下面的链接,看看是否有助于缓解您的错误。
查看此 StackOverflow 问题:ResolveManifestFiles
MSDN 论坛 - 讨论
Regsvr32 使用和错误
A similar question was asked previously. You can refer to the links below to see if it helps alleviate your errors.
See this StackOverflow question : ResolveManifestFiles
MSDN Forums - Discussion
Regsvr32 Usage and Errors
我已经解决了这个问题。
首先,该 dll 不是 .NET dll,因此我必须将其放在项目文件夹的 bin/debug 目录中。
然后我用以下命令访问它:
LDA_GetStatus() is a function on dll....
I have already resolved the problem.
first, the dll isn´t a .NET dll so I has to put it in bin/debug directory of project folder.
then I access it with :
LDA_GetStatus() is a function on dll....