|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to add a reference in asp.net/vb.net?Hi,
I need to add a reference in my project to a file (e.g. mysqldata.dll) in order to access Mysql. Using Visual Web Developer, i know how to do (menu website/add reference), but suppose i have no VWD or any tools, and that i create only one test.aspx file and another test.aspx.vb file with Notepad. How can i add a reference directly in the files in order to access Mysql? Thanks Ben csc.exe /t:library /r:bin\SomeDependantAssembly.dll
/r:bin\SomeOtherAssembly.dll /out:bin\MyAssembly.dll file1.cs file2.cs file3.cs So, /t: says to build a DLL assembly /r: is a reference to the path of any dependant assembly /out: says where to put the generated assembly and then all the files that should be compiled into that assembly If you're interested in a debug build, add /debug in there too. -- Show quoteHide quoteGet a powerful web, database, application, and email hosting with KJM Solutions http://www.kjmsolutions.com "Ben" <sd***@sdsv.fv> wrote in message news:ONrlV%23deGHA.2172@TK2MSFTNGP04.phx.gbl... > Hi, > > I need to add a reference in my project to a file (e.g. mysqldata.dll) in > order to access Mysql. > Using Visual Web Developer, i know how to do (menu website/add reference), > but suppose i have no VWD or any tools, and that i create only one > test.aspx > file and another test.aspx.vb file with Notepad. > How can i add a reference directly in the files in order to access Mysql? > > Thanks > Ben > > Thanks, but do have i to type all this like that? And where? In the vb.net
code? I have only an aspx file and an aspx.vb file with vb.net code My reference file is in c:\program files\mysql\net\mysqldata.dll Thanks Show quoteHide quote "vbnetdev" <vbnetdev@community.nospam> wrote in message news:e8mv8GeeGHA.2076@TK2MSFTNGP04.phx.gbl... > csc.exe /t:library /r:bin\SomeDependantAssembly.dll > /r:bin\SomeOtherAssembly.dll > /out:bin\MyAssembly.dll file1.cs file2.cs file3.cs > > > So, /t: says to build a DLL assembly > /r: is a reference to the path of any dependant assembly > /out: says where to put the generated assembly > and then all the files that should be compiled into that assembly > > > If you're interested in a debug build, add /debug in there too. > > -- > Get a powerful web, database, application, and email hosting with KJM > Solutions > http://www.kjmsolutions.com > > > > "Ben" <sd***@sdsv.fv> wrote in message > news:ONrlV%23deGHA.2172@TK2MSFTNGP04.phx.gbl... > > Hi, > > > > I need to add a reference in my project to a file (e.g. mysqldata.dll) in > > order to access Mysql. > > Using Visual Web Developer, i know how to do (menu website/add reference), > > but suppose i have no VWD or any tools, and that i create only one > > test.aspx > > file and another test.aspx.vb file with Notepad. > > How can i add a reference directly in the files in order to access Mysql? > > > > Thanks > > Ben > > > > > >
Get Element Value
MAPI mail Create DB Example - It works, but is it right? Listbox problem Using Office functions question - type mismatch error how to go to specific row in hashtable based on value - not key? Maximum number of controls in a form iDisposable and database connection to SQL How To Create New Form From Form Or Tabs On A Form Different versions of Office |
|||||||||||||||||||||||