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

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

am 29.11.2007 16:45:05 von 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.

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

am 29.11.2007 16:56:59 von skeet

On Nov 29, 3:45 pm, Moon Hwang
wrote:
> 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

Re: Can .Net Framework run C# or VB code without Visual Studio 200

am 29.11.2007 17:13:02 von MoonHwang

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?


"Jon Skeet [C# MVP]" wrote:

> On Nov 29, 3:45 pm, Moon Hwang
> wrote:
> > 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
>

Re: Can .Net Framework run C# or VB code without Visual Studio 200

am 29.11.2007 17:24:34 von skeet

On Nov 29, 4:13 pm, Moon Hwang
wrote:
> 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

Re: Can .Net Framework run C# or VB code without Visual Studio 200

am 29.11.2007 17:32:01 von MoonHwang

Thanks, Jon!

It will be a very useful clue to me.

Best regards,

mOOn

"Jon Skeet [C# MVP]" wrote:

> On Nov 29, 4:13 pm, Moon Hwang
> wrote:
> > 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
>