: : : After created a simple project in C# .NET( with 1 single class ) and
: : : would like to reuse it in VB .NET i played around with Visual Studio
: : : 05 for hours to find out "how can i make a DLL files to reuse in
: : : other language". I am sure i dont know how to add some dll module
: : : into my C# project either. Some advise please.
: : 1. Create a new class library project
: : 2. Create classes and code
: : 3. complie Project
: : 4. Dll Created
: : 5. Create a new project
: : 6. Click on Add Reference
: : 7. Navigate to the class library folder
: : 8. Go into the debug folder or whatever and include
: : remember you will prob have to include the namespace. in the new
: : project.
: THank you very much. So we have to copy ( or move the code ) to an
: other class library to compile to dll files. This way work pretty
: good. Howerver, we cant compile it directly from working project.
: Is there anyway i can compile only 1 C# file to become a dll file?
: For example, if I work with a C# project and make a class in 1 .cs
: file. Then i want to make that file (only) to become a DLL file
: without building an other class library project. Is it posible to
: do it in visual studio 05 ?
: By the way, when i reuse a dll file, do i have to copy that dll file
: to my working project, or i just need to browse to the file and
: compile it ?
If you want a dll of one class then just add one class to a project and compile it. Not you have a understanding of Dll's and class libraries search google for N-Tier Development.