How to compile C # source programs with UltraEdit

xiaoxiao2021-03-06  14

3 steps. 1: Compilation. Choose UltraEdit menu: Advanced -> Tool Configuration Compile C # Console Command Line Fill: CSC% N% e Working Directory:% P Name Free. Save the event file, output to the list window, capture the output of these three options. Finally click "Insert".

% P Path Only ("C: / Project / Test /")% N FileName Only ("Test")% e extension only (".c")

Compile C # Console has icons: CSC /WIN32ION :app.ico% N% e

Compile C # DLL: CSC / T: library /out:%n.dll% N% e

Compile C # Winexe: CSC / T: WINEXE% N% e

Compile C # Winexe with icons: CSC / T: Winexe /Win32icon :app.ico% N% e

Then, my computer-> Properties -> Advanced -> Environment Variables -> Path Edit is% SystemRoot% / System32;% SystemRoot%;% SystemRoot% / System32 / WBEM;% SystemRoot% / Microsoft .NET / Framework / V1. 1.4322 /

2: Associate. Advanced -> Configuration -> File Association I use: .cst, file description: C # source file, point to add. You can open the .cst file directly in the future .cst file. It is the text file to change the suffix to .cst.

3: Color. Advanced -> Configuration -> Syntax Color -> The Full name of the grammar file is: d: /ultraedit/wordfile.txt point open. Find / L7 "C #" line comment = // block comment on = / * block comment off = * / escape char = / string chars = "File Extensions = CS in the back plus CST / L7" C # "line comment = / / Block comment on = / * block comment off = * / escape char = / string chars = "" File Extensions = CS CST This automatically adds syntax color color of the C # language when you double-click to open the CST file.

转载请注明原文地址:https://www.9cbs.com/read-49644.html

New Post(0)