Page 1 of 1

Getting first program to compile! HELP!

Posted: Sun Aug 12, 2007 2:43 pm
by Grohl_
Hi,
I need to write a little C# code for a programming test and downloaded Zeus. I have a workspace, with a project and in the Source Files folder, I have created a file called 'prog1.cs'. Now how do I actually run it??

I know this is a silly, simple query but I'm really stuck.

When I click on 'Compile', I get the following error:

Debug: Command Line: C:\Windows\system32\cmd.exe /c csc.exe /debug /r:System.dll; "C:\Users\Nick\Documents\Programming\prog1.cs"
Debug: Started Process ID: 0x690

'csc.exe' is not recognized as an internal or external command,
operable program or batch file.

Please help!
Thanks, Nick :)

Posted: Sun Aug 12, 2007 11:31 pm
by jussij
Hi Nick,

I created this topic describing how to configure the C# compiler: http://www.zeusedit.com/forum/viewtopic.php?t=1235

Cheers Jussi

missing ...'Tools/vsvars32.bat'

Posted: Mon Aug 13, 2007 12:04 am
by Grohl_
Thanks for pointing me to that forum. One problem though, my Visual Studio\Common7 folder has IDE and Packages, but no 'Tools' folder. Why would this be?? I'm suprised I even have the SDK folder in the first place.

I downloaded Zeus so I could quickly write some C# code but I can't seem to compile it easily. I ended up downloading some other MASSIVE program that included the SDK framework I think.

Err, help(?) please!

Posted: Mon Aug 13, 2007 12:24 am
by jussij
Thanks for pointing me to that forum. One problem though, my Visual Studio\Common7 folder has IDE and Packages, but no 'Tools' folder. Why would this be??

Since you have a Common7 means you not running MSVC 2005.

The first thing you need to do is locate the MSVC environment batch file.

To do this use the Zeus Tools, DOS Command Line menu and type in the following command details:
Arguments: dir vs*.bat /s
Directory: d:\program files\
When you find the batch file, just change the instructions from the forum topic to match the location found and then run the test shown in the topic to see if it works.
I ended up downloading some other MASSIVE program that included the SDK framework I think.

You need the .NET framework to run C# programs and you need the .NET SDK to create C# programs. The .NET SDK is massive :!:

Cheers Jussi