Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: Copy imagemagick dependencies when deploying a web project [983]

$
0
0
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 **

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/


Viewing all articles
Browse latest Browse all 1011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>