how to make Dll
-
Hi fellows, I built a simple custom calendar control on my Web Application. Now how can i build a dll file so i don't have to carry the source code file from one project to another project. Can someone show me step by step or any link. Thanks
when you build the project, a dll of your project name will be automatically created in bin/debug folder. you have to copy the dll from this directory and add it to the bin of your other project. then in VS.net , right click on project and add reference, then browse and go to the location where you copied the dll. now add it, in toolbox menu you will get a control of you specified project/class name.
-
Hi fellows, I built a simple custom calendar control on my Web Application. Now how can i build a dll file so i don't have to carry the source code file from one project to another project. Can someone show me step by step or any link. Thanks
You can just compile the .cs file by selecting the target as a library and it will be compiled to a .dll This is done in Command Prompt. c:\> csc /t:library hello.cs You don't have to be AFRAID!