I plan to publish my ASP.NET 4.5 application on Amazon Elastic Beanstalk. I have a library ImageMagick.NET that dependent on the Visual C++ Redistributable Packages.
I can't manually install the packages because I deploy the app from within Visual Studio and the servers will auto-scale based on the code that I have.
I want to install the Visual C++ Redistributable for both x86 and x64 so my app can work as intendent.
Right now I get the error:
ould not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies. The specified module could not be found.
That's because I didn't have the packages installed on the server (asked this question earlier).
So from my understanding, I need a way for the packages to be pre-installed, probably either supplying dll's to the bin folder with the merge modules, or initialize an installer from within the project that will launch the package installer after the project is deployed on Elastic Beanstalk.
I need a way to have those packages installed automatically so the ImageMagick.NET dll can work. Thanks.
update: their might be a way to do it with configuration files.