【问题标题】:How to get Fody / PropertyChanged to work in an iOS project in Xamarin Studio?如何让 Fody / PropertyChanged 在 Xamarin Studio 的 iOS 项目中工作?
【发布时间】:2017-03-06 17:30:47
【问题描述】:

我已经为 Xamarin Studio 安装了 Nuget,并尝试将 Fody/PropertyChanged 添加到我的 iOS 解决方案中。但是我收到以下错误:

Adding 'PropertyChanged.Fody 1.41.0.0' to ImapClientApp.iOS.
Could not install package 'PropertyChanged.Fody 1.41.0.0'. You are trying to install this package into a project that targets 'MonoTouch,Version=v1.0', 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.
System.InvalidOperationException: Could not install package 'PropertyChanged.Fody 1.41.0.0'. You are trying to install this package into a project that targets 'MonoTouch,Version=v1.0', 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.
  at NuGet.ProjectManager.ExtractPackageFilesToProject (IPackage package) [0x00000] in <filename unknown>:0 

有人知道如何让它与 iOS 解决方案合作吗?

【问题讨论】:

  • 您没有尝试将其放入的 PCL?
  • 试用版本 1.29.4。这就是我目前正在使用的。我在使用最新版本时遇到了一些问题。

标签: xamarin.ios fody fody-propertychanged


【解决方案1】:

尝试为 Fody 添加以下 nuget 包。已在我的项目中成功使用。

https://www.nuget.org/packages/Fody/

【讨论】:

    猜你喜欢
    • 2014-11-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-21
    • 1970-01-01
    • 2021-09-27
    • 2022-01-01
    相关资源
    最近更新 更多