Re: running csc from command prompt - csc.exe file not found

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Siva M wrote:
> After installing the SDK, you would find the .NET 1.10 Command Prompt
> shortcut in the Start/Programs menu. Selecting this would open the command
> prompt with all path variables set. A normal command prompt will not have
> the same.

I dont see that option. What I did was copy the SDKVARS.BAT file to
the directory I am working in. Then I run that file. It sets the path.

thanks,

-Steve



>
> "Steve Richter" <StephenRichter@xxxxxxxxx> wrote in message
> news:1130435508.616922.112360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> just installed .net framework 1.1 sdk on a PC at work. I would like to
> run csc.exe to compile a C# source file.
>
> In the command prompt box I navigate to the directory that holds the c#
> .cs source file. then I enter the csc.exe command string to compile
> the source file and the error is file CSC not found.
>
> csc.exe is on the PC. it is in
> c:\winnt\microsoft.net\framework\v1.1.4322\.
>
> To install the .net framework SDK I downloaded the file from MS and ran
> setup. The documentation says setup will set the path for the c#
> compiler. But that did not happen on this PC. What should I run or do
> to use the .NET SDK command line C# compiler?
>
> thanks,
>
> -Steve

.



Relevant Pages

  • Re: Crawling Custom Metadata Using SPS 2003
    ... > the SDK so I installed the full set to make sure everything was ok) and then ... but that was already ok on my machine after installing ... > command prompt instead of the ordinary command prompt. ... > Best regards ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Disco.exe?
    ... That's very strange, since it's included in the SDK. ... which has a Command Prompt clicking which opens the command prompt ... Visual Studio 2005 -> Visual Studio Tools is a menu item called Visual ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: running csc from command prompt - csc.exe file not found
    ... After installing the SDK, you would find the .NET 1.10 Command Prompt ... run csc.exe to compile a C# source file. ...
    (microsoft.public.dotnet.framework)
  • Re: WSUS Errors after System state restored
    ... I am sorry to provide the link of downloading the SDK to obtain MSIZAP first. ... From a command prompt, ...
    (microsoft.public.windows.server.sbs)
  • SMTPeventsink
    ... smtpreg.vbs /add 1 OnArrival SMTPDisclaimer ... there is no folder as the one below. ... At a command prompt, locate the \Exchange ... download an older version of SDK. ...
    (microsoft.public.exchange.admin)