Domanda

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.

È stato utile?

Soluzione 2

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

Altri suggerimenti

ExifLib has just been updated to version 1.4, and it now works with Windows Phone - you'll need to use the new constructor overload which takes a Stream.

The NuGet package has also been updated to contain a Windows Phone compatible DLL.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top