Can .Net Framework run C# or VB code without Visual Studio 2005?

M

Moon Hwang

Hi All,

I am considering .Net languages like C# or VB for a scripting language which
will run on my libraris (DLLs) which will be written in C#. I hope the user
to add his/her own logic in the scripting language.

Which language is the best for this. I am assuming that the users don't have
Visual Studio 2005, but they can install .Net framework 2.0.

Thanks for your answers in advance.
 
J

Jon Skeet [C# MVP]

I am considering .Net languages like C# or VB for a scripting language which
will run on my libraris (DLLs) which will be written in C#. I hope the user
to add his/her own logic in the scripting language.

Which language is the best for this. I am assuming that the users don't have
Visual Studio 2005, but they can install .Net framework 2.0.

Thanks for your answers in advance.

The framework includes compilers for both C# and VB.

Jon
 
M

Moon Hwang

Are there any pages (or articles) in this MSDN site or else which is explain
how to run C# or VB codes without Visual Studio 2005 in a console mode?
 
J

Jon Skeet [C# MVP]

Are there any pages (or articles) in this MSDN site or else which is explain
how to run C# or VB codes without Visual Studio 2005 in a console mode?

I don't know of any, but either:

a) you can programmatically compile source code using the
CSharpCodeProvider or the equivalent for VB.
b) you can run vbc.exe or csc.exe from the command line

Jon
 

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

Top