R
Richard Lionheart
Hi All,
I opened a Command window and changed its directory to one that contained a
HelloWorld.cs program.
I ran "csc HelloWorld.cs" and got:
'csc' is not recognized as an internal or external command,
operable program or batch file.
I ran "vsvars32" and got:
Setting environment for using Microsoft Visual Studio .NET tools. [snip]
(which worked because I had previously amended PATH to include
"[snip]\Microsoft Visual Studio .NET\Common7\Tools")
Of course, if I opened another Command window, "csc HelloWorld.cs" would
again give rise to the "'csc' is not recognized" message because the changes
made to the environment variables in the first window were made only to the
session in which that window was created.
I thought if I ran "vsvars32" in Start | Run the changes would be
persistent, but that has proven not the case.
I used vcvars32 in the Win2000Pro environment with no problems. What is
going on here?
TIA,
Richard
I opened a Command window and changed its directory to one that contained a
HelloWorld.cs program.
I ran "csc HelloWorld.cs" and got:
'csc' is not recognized as an internal or external command,
operable program or batch file.
I ran "vsvars32" and got:
Setting environment for using Microsoft Visual Studio .NET tools. [snip]
(which worked because I had previously amended PATH to include
"[snip]\Microsoft Visual Studio .NET\Common7\Tools")
Of course, if I opened another Command window, "csc HelloWorld.cs" would
again give rise to the "'csc' is not recognized" message because the changes
made to the environment variables in the first window were made only to the
session in which that window was created.
I thought if I ran "vsvars32" in Start | Run the changes would be
persistent, but that has proven not the case.
I used vcvars32 in the Win2000Pro environment with no problems. What is
going on here?
TIA,
Richard