I'm trying to teach myself some basic C# programming, and am starting out using notepad and the csc commandline compiler.
My problem, is to compile any source file I've written, I have to navigate to the folder where csc is, and call the compiler from there. Most things I've seen online have people just typing in csc.exe from anywhere and it compiling. My system does not do that.
Instead of just calling csc from the folder where my source code is I have to do the following:
cd
cd Windows\Microsoft.NET\Framework\v3.5
csc \out:c:\cs\hello.exe c:\cs\hello.cs
Gets a bit tedious.
Is there a way to be able to call csc from my source code folder?
(running Vista Ult. x64 if that makes any difference)
My problem, is to compile any source file I've written, I have to navigate to the folder where csc is, and call the compiler from there. Most things I've seen online have people just typing in csc.exe from anywhere and it compiling. My system does not do that.
Instead of just calling csc from the folder where my source code is I have to do the following:
cd
cd Windows\Microsoft.NET\Framework\v3.5
csc \out:c:\cs\hello.exe c:\cs\hello.cs
Gets a bit tedious.
Is there a way to be able to call csc from my source code folder?
(running Vista Ult. x64 if that makes any difference)