且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2021-08-11 11:25:34

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