Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone,

My requirement is to create common library which can be used across all projects.
There are some process which are same in all projects like login, authentication etc.
I do have some ways like creating DLL, Shared classes etc but need more suggestions with which I can create common utility and it can be used in any project.

Hope you all can help me out.
Thank you in advance.
Posted
Updated 3-Dec-14 20:09pm
v2

1 solution

1.You should create a Library Project (DLL) that must not depend on any other project from your specific application, then put into it the reusable code.

Then share this utility project in all your applications by adding, in each application solution, this existing project (by using Add Existing Project from Solution Explorer).

2.If you do not want a real library, other solution could be to create project templates (that have some basic common parts already implemented) then to use them for creating similar applications. For details about this see in MSDN.[^]
 
Share this answer
 
v4
Comments
[no name] 4-Dec-14 2:31am    
+5 Sir..:)
Raul Iloc 4-Dec-14 2:33am    
Thank you for your vote!
Honey Jagyasi 4-Dec-14 3:18am    
Thanks Raul for your suggestion. I do know this way and can implement but I am looking for some other ways other than DLL,or shared class.
Raul Iloc 4-Dec-14 3:55am    
See my update in my solution above.

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