Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making a DLL from a C# project?

Is it possible making a DLL file from an existing project in visual studio C# ? instead of giving an exe , i want to supply a DLL file for another person to use my methods in his code. i want to take the project as a whole and supply a DLL. It is already a big project with many components , but its built not right and it will take a whole lot of time to make this code into modules, so i rather give the whole project as a dll.

thanks for any help.

like image 593
Daniel Avatar asked Jul 24 '11 15:07

Daniel


People also ask

What is .dll file in C?

In Windows, a dynamic-link library (DLL) is a kind of executable file that acts as a shared library of functions and resources. Dynamic linking is an operating system capability. It enables an executable to call functions or use resources stored in a separate file.

What programming language is used in DLL?

DLL files use languages like C or C++, although you'll see C++ more often. You can write your own DLLs to run some code you need if you're willing to learn how to do it. It could be valuable to your project and of course it could make you look good in return.


1 Answers

Project properties -> Application tab -> Output type -> Select 'Class library' there.

like image 148
Ivan Danilov Avatar answered Sep 18 '22 11:09

Ivan Danilov