How to import a network assembly

I downloaded zlib.NET and there the file that I have to import, it called "zlib.net.dll".

My question is: how do I import this file so that I can use it in C # Express 2008, for example, "System.zlib.etc"?

Thanks.

+3
source share
1 answer

You need to add a link to the assembly:

  • Copy the DLL to some appropriate directory (usually I create a directory libsomewhere near the code).
  • Open Visual Studio and download the solution.
  • In Solution Explorer, find the Links item and right-click it.
  • Select "Add Link ..."
  • "" DLL

.

+6

Source: https://habr.com/ru/post/1706166/


All Articles