【问题标题】:Is it possible to use a PCL library from powershell?是否可以使用 powershell 中的 PCL 库?
【发布时间】:2016-01-28 07:45:12
【问题描述】:

我用 C# 开发了一个跨平台的 SDK,因此我有这个 PCL 库,其配置文件包括 .Net45 和 .Net40。

为了实现自动化脚本化工具,我想从一些脚本语言(如 powershell)引用该库(任何其他/更好的选择?)但不知道如何做到这一点,或者是否有可能?特别是考虑到所有 SDK 调用都是异步的。

【问题讨论】:

    标签: c# powershell automation integration portable-class-library


    【解决方案1】:

    我看不出这是不可能的任何原因。只需使用 Add-Type 包含 dll 并使用它。

    【讨论】:

      猜你喜欢
      • 2023-03-22
      • 2016-11-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-03
      • 1970-01-01
      相关资源
      最近更新 更多