Linux(Ubuntu)でPowershellを介してSystem.Windows.Formsにアクセスする方法

Linux(Ubuntu)でPowershellを介してSystem.Windows.Formsにアクセスする方法

Powershellを使用して(Virtual Boxを介して)UbuntuでGUIを開発していますが、System.Windows.Formsを使用することはできません。

  • Mono-develをインストールしましたが、
  • 私は検索しました適切なファイル検索 System.Windows.Forms.dll12の異なるバージョンを検索し、
  • DLLバージョン4.8をスクリプトディレクトリにコピーしました。
  • 私はコマンドを実行します型-AssemblyName System.Windows.Forms を追加
  • バージョン 4.8 は次のように述べています。
Add-Type: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Reference assemblies cannot be loaded for execution. (0x80131058)
  • 前の記事では、次のように説明しました。
Add-Type could not load file or assembly ‘<Unknown>’ Index not found. (0x80131124)

ありがとう

ベストアンサー1

おすすめ記事