秀丸エディタでC#のソースコードを実行します。
- 秀丸のマクロディレクトリへコピーしたらキーアサインして下さい。
- 秀丸エディタ ver8.20 b14 で動作を確認、ver8以降なら動くはず。
- バージョンの切り替えはマクロ中の $g_exe 変数を編集して下さい。
- インストールされているC#のバージョンは以下のディレクトリで確認できます。
- C:\Windows\Microsoft.NET\Framework
- C:\Windows\Microsoft.NET\Framework64
秀丸エディタでC#を実行するマクロ
csc.exeは /r: オプションでアセンブリの参照設定を追加できる。
拾ってきたDLLの動作確認などで使用する。
csc.exe のデバッグオプションが有効になるように、コマンドライン引数へ /debug+ を加える。
実行時エラーが発生するとエラーのファイル名と行番号を表示出来る。
ただし、一時ファイルのパスが表示されるためファイル名を置換するなどの対策が必要。
(注意)
(.pdb)ファイルが生成されるため削除する必要がある。
コンパイルエラー発生時に一時ファイルが削除されない。
どんどんファイルが溜まっていくことを確認した。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.