This project has moved and is read-only. For the latest updates, please go here.

Xml files location

May 28, 2013 at 12:36 PM
Edited May 28, 2013 at 1:09 PM
For latest changeset(26421),"CheckImageMagickFiles" method is searching for xml files at the initialize folder but xml files are located in a different folder. I copy xml files to the initialize folder manually, is it a bug?
May 28, 2013 at 2:04 PM
The initialize folder should contain the xml files. Where are you copying the files from?
May 28, 2013 at 2:09 PM
"ImageMagick\Q16\bin\v4.0\x64" containts only dll files. I am copying from "ImageMagick\xml" folder.
May 28, 2013 at 2:42 PM
Edited May 28, 2013 at 2:50 PM
Are you using NuGet? The NuGet package should include a .targets file in your project. When you build your project an ImageMagick directory will be created in your bin directory and the dll/xml files will be copied there. What version of Visual Studio and NuGet are you using? I am using VS2012 with NuGet 2.5 and when I build the project the files are copied automaticly.
May 28, 2013 at 2:51 PM
Thanks for your response.
I am not using nuget package, i have checked out project from svn repository and manually built it.

This configuration(copying xml files) can be a post-build event. What do you think?
May 28, 2013 at 3:07 PM
Edited May 28, 2013 at 7:43 PM
You could include a .targets file that copies the files in your own project. An example can be found in the Publish\Magick.NET.targets. or Magick.NET.Tests\Magick.NET.Tests.targets
May 28, 2013 at 3:09 PM
Edited May 28, 2013 at 3:11 PM
Thank you, i will try it.
By the way great job, i really like this project. Please keep on developing:)