monodevelopのデバッガがうごかない。ので、ビルドして、直接実行..
環境
- Raspberry Pi 3
2016-05-27-raspbian-jessie.img
手順
-
mono関連をインストール
=>らずぱいで .NET (mono) -
sudo apt-get install monodevelop
monodevelopのインストール -
一応やっとく?
mozroots --import --sync
sudo apt-get install mono-xsp
sudo systemctl status mono-xsp4
4. `monodevelop`<br>コマンドラインから起動

5. プロジェクト作成
1. File > Solution (Ctrl+Shift+N)
2. Console Project [Next]
3. いろいろ入れて [Create]<br>
6. ...実行
1. 9行目くらいにブレークポント(ダブルクリックで赤丸<font color='red'>●</font>)を張って
2. Build > Build All ('F8')
3. Run > Start Debugging ('F5')<br><font color='red'>...デバッガがうごかない????</font>

うぅ~ん
7. `~/HelloDotNet/bin/Debug/HelloDotNet.exe` <br>直接、実行
```shell-session
pi@raspberrypi:~ $ ~/HelloDotNet/bin/Debug/HelloDotNet.exe
Hello World!
pi@raspberrypi:~ $
-
xbuild HelloDotNet.sln
コマンドラインからソリューションのビルド
pi@raspberrypi:~/HelloDotNet $ xbuild HelloDotNet.sln
XBuild Engine Version 14.0
Mono, Version 4.4.1.0
Copyright (C) 2005-2013 Various Mono authors
Build started 01/07/2016 04:34:47.
Project "/home/pi/HelloDotNet/HelloDotNet.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|x86".
Target Build:
Project "/home/pi/HelloDotNet/HelloDotNet.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: x86
Created directory "bin/Debug/"
Created directory "obj/x86/Debug/"
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target CoreCompile:
Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/x86/Debug/HelloDotNet.exe Program.cs Properties/AssemblyInfo.cs obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:exe /define:DEBUG /nostdlib /platform:x86 /reference:/usr/lib/mono/4.5-api/System.dll /reference:/usr/lib/mono/4.5-api/System.Core.dll /reference:/usr/lib/mono/4.5-api/mscorlib.dll /warn:4
Target DeployOutputFiles:
Copying file from '/home/pi/HelloDotNet/obj/x86/Debug/HelloDotNet.exe.mdb' to '/home/pi/HelloDotNet/bin/Debug/HelloDotNet.exe.mdb'
Copying file from '/home/pi/HelloDotNet/obj/x86/Debug/HelloDotNet.exe' to '/home/pi/HelloDotNet/bin/Debug/HelloDotNet.exe'
Done building project "/home/pi/HelloDotNet/HelloDotNet.csproj".
Done building project "/home/pi/HelloDotNet/HelloDotNet.sln".
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.1443390
pi@raspberrypi:~/HelloDotNet $
## その他
1. sambaでフォルダを共有し、WindowsのVisualStudio2015u3から `HelloDotNet.sln`を開いて、デバッグがらく..