[网页高手]
Homepage
[网络编程]
Programe
[图形图像]
Picture
[冲浪宝典]
Insernet
[操作系统]
System
[软件教学]
Software
[数码时代]
Didgtale
[安全防御]
Didgtale
[IT学院]
Education
    
 
Google Web tongyi.net
 
    你的位置:首页 > 网络编程 > 其它编程 > 如何用UltraEdit编译C#源程序
网络编程
  ASP

PHP

JSP

CGI

ASP.NET

C#.NET

SQL Server

Mysql

ORACLE

其它编程

 
如何用UltraEdit编译C#源程序

1:   编译。
选取UltraEdit的菜单: 高级-〉工具配置
编译C# Console
命令行填:
csc %n%e
工作目录:
%p
名称随意。
保存活动文件,输出到列表窗口,捕捉输出 这3个都选上。 最后点击 “插入“。

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

编译C# Console 有图标:
csc /win32icon:app.ico %n%e

编译C# dll:
csc /t:library /out:%n.dll %n%e

编译C# winexe:
csc /t:winexe %n%e

编译C# winexe有图标:
csc /t:winexe /win32icon:app.ico %n%e

然后,我的电脑-〉属性-〉高级-〉环境变量-〉
Path 编辑为
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\

2:   关联。
高级-〉配置-〉文件关联
我使用的 : .cst ,文件描述:C#源文件 ,点添加即可。以后可双击直接打开.cst文件。 就是文本文件改后缀为.cst即可。

3:   上色。
高级-〉配置-〉语法着色 -〉语法文件全名
我的是 :  D:\UltraEdit\WORDFILE.TXT   点打开。
找到
/L7"C#" Line Comment = // Block Comment On = /* Block Comment Off = */
Escape Char = \ String Chars = "' File Extensions = CS
在后面加上CST
/L7"C#" Line Comment = // Block Comment On = /* Block Comment Off = */
Escape Char = \ String Chars = "' File Extensions = CS CST
这样双击打开cst文件时就会自动加上C#语言的语法着色。

     打印本文 | 推荐朋友 | 收藏文章 | 关闭窗口
 
 

    相关文章
 轻松玩转Java配置的Classpath    (2004年10月9日)

 家用电脑基本知识    (2004年2月6日)

 网络技术常用术语汉语对照    (2004年2月6日)

 用Delphi编写RM制作工具    (2002年6月20日)

 如何在程序中实现XP模式    (2002年4月23日)

 用VB编程检测当前电池使用情况    (2002年3月22日)

 远程检测MS SQL Server账号安全性    (2002年3月6日)

 用VB构建Internet的应用    (2002年3月6日)

 
 

 

关于统一 | 联系合作 | 统一作品 | 版权申明 | 建站服务 | 更多说明
Copyright 2000-2003 Tongyi All rights reserved. 京ICP备05005608号