PC Review


Reply
Thread Tools Rate Thread

C# compiler included?

 
 
=?Utf-8?B?U3RldmUgU3Ryb21tZW4=?=
Guest
Posts: n/a
 
      6th Nov 2005
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
 
Reply With Quote
 
 
 
 
Daniel O'Connell [C# MVP]
Guest
Posts: n/a
 
      6th Nov 2005

"Steve Strommen" <(E-Mail Removed)> wrote in message
news:AC481EA4-6267-4E49-9623-(E-Mail Removed)...
> 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.


 
Reply With Quote
 
CT
Guest
Posts: n/a
 
      6th Nov 2005
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.

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Steve Strommen" <(E-Mail Removed)> wrote in message
news:AC481EA4-6267-4E49-9623-(E-Mail Removed)...
> 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



 
Reply With Quote
 
PL
Guest
Posts: n/a
 
      7th Nov 2005

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.

"Steve Strommen" <(E-Mail Removed)> skrev i meddelandet
news:AC481EA4-6267-4E49-9623-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Daniel O'Connell [C# MVP]
Guest
Posts: n/a
 
      7th Nov 2005

"PL" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
> 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.


 
Reply With Quote
 
Damien
Guest
Posts: n/a
 
      7th Nov 2005
Daniel O'Connell [C# MVP] wrote:
> "PL" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> >
> > 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.


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

 
Reply With Quote
 
Michael Giroux
Guest
Posts: n/a
 
      8th Nov 2005

"Damien" <(E-Mail Removed)> wrote in message

> 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).

>
> Damien
>


HTH
Michael Giroux


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VC++ .NET 2003 specific compiler symbol to identify the compiler. =?Utf-8?B?S2FydGhpaw==?= Microsoft VC .NET 2 14th Oct 2004 06:42 AM
VC++ .NET 2003 specific compiler symbol to identify the compiler. =?Utf-8?B?S2FydGhpaw==?= Microsoft VC .NET 0 14th Oct 2004 12:39 AM
HOWTO: get some of the "not included" stuff when using the VisualC++ Compiler Tookit 2003 Jonathan Wilson Microsoft VC .NET 5 27th Aug 2004 11:10 PM
fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148) PufferFish Microsoft VC .NET 10 6th Aug 2004 10:33 PM
html compiler or website compiler or ebook creator ? * ProteanThread * Freeware 1 10th Apr 2004 09:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:28 AM.