Click here to Skip to main content
15,889,200 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hii,everyone

How to include all references to my project folder such as namespaces's files??
most of project references does not in project folder !!
what is the ideal way to do??
Posted
Updated 19-Sep-12 0:14am
v2

1 solution

Hi,

You can reference your external components by adding them to your .config file (I don't know if you're running asp.net or winforms) or simply by right clicking your project and selecting "Add Reference...".

How do I add an assembly reference in the web.config file?[^]

Hope it helps
 
Share this answer
 
Comments
mhassan083 19-Sep-12 5:53am    
windows forms
mhassan083 19-Sep-12 5:55am    
also the version of .net framework has affected or no
_Zorro_ 19-Sep-12 6:02am    
So try right clicking your project and selecting "Add Reference..." Is this what you're asking for?
mhassan083 19-Sep-12 6:55am    
Is true to create folder called "reference" and include all dll's files
such as system.dll (location before in c:\windows\..) to my folder "reference"
in my project folder to success to make deployment .
_Zorro_ 19-Sep-12 8:21am    
I don't understand what you're trying to do...
When you say 'and include all dll's files sur as system.dll' what do you mean?

Take a look at this, it may help: http://www.codeproject.com/Articles/4352/Demystifying-the-NET-Global-Assembly-Cache

Otherwise, just add your references as I said before and they should be packed in your bin folder.

Also take a look at this: http://msdn.microsoft.com/en-us/library/7314433t(v=vs.80).aspx

and this: http://www.deitel.com/books/NET/AddingReferences.pdf

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