1

I have added the Nuget/Coapp package for Expat (https://github.com/coapp-packages/expat) to my Visual C++ 2012 project. The project is using the Unicode charset and I finally found where I configure the Expat build rules (Project properties > "Configuration Properties" > "Referenced Packages" > "expat"). I have set the "UTFwidth" property there to "utf16". This is working, ie XML_Char becomes wchar_t during compilation. However, it seems that the redistributable package which contains the DLLs is not affected by this setting, because it copies "libexpat.dll" instead of "libexpatw.dll" to the output directory. If I manually copy the correct DLL, my programme is running as expected.

How do I fix the build process to copy the right version of the DLL?

Christoph
  • 1,964
  • 2
  • 27
  • 44
  • I have a similar problem with the nuget packages of zlib and libpng in visual studio 2013. They don't link because the targets are missing. – Knowleech Apr 03 '14 at 09:18

0 Answers0