Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

urgent... please help to compile asp.net

Status
Not open for further replies.

lehuong

Programmer
Sep 2, 2003
98
US
Hi all,
When I compiled the asp .net in visual studio .net. My project was fine, however when I compiled by using the .bat file:
Set indir=C:\myfile\mysite.vb
Set outdir=C:\myfile\bin\mysite.dll

Set assemblies=System.dll,System.Web.dll

vbc /t:library /out:%outdir% %indir% /r:%assemblies%
pause

The error is:
error BC30466: Namespace or type 'Data' for the Imports Imports System.Data
error BC30466: Namespace or type 'sqlClient' for the Imports Imports System.Data.SqlClient

Also, When I compiled and exucuted the project in Visual Studio .net I got only one .dll file in my "bin". So if I compile by use the .bat above then only one .vb file is compiled. However, my project has many .vb files, how can I compile them at one?
Thanks
Howard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top