how to hide my .dll files from my project

Hello

how i can hide my .dll files from my project to protect it from being used by others
mohammedokashaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Michael FowlerConnect With a Mentor Solutions ConsultantCommented:
If you are rolliong out the project then you could use IlMerge to fold the required dll's and the executable into one exe file.

ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and DLLs alike and comes with several options for controlling the processing and format of the output.
http://www.microsoft.com/en-au/download/details.aspx?id=17630

Michael
0
 
guveraConnect With a Mentor Commented:
To hide dll, you have couple of options :
 
         •Use ILMerge. ILMerge has a nice GUI interface that can be found in the below link
         http://ilmergegui.codeplex.com/


        •Embebed them as a resource, see this article for details.
       http://blogs.msdn.com/b/microsoft_press/archive/2010/02/03/jeffrey-richter-excerpt-2-from-clr-via-c-third-edition.aspx

Thanks
Guvera
0
 
Srinivasulu MuppalaLead DeveloperCommented:
you could use CAS for assembly security.
0
All Courses

From novice to tech pro — start learning today.