c# programming

G

Guest

I have downloaded the .Net framework SDK v1.1, and I have visual studio.net
2003. I can build and run the programmes in visual studio but I can't manage
to run C# programs from the DOS command window. I type 'csc Filename.cs' in
the command window but it just states ''csc' is not recognized as an internal
or external command, operable program or batch file'. Would anybody be able
to advise.
Cheers
 
M

Mattias Sjögren

I type 'csc Filename.cs' in
the command window but it just states ''csc' is not recognized as an internal
or external command, operable program or batch file'. Would anybody be able
to advise.

Run the Visual Studio .NET 2003 Command Prompt shortcut on the Start
menu, or manually set up the environment by first running
YourVSDirectory\Common7\Tools\vsvars32.bat.



Mattias
 
G

Guest

I would suggest you try to compile the file standing in the visual studio
..NET command promtp, which you can actually find in the menu itself, under
the main item "VisualStudio.NET 2003" --> "Visual Studio .NET Tools".

If still you are not able to compile, set the physical path to the framework
folder in the command prompt.

hope, this wil be useful for you..

Thanks,
Dinesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top