Solving: A generic error occurred in GDI+. in C#

5 Comments

I was creating an image in C# by using code similar to: public void SaveImage() { byte[] byteArray = null; // Put the bytes of the image here.... Image result = null; ImageFormat format =

How to: Adjust C# assembly probing path at runtime.

0 Comments

When a assembly is not found, when using the standard probing method, an assembly resolve event is fired, allowing to load the assembly from a different file system path:   public void Test() { AppDomain