Groups | Blog | Home
all groups > dotnet faqs > october 2004 >

dotnet faqs : vbc is not valid command


CT
10/30/2004 1:19:52 PM
Are you opening a standard Command Prompt as opposed to the Visual Studio
..NET Command Prompt? The latter has the correct path to the command-line
utilities including vbc.exe, whereas the former doesn't be default.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
[quoted text, click to view]

Rambabu.V
10/30/2004 1:41:23 PM
Hi All,
I am trying to pass server controls from one page to another
page.How I am trying this is by writing two classes in the two pages.
The class1 defined in first page has to pass into the second page.
I am using the command line compiler to get a common dll of the two pages.
The command is
[quoted text, click to view]
/t:webformpage1.aspx.vb webformpage2.aspx.vb
I am getting the error vbc is not a valid command.
Hou can i solve it?
Where was my mistake..



CT
10/30/2004 5:02:32 PM
Ah, that explains it. The Command Window in command mode is used to execute
IDE related commands, such as File.OpenFile. If you want to go down that
route, you can type in the following command: Build.BuildSolution. However,
you can't specify parameters then, these will have to be set in the Project
Property Pages or Solution Property Pages dialog boxes.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
[quoted text, click to view]

Rambabu.V
10/30/2004 5:47:03 PM
Nope ,
I am doing that from the command prompt in th e view menu of
Visual Studio.net
[quoted text, click to view]

Rambabu.V
10/30/2004 10:29:31 PM
Ok Thanks for ur response.Can you suggest any method to combine the two
different classes of 2 webform pages into a single dll.



[quoted text, click to view]

CT
10/31/2004 9:26:43 AM
You'll need to use the command-line compiler then. Perhaps even create a
batch file to make it easy on yourself. Have you tried running the vbc.exe
command from a Visual Studio .NET Command Prompt?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
[quoted text, click to view]

AddThis Social Bookmark Button