简体   繁体   English

ExifLib无法从NuGet安装

[英]ExifLib fails to install from NuGet

All I want is to use the ExifLib.dll in a Windows Phone 7.1 project. 我只想在Windows Phone 7.1项目中使用ExifLib.dll。 I tried to install the package from NuGet and I get a compatibility error: 我尝试从NuGet安装软件包,但出现兼容性错误:

Could not install package 'ExifLib 1.3.0.0'. 无法安装软件包“ 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. 您正在尝试将此软件包安装到针对'Silverlight,Version = v4.0,Profile = WindowsPhone71'的项目中,但是该软件包不包含任何与该框架兼容的程序集引用或内容文件。 For more information, contact the package author. 有关更多信息,请与软件包作者联系。

I am using Visual Studio 2012. Why is this happening? 我正在使用Visual Studio2012。为什么会发生这种情况? Is there any compatibility issue, and if it is, how could it be resolved? 是否存在任何兼容性问题,如果存在,如何解决?

Thank you in advance. 先感谢您。

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 . ExifLib刚刚更新到1.4版,并且现在可以在Windows Phone上使用-您需要使用需要Stream的新构造函数重载。

The NuGet package has also been updated to contain a Windows Phone compatible DLL. NuGet程序包也已更新为包含Windows Phone兼容DLL。

Common ExifLib isn't compatible with Windows Phone. 通用ExifLib与Windows Phone不兼容。 But you can read this article and try this library by Tim Heuer. 但是您可以阅读本文,并尝试使用Tim Heuer的该

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM