Home All Groups Group Topic Archive Search About

Windows cannot find the C# compiler

Author
16 Mar 2006 7:26 PM
EthrealDaze
When I try to compile with .NET, I receive error: 'CSC' is not recognized as
an internal or external command, operable program or batch file. My browser
is updated, I installed .NET twice to be sure it is properly installed. How
can I be sure the path to the C# compiler is present in the path setting of
my PC, or can anyone help me?

Author
16 Mar 2006 11:24 PM
Jon Skeet [C# MVP]
EthrealDaze <EthrealD***@discussions.microsoft.com> wrote:
> When I try to compile with .NET, I receive error: 'CSC' is not recognized as
> an internal or external command, operable program or batch file. My browser
> is updated, I installed .NET twice to be sure it is properly installed. How
> can I be sure the path to the C# compiler is present in the path setting of
> my PC, or can anyone help me?

It sounds like you haven't set the path up - it isn't set up by default
or anything. csc should be in
c:\Windows\Microsoft.NET\Framework\v1.1.4322

(or the equivalent where Windows could be WINNT, and the version could
be different). Just put that directory in your path.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

AddThis Social Bookmark Button