Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Command line csc not working.

07 Dec 2013   #1

Windows 7 Professional 64 bit
Command line csc not working.

I am trying to use csc.exe from the command prompt to run a program called c:\code\helloworld.cs. I know the program works as I tested it using 'compile online dot com'.

When I run csc, I get the following error (see jpg). How may I solve this problem, please?

When I set the 'Path' to the csc.exe folder, I had a choice of a 'framework' and 'framework64' in the 'Microsoft.Net' folder. I have set the path to 'framework64' and I get the error, and I set the path to 'framework' and I got the same error.


Attached Images
Command line csc not working.-cscerror.jpg 
My System SpecsSystem Spec
09 Dec 2013   #2

Windows 7 Pro x64 SP1

BS449, can it be assumed that you are running the command processor as Administrator?

My System SpecsSystem Spec

 Command line csc not working.

Thread Tools

Similar help and support threads
Thread Forum
error 87 DISM command-line not working, cant do cleanup servicing
DISM seems to be failing with error code after it was supplied with a valid command-line argument. Executing DISM /online /cleanup-image should return with operation successful. Instead the Deployment Imaging Service & Management Tool now reports there is an error while processing the command and...
Performance & Maintenance
Executing command line command anywhere ?
I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?
General Discussion
Command Line - Help
Hi Guy's and Girls, Just first off I've never been too good with CMD and only an Apprentice in my company I work for. Now something I've wanted to do for awhile was to make the following but I don't necassirealy I know how to do this in one batch file: I would need a Batch file that is...
General Discussion
Command Line
Is there a cmd.exe /switch for “run as administrator” ? Thanks-
General Discussion
Can you boot from the command line?
This is an off topic thread because it concerns WinXP/2000 dual boot machine which are not booting. I can get to the Windows\ and Winnt command line of each but trying to figure out if I can boot from there. If I try to boot regularly I get "missing operating system" Im trying the Windows 2000...
Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 02:50.
Twitter Facebook Google+