【问题标题】:Postsharp NotifyPropertyChanged on xamarinXamarin 中的 Postsharp INotifyPropertyChanged
【发布时间】:2015-04-01 15:36:21
【问题描述】:

我想用 xamarin 试试 PostSharp。我安装了新的 PostSharp 4.1。然后我被添加到项目中,我想添加 NotifyPropertyChanged 方面,但我在 Visual Studio 中没有建议。所以我尝试从 nuget 安装 PostSharp 模式模型,但那失败了,我做错了什么?

 Could not install package 'PostSharp.Patterns.Model.Controls 4.1.10'. You are trying to install this package into a project that targets 'portable-net45+win+wpa81+MonoAndroid10+xamarinios10+MonoTouch10', 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.

【问题讨论】:

    标签: xamarin postsharp


    【解决方案1】:

    您需要使用PostSharp.Patterns.Model 包而不是PostSharp.Patterns.Model.Controls。后者仅在 .NET 上受支持,并且包含 Undo-Redo WPF 控件。

    【讨论】:

      猜你喜欢
      • 2023-03-29
      • 2015-12-27
      • 2020-02-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-28
      相关资源
      最近更新 更多