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

来源:互联网 发布:东芝2051c网络设置 编辑:程序博客网 时间:2024/06/06 02:59

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

2、汉化(覆盖即可):http://pan.baidu.com/s/1kUUW2cJ#list/path=%2F


3、激活:

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

激活教程:https://jingyan.baidu.com/article/ff42efa93057c3c19e2202e3.html


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

0 0