Search code examples
c#windows-phone-7visual-studio-2012exiflib

ExifLib fails to install from NuGet


All I want is to use the ExifLib.dll in a Windows Phone 7.1 project. I tried to install the package from NuGet and I get a compatibility error:

Could not install package 'ExifLib 1.3.0.0'. You are trying to install this package into a project that targets 'Silverlight,Version=v4.0,Profile=WindowsPhone71', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

I am using Visual Studio 2012. Why is this happening? Is there any compatibility issue, and if it is, how could it be resolved?

Thank you in advance.


Solution

  • Common ExifLib isn't compatible with Windows Phone. But you can read this article and try this library by Tim Heuer.