The imagemagick dependencies are not being copied during deployment of a web project.
Add the following to PropertyGroup:
```
<ImageMagickWebOutputPath>bin\ImageMagick</ImageMagickWebOutputPath>
```
Add the following to ItemGroup:
```
<FilesForPackagingFromProject Include="@(ImageMagickFiles)">
<DestinationRelativePath>$(ImageMagickWebOutputPath)\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
```
This will ensure that all dependencies are copied to bin\ImageMagick on the webserver.
Comments: ** Comment from web user: petersunde **
Add the following to PropertyGroup:
```
<ImageMagickWebOutputPath>bin\ImageMagick</ImageMagickWebOutputPath>
```
Add the following to ItemGroup:
```
<FilesForPackagingFromProject Include="@(ImageMagickFiles)">
<DestinationRelativePath>$(ImageMagickWebOutputPath)\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
</FilesForPackagingFromProject>
```
This will ensure that all dependencies are copied to bin\ImageMagick on the webserver.
Comments: ** Comment from web user: petersunde **
If you'd like a deeper understanding there is more on the subject available at:
http://blog.samstephens.co.nz/2010-10-18/msbuild-including-extra-files-multiple-builds/