C# compiler included?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is the C# compiler included in the dot net framework for all users?

I am considering the development of a new "platform" for financial
institution simulation models used for risk management. To provide
flexibility, the platform needs to allow the user to write a small amount of
program code. I can include a compiler with the platform but would prefer to
simply use the C# compiler if it is already present on the computer of any
user with dot net installed.

So is the C# compiler included as part of the dot net framework?

Thanks for any info.

Steve Strommen
 
Steve Strommen said:
Is the C# compiler included in the dot net framework for all users?

I am considering the development of a new "platform" for financial
institution simulation models used for risk management. To provide
flexibility, the platform needs to allow the user to write a small amount
of
program code. I can include a compiler with the platform but would prefer
to
simply use the C# compiler if it is already present on the computer of any
user with dot net installed.

So is the C# compiler included as part of the dot net framework?

Yes. Look at the Microsoft.CSharp namespace.
 
Steve,

Yes, the C# compiler is part of the .NET Framework. You can find it
(csc.exe) in the \Windows\Microsoft.NET\Framework\vx.x.xxxx folder, where
x.x.xxxx is the .NET Framework version number, i.e. 1.0.3705, 1.1.4322, or
2.0.50727 for version 1.0, 1.1, or 2.0 of the framework.
 
There is a difference between the redistributable framework and the Framework SDK,
the sdk contains all development tools.

But you do have the Microsoft.CSharp namespace like someone pointed out so you
can actually compile stuff in your code, but the csc.exe is not included.

On a closer look the Microsoft.CSharp namespace is deprecated in .NET 2.0,
not sure what replaced it.

PL.
 
PL said:
There is a difference between the redistributable framework and the
Framework SDK,
the sdk contains all development tools.

But you do have the Microsoft.CSharp namespace like someone pointed out so
you
can actually compile stuff in your code, but the csc.exe is not included.

Did you actually check that? I'm pretty sure its there even in just the
framework. The SDK includes other tools, but the compiler is a piece of the
base framework I"m pretty sure.
 
Daniel said:
Did you actually check that? I'm pretty sure its there even in just the
framework. The SDK includes other tools, but the compiler is a piece of the
base framework I"m pretty sure.

Yes, both the C# and VB compilers are installed as part of the
framework. But if you also need to compile resources, you need the SDK.
That still confuses me.

Damien
 
Damien said:
Yes, both the C# and VB compilers are installed as part of the
framework. But if you also need to compile resources, you need the SDK.
That still confuses me.

The framework is all you need to execute programs. End users only need the
framework (22 MB). Developers on the other hand need the rest of the tools
and all of the documentation resources, examples, ... that are in the SDK
(362 MB).

HTH
Michael Giroux
 
Back
Top