C#编程:editplus配置C#编译环境

218 阅读1分钟

1、下载:EditPlus:www.editplus.com

2、汉化(覆盖即可):pan.baidu.com/s/1kUUW2cJ#…

\

3、激活:

用户名 woshiwo
注册码 6533A-F73B8-0122B-41823-F9FC6\

激活教程:jingyan.baidu.com/article/ff4…

\

4、设置编译环境

设置方法:

设定语法加亮文件
Tools|Preferences|Settings & Syntax|Add
描述填csharp, 文件扩展名cs;aspx
选择语法加亮文件 csharp.stx


配置编译工具
Tools | Config User Tools | Add
MenuText填:Compile C#(编译C#)
Command选:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe
Argument填:/unsafe $(FileName)
InitDir填:$(FileDir)
打勾:Capture Output


配置运行工具
Tools | Config User Tools | Add
MenuText填:Run C#(运行C#)
Command填:cmd /c
Argument填:$(FileNameNoExt).exe
InitDir填:$(FileDir)
不打勾:Capture Output\