Im coding in c#. already written a portable console application that needs a dll to work with and it works perfect without any error.
I want to get rid of carrying that dll everywhere and copy its source or some of its classes. Im already using NetShrink software for making my exe and dll a package but its a kind of trick and not a original way.
MyQuestion: Is there any original way in visual studio or any plugins to bring a dll source into another project ? i heard from an old programmer that there is a built-in tool that bring whole .dll source to project.
What i tried: except Netshrink i tried assembly-explorer in Resharper plugin and get output as .sln project from .dll but thing get hard with this.
the dll is Ionic.Zip.dll in DotNetZip used for compressing files.
Actually there is no way around it. You have several options to deal with your portable project.
I personally use approach number 3. Copy the .dll to my solution somewhere, reference it, load it on demand and do not copy it to the output folder. If possible, stick to approach number 5. since its the most convenient one.