Is Visual Studio just an IDE

ideproductivityvisual studio

For Windows Development I mean.

Looking over other questions there are alternatives to VS, but they seem to be web based ones, which is fine, or you could program an entire .net website in notepad, should the urge drive you to.

But is there more to it than just an IDE for Windows Development? I.E. Is it possible for me to create an application in just notepad, is the compiler part of Visual Studio, or is it separate, which could be called via command line or something?

I don't want to not use VS, I'm happy with it, does what I need etc etc, just more a facet I'm curious about.

Best Answer

Compilers are available separately.

For C# it would be the csc.exe. You could call it from the command line any time. Pass along the name of the source files to compile, the libraries to reference, compilation option and here you go.

I believe Visual Studio itself calls the compiler over the command line when you ask it to build your project. The build output messages you see is what the command-line compiler returns.

Apart from this Visual Studio is more than just a GUI for a compiler. It has a nice text editor, debugger, designer tools, SQL browser, also integrates with test tools, versioning control and other instrumentary (it's extendable through plug-ins). You'd be striving hard to find an equivalent product (for the Microsoft stack) with a comparable level of consolidation.

Related Topic