Compile a Class

Results 1 to 2 of 2

Thread: Compile a Class

  1. #1
    Join Date
    Dec 1969

    Default Compile a Class

    Hi. I'm making a Class with a lot of functions (in VB.NET) so that I can use it in my future projects, but I don't know how to compile it or what to do with the compiled file.. Can anyone help me out?

  2. #2
    Join Date
    Dec 1969

    Default RE: Compile a Class

    If you are using Visual Studio.NET, it has a menu option to compile.<BR><BR>If you are not, you need to use the command-line utility vbc.exe to compile the source code for you.<BR><BR>Once compiled, you need to put the DLLs into the /bin folder for the website or virtual directory and ASP.NET will recognize them as available.<BR><BR>Once that&#039;s done, you will be able to Import the Namespace that you defined in the source code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts