Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to create DLL file in visual studio 2019 community edition

What I have tried:

Nothing do not know anything about this
Posted
Updated 12-Feb-21 8:31am

OPen VS, and either select a solution, or create a new one.
If you pick a solution, then open the Solutions pane, and right click the solution name. Select "Add ... New Project" from the dropdown.
In either case, In the templates dialog, select "Class Library (.NET Framework)" and press "Next"
Give it a name as usual and create the project (for a new solution, you will probably need to add a "Testing" project to provide an executable that can call your DLL assembly classes, add a reference to the DLL project to it, and make it the "Startup project" - DLL files cannot be executed directly).
 
Share this answer
 
 
Share this answer
 
In addition to the previous solutions, here is a video that might make things clearer:
How to Make & Use (.dll) files in Visual Studio[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900