I am using VB.NET 2008, and I want to make a DLL that will be used in a C# project.
To create a DLL project in Visual Studio 2019On the menu bar, choose File > New > Project to open the Create a New Project dialog box. At the top of the dialog, set Language to C++, set Platform to Windows, and set Project type to Library.
A DLL is a library that contains code and data that can be used by more than one program at the same time. For example, in Windows operating systems, the Comdlg32 DLL performs common dialog box related functions. Each program can use the functionality that is contained in this DLL to implement an Open dialog box.
When you build your class library in Visual Studio, it will generate the DLL for you and place it in the bin directory.
YourProject/bin/Debug/YourProject.dll
YourProject/bin/Release/YourProject.dll
It will be placed in the folder that represents your build-mode (Debug / Release), which you can normally switch in your toolbar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With