2012-12-03 143 views
0

我只需要在Windows Phone 7.1項目中使用ExifLib.dll。我試圖從的NuGet安裝包,我得到一個兼容性錯誤:ExifLib無法從NuGet安裝

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.

我使用Visual Studio 2012年爲什麼會出現這種情況?是否存在兼容性問題,如果是,那麼如何解決?

預先感謝您。

回答

1

常見的ExifLib與Windows Phone不兼容。但你可以閱讀這個article 並嘗試這個蒂姆豪雅library

2

ExifLib剛剛更新至1.4版本,現在它可以與Windows Phone一起使用 - 您需要使用新的構造函數重載,該重載需要Stream

NuGet軟件包也被更新爲包含Windows Phone兼容DLL。

+0

你可以添加通用應用程序的DLL以及? –

+0

@凱爾,會做。敬請關注! –

+0

@Kyle,Nuget軟件包已更新,支持通用應用程序。當你放棄它時,請回復我! –