Hi,
I am using latest version (__7.0.0.6__) of Magick.NET to convert images from .jpeg to .pbm and .png format. I am happy to use this library as it has saved my lot of time. But On development machine it works like charm. But after deployment, it gives me below error :
```
Failed to load embedded assembly: The type initializer for '<module>' threw an
exception.
at ImageMagick.AssemblyHelper.get_Assembly()
at ImageMagick.MagickImage..ctor(Stream stream)
```
As mentioned in documentation, I have already installed __Visual C++ Redistributable for Visual Studio 2012__. But still it gives me same error.
Can you please help me through this error ?
Comments: ** Comment from web user: dlemstra **
I am using latest version (__7.0.0.6__) of Magick.NET to convert images from .jpeg to .pbm and .png format. I am happy to use this library as it has saved my lot of time. But On development machine it works like charm. But after deployment, it gives me below error :
```
Failed to load embedded assembly: The type initializer for '<module>' threw an
exception.
at ImageMagick.AssemblyHelper.get_Assembly()
at ImageMagick.MagickImage..ctor(Stream stream)
```
As mentioned in documentation, I have already installed __Visual C++ Redistributable for Visual Studio 2012__. But still it gives me same error.
Can you please help me through this error ?
Comments: ** Comment from web user: dlemstra **
Did you also install the Visual C++ Redistributable for Visual Studio 2012 on your production server?