How to compile a C # source program with UltraEdit

Source: Internet
Author: User
Tags command line ultraedit
Compiling | The program is divided into 3 steps.

1: Compiling.
Select UltraEdit Menu: Advanced-〉 Tool Configuration
Compiling C # Console
Command line fill:
CSC%n%e
Working directory:
%p
Name at random.
Save the active file, output to the List window, capture output all 3 are selected. Finally click "Insert".

%P Path only ("C:\project\test\")
%N FileName only ("test")
%E Extension only (". C")

Compiling C # Console has icons:
Csc/win32icon:app.ico%n%e

To compile a C # DLL:
Csc/t:library/out:%n.dll%n%e

Compiling C # winexe:
Csc/t:winexe%n%e

Compiling C # winexe has icons:
Csc/t:winexe/win32icon:app.ico%n%e

Then, my Computer--attribute-〉 advanced-〉 environment variable-〉
Path is edited as
%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot%\microsoft.net\framework\v1.1.4322\

2: Association.
Advanced-〉 Configuration-〉 file association
I use:. CST, File Description: C # source file, point Add. You can double-click to open the. cst file later. The text file is renamed to. Cst.

3: Coloring.
Advanced-〉 configuration-〉 Syntax coloring-〉 syntax file full name
Mine is: D:\UltraEdit\WORDFILE. TXT Point Open.
Found it
/l7 "C #" line Comment =//blocks Comment on =/* block Comment off = * *
Escape Char = \ String Chars = "' File Extensions = CS
Plus CST at the back.
/l7 "C #" line Comment =//blocks Comment on =/* block Comment off = * *
Escape Char = \ String Chars = "' File Extensions = CS CST
This will automatically add the syntax coloring of the C # language when you open the CST file.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.