Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I have created a class library.
I need to create another class library for I need to reference the first library in that can we create the DLL file by using another dll file

Thanks in advance

[edit]Typo removed/corrected[/edit]
Posted
Updated 21-May-12 1:01am
v2
Comments
StM0n 21-May-12 6:59am    
Relating to your question, are those answers ok for you?

Add reference to the first class library in the second class library
 
Share this answer
 
1)u need to build the first classLibrary1 then u will get the that DLL file in the same path (check in debug folder )
2)next in the classLibrary2 application inthat goto add reference u need to add(ClassLibrary1.dll) here

then u will get the classLibrary1 methods in the classLibrary2.................
 
Share this answer
 
Please refer:
Creating C# Class Library (DLL) Using Visual Studio .NET[^]

Walkthrough: Creating and Using a Dynamic Link Library [^]
In this walkthrough, you will create a dynamic link library (DLL) containing useful routines that can be used by other applications. Using DLLs is a great way to reuse code. Rather than re-implementing these routines in every program you create, you write them once and reference them from applications that need the functionality.

Also refer:
How to: Create and Use C# DLLs (C# Programming Guide)[^]
 
Share this answer
 
Click on add Reference then browse the location then do all u need
 
Share this answer
 
Yes . Just add reference to the first class library in the second class library.
 
Share this answer
 

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