6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Visual Studio 2015 へ MIEngineのインストール (Visual Studio MI Debug Engine)

Posted at

プロジェクト: https://github.com/Microsoft/MIEngine

  • MI は、Machine Interface っぽいですね。

インストール

ソース取得

  1. [Team Explorer]タブの "> Local Git Reposiories" のとこから、"Clone"をクリック
  2. Gitのclone元、と、ローカルの保存先を入れる
    例)
  • "Enter the URL of a Git repo to clone <Required>" : https://github.com/Microsoft/MIEngine
  • "Enter a path for the cloned Git repo <Required>" : C:\VS2015\MIEngine
  1. [Clone]をおす。
  2. Cloneが完了したら、 MIEngine をダブルクリック
  3. Solutions の中から、MIDebugEngine.sln をダブルクリック
  4. [Solution Explorer]タブをクリック、切り替える。

ビルド

  1. 上のメニューから、"Release"と"Mixed Platforms"を選択
  2. Ctrl+Shift+B (Build Solution) で、ビルド
  3. Microsoft.MIDebugPackage.DoNotInstall.vsixがビルドされる、が、これはインストールしては いけない... らしい。
下のOutputタブ
...
8>  Creating VSIX Container...
8>  MIDebugPackage -> C:\VS2015\MIEngine\src\MIDebugPackage\bin\Release\Microsoft.MIDebugPackage.DoNotInstall.vsix
========== Build: 8 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

インストール

  1. コマンドラインを開いて(cmd.exe)、MIEngine\bin\Release\dropへ移動して、Install.cmdを実行。
  2. MDD Debugger succesfully installedが表示されれば成功
C:\>cd C:\VS2015\MIEngine\bin\Release\drop
 
C:\VS2015\MIEngine\bin\Release\drop>Install.cmd
Installing Files
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.MICore.dll" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.MIDebugEngine.dll" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.MIDebugEngine.pkgdef" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.MIDebugPackage.dll" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.MIDebugPackage.pkgdef" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.AndroidDebugLauncher.dll" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.AndroidDebugLauncher.pkgdef" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.IOSDebugLauncher.dll" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.IOSDebugLauncher.pkgdef" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
copy "C:\VS2015\MIEngine\bin\Release\drop\Microsoft.JDbg.dll" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\"
        1 file(s) copied.
MDD Debugger succesfully installed
 
C:\VS2015\MIEngine\bin\Release\drop>

確認

  1. Visual Studio 2015を再起動
  2. View > Other Windows > Command Window (Ctrl+Alt+A)でコマンドウインドウを開く(下)
  3. Debug.MIDebugExecとDebug.MIDebugLaunchをタイプしてみる。なにか反応があればインストールされてる。
>Debug.MIDebugExec
Expected an MI command to execute (ex: Debug.MIDebugExec info sharedlibrary)
>Debug.MIDebugLaunch
Unexpected syntax for MIDebugLaunch command. Expected:
Debug.MIDebugLaunch /Executable:<path_or_logical_name> /OptionsFile:<path>
  • Command "Debug.MIDebugExec" is not valid.とかでたら、ちゃんと入ってない。
6
6
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
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?