M
MS
Hi,
This should be trivial but I can't get csc.exe to run from any dir that I
happen to be in.
I had this setup before but just installed 'dotnet 2.0 beta 2 Framework
SDK'. When I click on the 'SDK Command Prompt' (Start Menu, Programs, .Net
Menu) I get a command window which starts in the dir:
"C:\Program Files\Microsoft.NET\SDK\v2.0"
"csc whatever.cs" works fine there.
so I added that path to my environment variable 'path', but csc still
didn't work from any dir EG. "C:\JMS\CSHARP\Soduku". Strange! Closer
inspection revealed csc.exe is not in:
"C:\Program Files\Microsoft.NET\SDK\v2.0"
but is actually in:
"C:\WINNT\Microsoft.NET\Framework\v2.0.50215"
so I added that dir to my 'path' too. It still doesn't work.
How do I get this working so I don't have to worry about the path to
csc.exe when I'm compiling?
Thanks,
MS
This should be trivial but I can't get csc.exe to run from any dir that I
happen to be in.
I had this setup before but just installed 'dotnet 2.0 beta 2 Framework
SDK'. When I click on the 'SDK Command Prompt' (Start Menu, Programs, .Net
Menu) I get a command window which starts in the dir:
"C:\Program Files\Microsoft.NET\SDK\v2.0"
"csc whatever.cs" works fine there.
so I added that path to my environment variable 'path', but csc still
didn't work from any dir EG. "C:\JMS\CSHARP\Soduku". Strange! Closer
inspection revealed csc.exe is not in:
"C:\Program Files\Microsoft.NET\SDK\v2.0"
but is actually in:
"C:\WINNT\Microsoft.NET\Framework\v2.0.50215"
so I added that dir to my 'path' too. It still doesn't work.
How do I get this working so I don't have to worry about the path to
csc.exe when I'm compiling?
Thanks,
MS