LoginSignup
0

More than 5 years have passed since last update.

Xamarin StudioでNuGetパッケージを追加する

Last updated at Posted at 2016-08-06

Xamarin StudioでNuGetパッケージを追加する方法です。

  1. プロジェクト内のパッケージ > Add Packages...をクリック
    スクリーンショット 2016-08-06 11.07.57.png

  2. 右上サーチボックスから検索して、必要なパッケージにチェックを入れて、Add Packageをクリック
    スクリーンショット 2016-08-06 11.23.01.png

  3. パッケージコンソールにsuccessfully added.と表示されることを確認
    スクリーンショット 2016-08-06 11.23.20.png
    下記のように、「requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.7.0'」とNuGetクライアントのバージョンが古いと怒られて、パッケージを追加できない場合があります。
    その際は、Xamarin Studioそのものをアップデートする必要があります。
    スクリーンショット 2016-08-06 11.03.15.png

  4. usingで名前空間の参照を追加して、使用する
    スクリーンショット 2016-08-06 11.40.57.png

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0