[C#] Need help with the simple "Hello World" script.

Status
Not open for further replies.
Joined
Dec 1, 2007
Messages
483
Reaction score
0
Hey.

The problem I have is, I wrote the simple "Hello World" script in Notepad and saved it as "First.cs" , then I went into Visual C#, I ran the VS 2008 command prompt, typed in "csc First.cs". After it started to run it's normal course it gave me this error;

warning CS1668: Invalid search path 'C:\Program Files\Microsoft
SDKs\Windows\v6.0A\lib' specified in 'LIB environment
variable' -- 'The system cannot find the path specified. '


I don't have a clue what's going on as I'm just starting to learn C#.

Any help would be greatly appreciated.

Thanks,
Grey
 
if you have VS2008 why the hell you use notepad to write stuff?
create a new project on VS then run it, you won't have this issue :P

edit: that's an error related to your Window's environment variables, not directly related to VS or C#...
 
Status
Not open for further replies.
Back