-
March 6th, 2013, 11:27 PM
#1
Very new to this language
I just started learning C# today, I ordered a book but I couldn't wait to get started.
My experience: alot of Python not much else...
I looked around your learning C# sticky but it didn't answer my question so here it is.
I've added the C# compiler csc.exe path to my Environment Variables System Variables field in Windows. I have command line open and am in a folder with three .cs files.
To compile them I type csc.exe FILENAME in the command prompt at the folder location of the FILENAME correct?
This does not work, it tells me: 'csc' is not recognized as an internal or external command, operable program or batch file. But I've added the compilers executable path to my System Variables. What is wrong?
Thank you for your responses and patience with my ignorance.
-
March 6th, 2013, 11:30 PM
#2
Re: Very new to this language
also I'm using Microsoft Visual C# 2010 to compose code.
-
March 7th, 2013, 12:32 AM
#3
Re: Very new to this language
Always use [code][/code] tags when posting code.
-
March 7th, 2013, 09:35 AM
#4
Re: Very new to this language
Thanks for that resource, it ended up being much simpler than that.
Once you change your environment variables such as 'Path' the computer MUST be rebooted before the changes will take affect.
also it's weird but my version of the SDK didn't come with a vsvars32.bat file for reconfiguration of the path. So I guess you have to do the path change manually.
Happy coding!
-Thomas
-
March 7th, 2013, 08:55 PM
#5
Re: Very new to this language
Once you change your environment variables such as 'Path' the computer MUST be rebooted before the changes will take affect.
I don't think that is correct. I have modified the path environmental variable before without needing to restart for effect. However, open command line consoles will not detect the change if they were opened before the change.
Best Regards,
BioPhysEngr
http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
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
|