compile csharp file

K

kalaivanan

hi,
how should i compile csharp programs in the cmd command prompt without
being installing visual studio .net. I have installed framework 1.1
and sdk. also i have executed the vsvars32 btach file. still iam not
able to compile the csharp file. the error generated is:

csc is not recognized as internal or external command.

But in another system in which visual studio has been installed, i am
able to compile the csharp files in cmd command prompt after executing
the batch file. what could be the solution for this problem.

regards,
kalaivanan
 
M

Michael Nemtsev

Hello kalaivanan,

Check that "csc.exe" exist in the "\WINDOWS\Microsoft.NET\Framework\v1.1.4322\"
folder, and this path is set in the %PATH%

k> hi,
k> how should i compile csharp programs in the cmd command prompt
k> without
k> being installing visual studio .net. I have installed framework 1.1
k> and sdk. also i have executed the vsvars32 btach file. still iam not
k> able to compile the csharp file. the error generated is:
k> csc is not recognized as internal or external command.
k>
k> But in another system in which visual studio has been installed, i am
k> able to compile the csharp files in cmd command prompt after
k> executing the batch file. what could be the solution for this
k> problem.
k>
k> regards,
k> kalaivanan
---
WBR, Michael Nemtsev [C# MVP] blog: http://spaces.live.com/laflour
team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
 

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