문제

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.

도움이 되었습니까?

해결책 2

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top