【问题标题】:System.PlatformNotSupportedException: 'Operation is not supported on this platform.'System.PlatformNotSupportedException:“此平台不支持操作。”
【发布时间】:2019-11-09 17:34:15
【问题描述】:

.NET core 3.0 运行时获得 System.PlatformNotSupported 异常“此平台不支持操作。” error

我也在 ubuntu 19.04 上试过,同样的例外

【问题讨论】:

  • PlatformNotSupportedException 是一个非常普遍的例外,这意味着它所说的:平台不支持您尝试做的事情。你能提供更多关于代码试图做什么的细节吗?你能创建一个Minimal, Reproducible example 并在这里分享吗?

标签: windows ubuntu .net-core


【解决方案1】:

NetCore 3.0 不支持 BeginInvoke 方法

[-]NewMessages?.BeginInvoke(this, response, null, null);

[+]NewMessages?.Invoke(this, response);

【讨论】:

    猜你喜欢
    • 2019-12-29
    • 1970-01-01
    • 2022-01-03
    • 1970-01-01
    • 2017-04-30
    • 1970-01-01
    • 2019-10-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多