How to make DLL file in .net?
Loading
How to make DLL file in .net?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Jan 20, 2023, 9:50 PM
Developes are constantly saying DLL but there are many types of DLLs. In .Net a Class Library is a DLL and you are probaly asking about Class Libraries (as has been indicated). Developers should not say DLL without clarifiying what type of DLL. If it is a .Net Class Library that you need then calling it a Class Library would make it much easier to understand, as has been indicated in previous replies.
Deepak TewatiaPosted Jan 20, 2023, 10:17 AM
The DLL file will be located in the bin/debug or bin/release folder, depending on the build configuration that you selected.
Aravind GovindarajPosted Jan 20, 2023, 9:43 AM
Create a project using class library, simple compile it, you can see the pdb and dll files in your bin, debug folder.
Jignesh KumarPosted Jan 20, 2023, 8:54 AM
You will find dll in bin folder under your solution.
Vishal JoshiPosted Jan 20, 2023, 8:54 AM
You can find DLL as per below path detail.
Path: DriveName\..\Project_Name\bin\Debug\Project_Name.dll
i.e. D:\Project_Name\bin\Debug\Project_Name.dll
Thanks
Deepak TewatiaPosted Jan 20, 2023, 8:21 AM
Hi Kripanshu,
The general steps to create a DLL in C# using Visual Studio:
Note: You can also make a DLL file using the command line interface by using csc.exe, which is the C# compiler.
Vishal JoshiPosted Jan 20, 2023, 7:34 AM
Hello
To make a DLL file you need to Create a Class Library Project and it will generate a DLL file that you can utilize in other projects.
The Class Library DLL contains program code, data, and resources that can be can be used by other programs and are easily implemented into other Visual Studio projects.
Please review the below article for the sample.
https://www.codementor.io/@dewetvanthomas/tutorial-class-library-dll-for-c-129spithmr
Thanks
Jignesh KumarPosted Jan 20, 2023, 7:20 AM
You can create class library and build the solution it will generate dll in bin folder, Please refer this one,
https://www.c-sharpcorner.com/UploadFile/1e050f/creating-and-using-dll-class-library-in-C-Sharp/