Back to basics !!

  • Thread starter Thread starter Nice Chap
  • Start date Start date
N

Nice Chap

If I'm using the VB.net compiler from *commandline*:

1. How do I specify references to other dlls
2. Start up method

Thank you....
 
Put this in a RSP file:


# command line options

/r:Accessibility.dll
/r:Microsoft.Vsa.dll
/r:System.dll
/r:System.Configuration.Install.dll
/r:System.Data.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.Drawing.dll
/r:System.Drawing.Design.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceProcess.dll
/r:System.Web.dll
/r:System.Web.Services.dll
/r:System.XML.dll
/nologo
/optionexplicit+
/optionstrict+
 
* "Nice Chap said:
If I'm using the VB.net compiler from *commandline*:

1. How do I specify references to other dlls
2. Start up method

Open the console, type "vbc" and you will see how to do it.

;-)
 
Should have added this on how to use a response file:
vbc @vbc.rsp /target:library yourClass.vb
 
Back
Top