Results 1 to 6 of 6

Thread: DLL Distribution Question...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2001
    Location
    Buffalo, NY
    Posts
    297

    DLL Distribution Question...

    Hey all,

    I've got a question about what is required to distribute my application.


    I've created a few classes and built them as a 'Class Library' DLL. I then included (in the references section) that library so I could access those Classes.

    Do I need to distribute the DLL with my application for that to work? If so, where do I place it so my application will find it? (It's not RegSvr32-able)

    Thanks!

    --Ben

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    yes, place the dll in the Global Assembly cache.

    the link below provides info on this from MS.
    Click Here
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You can also just place the DLLs in the Application Folder (where the exe is). Depending on what you referenced any DLLs needed are probably in the bin folder already. Also note that if you just referenced other DLLs from the Framework (ie. System.NET...) then there is nothing extra that needs to be distributed.
    Last edited by Edneeis; Oct 20th, 2003 at 04:40 PM.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2001
    Location
    Buffalo, NY
    Posts
    297
    Woa..

    ok, few questions:

    1) I run this executable (GACUTIL.EXE) on the end-user's pc to include the DLL? It's essentially the same as RegSvr-ing a COM Dll?

    2) This executable is included with the .NET Framework?

    -Thanks!

  5. #5
    Lively Member
    Join Date
    Oct 2003
    Posts
    88
    What I have done in the one case where I needed to distribute a DLL was to place it in the application's directory; nothing else needed to be done to make the app see it at runtime.

    Gacutil.exe seems to be included in Visual Studio.NET. I haven't used it and don't have any more info on it than that (I skipped the book sections that dealt with it).

  6. #6
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    Originally posted by BenFinkel
    1) I run this executable (GACUTIL.EXE) on the end-user's pc to include the DLL? It's essentially the same as RegSvr-ing a COM Dll?
    [/B]
    from the moment you compile it you can use it everywhere without having to do anything more
    \m/\m/

Posting Permissions

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



Click Here to Expand Forum to Full Width