Compiler not found from command prompt

Compiler not found from command prompt

Post by bWp5 » Sat, 08 Oct 2005 01:53:02


I have installed version 1.1 SDK, saved the "Hello World" code example, but
when I load the command prompt (black DOS window) and type in the compiler
instruction from the directory where the file is stored I get an error
message saying that the vbc command is not recognized by the system. Where
have I gone wrong?
--
mjy
 
 
 

Compiler not found from command prompt

Post by S.M. Altaf » Sat, 08 Oct 2005 05:05:53

You need to navigate to where vbc.exe is located and run it from there.

In your command prompt window, head over to
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322, and run it from there. Be
sure to specify the path to the file from there. For more help, type

vbc /?

-Altaf
[MVP - VB]

--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com

 
 
 

Compiler not found from command prompt

Post by MSF » Wed, 12 Oct 2005 02:59:55

Mjy,

You need to setup your environment to include the compilers in the path. You can do this by running the "sdkvars.bat" file in your command prompt. "sdkvars.bat" is located in the <path to SDK>\SDK\v1.1\bin folder on your computer.

Hope this helps

Hari Sekhar
Microsoft

-----Original Message-----
From: XXXX@XXXXX.COM
Posted At: Thursday, October 06, 2005 9:53 AM
Posted To: microsoft.public.dotnet.framework.sdk
Conversation: Compiler not found from command prompt
Subject: Compiler not found from command prompt


I have installed version 1.1 SDK, saved the "Hello World" code example, but
when I load the command prompt (black DOS window) and type in the compiler
instruction from the directory where the file is stored I get an error
message saying that the vbc command is not recognized by the system. Where
have I gone wrong?
--
mjy