LoginSignup
0
0

More than 5 years have passed since last update.

notepad++ pluginのビルド方法

Posted at

ビルドできる環境

  • Visual Studio Community 2015 Update3(英語版)
  • Windows7

上記以外の環境だと実行時に下記のいずれかのエラーが出てしまい実行できませんでした。

  • this ansi plugin is not compatible
  • failed to load

notepad01.png

  • Windows7 - Visual Studio 2015(日本語版)
  • Windows10 - Visual Studio 2015(英語版)
  • Windows10 - Visual Studio 2017(日本語版)

これらの組み合わせはいずれもNGでした。

テンプレートの入手

  1. ここからテンプレートをダウンロードします。
  2. 入手した「NppPlugin.zip」を「My Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#\」にコピーします。
  3. Visual Studioを起動し、新しいプロジェクトを作成します。この時、notepad++が表示されているはずです。

notepad02.png

とりあえずビルドしてみる。

  1. デフォルトのプロジェクト名(MyNppPlugin1)でプロジェクトを作成します。
  2. ビルドが成功したら、「\Projects\MyNppPlugin1\MyNppPlugin1\bin\Debug\MyNppPlugin1.dll」をnotepad++のpluginフォルダへコピーします。
  3. notepad++を起動し、エラーが無ければ問題ありません。

notepad03.png

0
0
0

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
0