I’m using .Net framework 2.0 and I’ve been searching on how to include a .dll in my project. I want this dll to be compliled in the final .exe, but I don’t know how. When I add it to my project like any file, my classes can’t access the functions because they need a [Dll Import]. And when I add it as a reference, it’s being pasted in the Release folder.
Is there a way to access my dll without recoding every function or use it as a reference?
What you are searching for is called ILmerge.
http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx