开发者

Any light weight alternatives to Visual Studio for testing code snippets? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

开发者_开发技巧 Improve this question

Are there any light weight tools (preferably portable so I can put it in a memory stick) that can compile C# code snippets? I don't want to load Visual Studio, create a project and all to test a small code snippet.

Thansks!


How about http://rextester.com/rundotnet?

This is online - so always available - downsides are it's a little slow, so good for trying out simple things quickly - not so great if you're doing anything more complex.

Alternatively if you want an offline approach try Linq Pad

http://www.linqpad.net/

Although it was primarily created to debug LINQ statements - it actually works as a great lightweight general purpose IDE.


SnippetCompiler would be one, though it hasn't been updated for a while so could be out of date.

Edit: See https://stackoverflow.com/questions/2775055/looking-for-replacement-for-snippet-compiler for more up-to-date alternatives


I have created a lightweight version of Visual Studio. It is essentially just the packages required to get MSBuild.exe working.

The installer is a PowerShell script that sets the necessary variables, registry keys and files.

Comparison

Visual Studio 2013

790 MB

Velour

168 MB

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜