I need to install C# compiler?

  • Thread starter Thread starter fayyaz
  • Start date Start date
F

fayyaz

I need to install C# compiler, could you please help me
the steps? I got .net framework installed, because I have
been learing ASP.NET on my own.What else needed to be
installed, could you send me the link? Thanks

Fayyaz
 
Unlike vbc the VB.NET compiler, csc.exe is actually installed with the
framework. God knows why. I got an answer explaining the reason but I can't
remember what it is - must be some sort of bootstrapping going on, as MS's
code is likely to be written in C# than VB.NET...
 
Bonj,
vbc.exe is installed with the framework in the same folder as csc.exe!

Who ever told you vbc.exe not installed is mistaken.

Hope this helps
Jay
 
Bonj,
Neither are needed by the installation process per se.

My understanding is they are installed as different applications require
them. For example ASP.NET uses either vbc.exe or csc.exe, based on the
language of the page, when you first visit the page.

If you are doing dynamic code generation you can do the same thing via
System.CodeDom namespace. System.CodeDom allows you to compile programs
given source code and a provider. The VB.NET provider is
Microsoft.VisualBasic.VBCodeProvider, while the C# provider is
Microsoft.CSharp.CSharpCodeProvider.

I don't know if the provider calls the exe compiler, or if the exe compiler
calls the provider. I would expect the later...

Hope this helps
Jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top