Adding a DLL file to a C # project

This is a newbie question, but ...

Image of the dll and dll links included in the project file http://a3.vox.com/6a00c2251e5b66549d00e398ca81eb0003-pi

If you look at the image above, the DLL "Bass.Net" is added as a link, and also directly as a file in the project.

Can someone tell me what to do?

+5
source share
7 answers

There is really no reason. It is possible that Visual Studio is configured to display files that are not part of the project (it is difficult to understand from the figure), and the DLL is in the main directory. It’s pretty clear in the text that additional files

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

..net , .

+3

Windows DLL . bass.dll , ( , ). , , Visual Studio . DLL .

, , - . , , Solution Explorer . , , - , (, , ). BIN , Visual Studio, . , , , , .

, , . ​​, , , :

  • :
  • : DLL
  • : , (, )
+2

- , .

, dll , , . , , dll . , dll , Visual Studio.

+1

(Bass.Net.dll ) , , .

0

, ;)

0

, - - , , , DLL , , . , , , dll; .
, , , - Visual Studio loke Wise InnoSetup, .

0

. , 3

  • .Net. .
  • Assemblies that you expect from other developers to install as part of the MSI or exe installation package. This usually means that they are highly signed and have a copy in the GAC.
  • Assemblies that you do not expect from other developers are installed through the MSI or exe installer. Maybe because you have a third-party or home library, and not in the GAC.

In the third case, the easiest is to save a copy of the DLL in the original repo.

0
source

All Articles