Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to install a C# compiler without Visual Studio?

I want to build projects from the command line. Is it possible to deploy a C# compiler without installing Visual Studio?

like image 818
Pavel Bastov Avatar asked May 14 '09 03:05

Pavel Bastov


People also ask

Can you install an AC on your own?

While 87 percent of U.S. households use some type of air conditioning, central AC systems are the most sought-after for both convenience and accessibility. If flipping a switch for whole-house cooling is what you're after, you may wonder whether it's possible to install your own. And the answer is, you definitely can.

Can I add AC to my existing heating system?

The short answer to this is, “yes.” Yes, you can add an air conditioner to a forced-air heating system. It is, however, a complex process and we never recommend it be attempted by a homeowner. Of course, we'll say this about any air conditioning or heating installation.

Why is it so expensive to install AC?

Conclusion. When it comes down to it, the most expensive parts of any HVAC unit installation will be the machine and the labor. The device is so expensive because it is filled with complicated electrical gadgets that measure airflow and temperature.

Can you installing AC in a car that never had?

Basically you just need a switched power source, ground, power to the compressor, and a signal wire to the pressure switch on the dryer. We put some aerosol refrigerant in the system just to see if the compressor would switch on.


2 Answers

Sure, the framework includes a compiler, csc.exe. Look at this article for a quick how-to. The important parts:

You can get the command-line compiler (csc.exe) from Microsoft site http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx.

Download the redistributable package of the .NET Framework, which includes the compiler and the .NET Framework with C# 2005 syntax support.

The compiler is located in the following directory: %windir%\Microsoft.NET\Framework\

Also look at this MSDN article for a full guide and explanation.

Note that for more recent versions, you will be looking for the MSBuild standalone package rather than the framework -- see @Vadzim's answer.

like image 130
lc. Avatar answered Oct 20 '22 22:10

lc.


Of course. Do:

sudo apt-get install mono-gmcs 

Everyone else assumed Windows and MS .NET, but...

like image 41
Matthew Flaschen Avatar answered Oct 20 '22 21:10

Matthew Flaschen