compiling into a dll from studio 2005 IDE
Hi, I'm a bit new with this so I'm in need of help in compiling a dll. I made a project but decided to put most of my code in a separate class inside the same project. But when I run the project it just run and generate the exe file under the debug folder. Can someone help me how can I compile the class into dll and have it compiled at the moment I run the project. Thanks
Mark GutierrezPosted Aug 17, 2007, 5:55 AM
Mike GoldPosted Aug 14, 2007, 11:39 PM
You need to put the class in a separate project and reference it in the main project.
1) Create a New Project inside your current solution by right clicking on the solution and choosing Add New Project in the popup menu.
2) choose the class library template and name it something similar to your class.
3) Drag your class from the main project into the new project. Be sure to delete it from the main project.
4) Add a reference in the main project to your new library project by right clicking on references in the main project and choosing the Project tab. Add the new project as a reference.
Best,