4

我已经为 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 解决方案合作吗?

4

1 回答 1

1

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

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

于 2017-03-06T09:30:47.380 回答