VisualStudioを使わないでC#をつかう

C:\Windows\Microsoft.NET\Framework の下にある “csc.exe” を使ってC#のコンパイルができる
バッチやなんかにパスをセットしてやると便利かもね。

/platform:x86x86
/target:winexe
/target:exe
winexe→winアプリケーション
exe→コンソールアプリケーション
/r:System.Data.sqlite.dllDLL読み込む
#コマンド例
csc /platform:x86 /target:exe /r:System.Data.SQLite.dll HelloWorld.cs

#パスを一時的にセットするにはこうする
set path=%path%;C:\Windows\Microsoft.NET\Framework\v3.5;
pc/program/c_sharp_compile.txt · 最終更新: 2019/12/17 10:13 by wtaki
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0