Re: How to register .NET Dlls

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



What do you mean by "register"? If you mean you've got some .NET COM
assemblies you'll have to run regasm or the equivalent on the target system.
Also, putting assemblies in the GAC is a deployment choice that you perhaps
don't need if your app is just an exe with some class libraries - that
wouldn't need the GAC unless you're sharing some assemblies with other apps
on the system.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Roby Eisenbraun Martins" <RobyEisenbraunMartins@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message news:74A89CD3-5351-47B2-A3F7-27F4849B6580@xxxxxxxxxxxxxxxx
> Hi,
> I'm trying to register my Dlls in the client machine without using
> any
> deployment package. I tried copying all the files and Dlls to a specified
> folder and run, but then the application crashes.
> Do I have to use some tool like â??regsvr32.exeâ?? or
> â??gacutil.exeâ?? to
> registry the Dlls in the client machine?
>
> Thank you,
> Roby Eisenbraun Martins


.



Relevant Pages

  • Re: How to register .NET Dlls
    ... you can register them in the GAC. ... >> have sign your assemblies (dlls), using key generated by sn.exe tool. ... >> Then in the client machine you perfrm gacutil -i your.dll. ...
    (microsoft.public.dotnet.general)
  • Re: How to register .NET Dlls
    ... you can register them in the GAC. ... have sign your assemblies (dlls), using key generated by sn.exe tool. ...
    (microsoft.public.dotnet.general)
  • Re: Non-strong named interop libraries Part 2
    ... The SMTP server there behaves as before, no log file ... > should NOT use regsvcs.exe which is meant to register COM+ classes in the ... > referenced assemblies Interop.dll and Wrapper.dll to be strong named too. ... >> created as in the MSDN article, I can clearly see that EventInterop.dll ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Deployment COM Interop question
    ... I'm not very familiar with InstallShield... ... them to see if they support registering .NET Assemblies for COM Interop. ... On the development machine, the>>>'register for com interop' setting when set to true, does the trick. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: ComVisible true
    ... Execute regasm ... you try to register the class that failed using regasm? ... Set the "Register for COM Interop ... assemblies and types visible; they are visible to COM by default. ...
    (microsoft.public.dotnet.framework.interop)