-
September 8th, 2007, 10:46 AM
#1
My console comiler doesn't work
Code:
D:\testconsole>csc test.cs
'csc' is not recognized as an internal or external command,
operable program or batch file.
test.cs was made in notepad, but computer doesnt reckognize "csc" command, I have installed .NET on my computer "VS" works fine, what is happening?
-
September 8th, 2007, 11:20 AM
#2
Re: My console comiler doesn't work
You have installed the .NET SDK?
-
September 8th, 2007, 11:26 AM
#3
Re: My console comiler doesn't work
probably not! Becouse I didn't downloaded it yet . I will now. I hope this was the problem.
-
September 8th, 2007, 11:47 AM
#4
Re: My console comiler doesn't work
Well if you did not, that will be your problem, the .NET SDK contains the command line compiler.
-
September 8th, 2007, 08:58 PM
#5
Re: My console comiler doesn't work
As does visual studio.
The problem is that the folder that csc is in isn't in your PATH. Either run the visual studio command prompt thingy, or search your computer for 'csc.exe' and add the path to it to your $PATH.
www.monotorrent.com For all your .NET bittorrent needs
NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|