Is there a *very* lightweight IDE for .net? [close

2020-05-11 09:26发布

Does anyone know of a good lightweight IDE for .net? Often times I open VS and create a new project just to see if a line compiles, to test a quick method, or something trivial like that.

Essentially what I want is an app similar to notepad I can open, have the basic class structure already defined, and be able to compile/run it. It would be fine if it was always a console app.

标签: .net ide
12条回答
太酷不给撩
2楼-- · 2020-05-11 10:01

By using the vsvars32.bat file provided by Microsoft, it only takes a minimal amount of configuration to run the C# csc.exe compiler from the command line.

So in general, any editor that can run a third party tool could be configured to run the C# compiler from within the editor.

查看更多
贼婆χ
3楼-- · 2020-05-11 10:04

LinqPad is also very lightweight (and free)

ideone is yet another (but online)

查看更多
forever°为你锁心
4楼-- · 2020-05-11 10:06

Try to use CodeRun. It is lightweight a browser-based IDE for .NET, JavaScript and PHP!

Update [08/24/2012]:

http://compilr.com/

查看更多
Summer. ? 凉城
5楼-- · 2020-05-11 10:07

Find an interpreter:

Or use notepad++ (or something similar) and make a script that runs the compiler.

查看更多
Root(大扎)
6楼-- · 2020-05-11 10:12

If you are not stick with C#, I'd recommend you to use F# interactive or IronPython console.

查看更多
Ridiculous、
7楼-- · 2020-05-11 10:14

I use command line (PowerShell these days) for that sort of thing, with a few .cs files lying around for common starting templates. Editor is whichever one is your favorite - it's Far+Colorer for me (with hand-tweaked syntax highlighting so that it understands all C# 3.0 and 4.0 keywords), but there are plenty other lightweight options.

查看更多
登录 后发表回答