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
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