Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write, compile and run C# for free (in Windows)

Tags:

c#

ide

deployment

Is it possible to use C# for free? Which tools would you use?

  1. For fun/studying: I'm pretty sure you can, but still, the tools question remains.
  2. For programs you wish to sell?

The tools I'm looking for:

  1. IDE (as complete as possible: debugging, refactoring, libraries, IntelliSense etc.) - also, if it's not included in the IDE, compiler.
  2. Unit Testing,
  3. Documenting (extracting comments as with JavaDoc),
  4. Deploying.

Other suggestions for nice free tools are also welcome.

Note that IMO, Visual Studio Express is NOT offering all these tools.

like image 820
Peter Avatar asked Apr 12 '09 07:04

Peter


People also ask

How does code compile in C?

Compilation process in C involves four steps: pre-processing, compiling, assembling, and linking. The preprocessor tool helps in comments removal, macros expansion, file inclusion, and conditional compilation. These commands are executed in the first step of the compilation process.


1 Answers

IDEs:

  • Visual Studio 2017 Community. It has a subset of Professional Edition's features, but all that you have mentioned. You may want to Compare Visual Studio 2017 Editions. High school and university students are eligible for free licence of VS Professional from Dreamspark.

  • Sharp Develop

  • Mono Develop

standalone compiler:

  • csc.exe, vbc.exe and msbuild.exe are a part of .NET Framework. Windows SDK tools is also free. Or you can use compiler from Mono project.

Unit Testing:

  • NUnit, mbUnit, xUnit and many, many others.

Documenting: (extracting comments JavaDoc-style)

  • GhostDoc - not for Express Edition

Deploying:

  • NAnt, Cruse Control .NET
like image 117
Jozef Izso Avatar answered Sep 29 '22 10:09

Jozef Izso