添加一个dll文件到C#项目 [英] Adding a dll file to a C# project

查看:226
本文介绍了添加一个dll文件到C#项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个新手的问​​题,但...

It's a beginners question, but...

如果你看看上面的图片,有Bass.NetDLL添加为参照,还可以直接作为项目文件。

If you look at the image above, there is the "Bass.Net" dll added as reference and also directly as file in the project.

谁能告诉我什么是这样做的呢?

Can someone tell me what's the point of doing that?

推荐答案

没有理由,真的。这可能是因为Visual Studio中设置为显示未在项目(硬从图片告诉)文件和DLL的恰好是在主目录。该文本是pretty的明确的,额外的文件

No reason, really. It could be that Visual Studio is set to display files not in the project (hard to tell from the picture) and the dll's happen to be in the main directory. The text is pretty clear that the extra files are

  • bass.dll
  • bassenc.dll
  • lame.exe

在.NET发生对象要与其他人在同一目录下,你需要添加它作为参考。

The .net one happens to be with the others in the same directory and you need to add it as a reference.

这篇关于添加一个dll文件到C#项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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