I want to build projects from command line. Is it possible to deploy c# compiler without installing Visual Studio?
Yes, if you have .net sdk, it's there, e.g.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe
msbuild.exe should be there too, and you can use that to build project (.csproj) files.
Yes, but you need to download and install .NET Framework SDK.
Here's a link that can help you.
You only need the FrameWork. You can use a notepad to edit and the CSC.exe to compile.
Best Regards!
Sure, the framework includes a compiler, csc.exe. Look at this article for a quick how-to and this MSDN article for a full guide and explanation.
Of course. Do:
sudo apt-get install mono-gmcs
Sorry. :) Everyone else assumed Windows and MS .NET, so...
Yes, there is even a open source IDE Sharpdevelop you can set the compiler as a command in Ultraedit (or some other editor of preference) etc.
Contrary to what some of the other answerers say, you do NOT need the SDK, just the Framework to get the csc.exe C# compiler.
Also, consider other (free) IDEs like MonoDevelop, #develop, and Visual C# Express. (You said you don't want Visual Studio, not that you don't want an IDE at all ;) )
Hi, Like some others have mentioned MSBuild is deployed with the .NET Framework (versions 2.0 and 3.5) so if you have either of those installed you can build your applications without needing Visual Studio installed on the machine.