So I have finally completed a project I have been working on for awhile, it's rather large and needs to be used in another project. With that I have decided I want to create a DLL out of the code (well a class library) ... plus I wanted to learn how to do it.
Well the problem is that it uses some References, specifically the System.Drawing one. When I import the DLL I have created into another project to test, it complains about missing the reference
The type 'System.Drawing.Bitmap' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Well this just won't do, I want to make this DLL one big package where the user can import it and use it. So my question is, how do I include this reference in my Class Library project so that it's all nicely bundled up in one package?