How to create Dll file in visual studio2005.
Please help me.
Loading
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.
Prince PatelPosted Apr 23, 2022, 8:31 AM
I think this blog will help you to make dll:
Blog : https://www.thecodehubs.com/how-to-create-and-use-dlls-class-libraries-in-asp-net/
Sam HobbsPosted Dec 9, 2011, 1:25 PM
VulpesPosted Dec 9, 2011, 5:43 AM
If he'd been asking it under the Visual C++ category, then clarification would definitely have been needed.
Sam HobbsPosted Dec 8, 2011, 12:02 PM
Mahesh ChandPosted Dec 8, 2011, 11:35 AM
Also see right side listing of this post.
Sam HobbsPosted Dec 8, 2011, 11:11 AM
SenthilkumarPosted Dec 8, 2011, 9:17 AM
It can have any number of classes and the methods which are defined as public will be accessed out side.
* It cannot be run Independent.
* It should be add as reference in the application or other library.
Right click the soultion >> Add new project >> select the class library.
After the logic written in the dll, right click the project and build.
This dll can be added as reference to the other class library.
The version can be added using sn (strong name) and can be added to the GAC folder.
VulpesPosted Dec 8, 2011, 5:01 AM
Notice that you need to declare your classes as public if you want them to be accessible to consumers of the dll file.
Notice also that you won't be able to run the dll directly as it does not have a Main() method. You will need to create a sample exe project to test it by adding a reference to the dll file to that project.