|
-
Oct 20th, 2003, 09:11 AM
#1
Thread Starter
Hyperactive Member
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
-
Oct 20th, 2003, 09:16 AM
#2
Frenzied Member
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
-
Oct 20th, 2003, 09:47 AM
#3
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.
-
Oct 20th, 2003, 01:48 PM
#4
Thread Starter
Hyperactive Member
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!
-
Oct 20th, 2003, 04:27 PM
#5
Lively Member
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).
-
Oct 20th, 2003, 04:56 PM
#6
yay gay
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|