By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,467 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,467 IT Pros & Developers. It's quick & easy.

compile csharp file

P: n/a
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.


Jan 29 '07 #1
Share this Question
Share on Google+
1 Reply

P: n/a
It simply isn't finding it in your path - so find "csc.exe" on your
hard-disk and cd to that folder, or include the full path, or put it
into your system path. It is usually somewhere around:


FYI Note that "Visual C# 20005 Express Edition" (for 2.0 apps) is a
free download.

Jan 29 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.