Re: How to have installer instal asmbly to gac

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

From: David T. (David.T.Croft_at_AdsorptionProcessModeling.com)
Date: 12/07/04


Date: Tue, 7 Dec 2004 11:16:15 -0500


"Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
news:uQ0zGfB3EHA.3452@TK2MSFTNGP14.phx.gbl...
> Assuming you are using the setup and deployment project thru VStudio
> 2003 - you can add a special folder called "Global Assembly Cache" and
> place your assembly in there.

This gets the dlls in the GAC but maybe that isn't what I need. I want the
dlls to appear under the .NET tab of the Add Reference dialog box. How can I
make this happen?

By the way thank you for your help with step one.

>
> The installer MSI will end up putting that into the GAC for you.
>
> Here's the cool thing - GAC supports side by side versions, but if you
> wanted to emulate old dll behavior by enforcing only the latest version to
> exist - you can control all that thru "Publisher policy"
>
> - Sahil Malik
> http://dotnetjunkies.com/weblog/sahilmalik
>
>
>
>
> "David T." <David.T.Croft@AdsorptionProcessModeling.com> wrote in message
> news:%Z9td.772$ln.396@lakeread06...
>> How can a .NET dll be installed so that it appears under the .NET tab in
>> the Add Reference dialog? How can this be done in a deployment project?
>>
>
>



Relevant Pages

  • Re: Tracing into a project if its installed in the GAC
    ... Don't put your developed dlls in the GAC on your development machine. ... how you reference your projects. ... non-shared assemblies in the program folder. ...
    (microsoft.public.dotnet.framework)
  • Re: @assembly directive questions
    ... You should either add a reference by copying the dependent DLLs into your ~/bin directory, or if the DLLs you need are in the GAC then you can use ... The Version and PublicKeyToken you should gte from looking in the GAC (which ... registered for the extension '.dll' " Which makes no sense to me. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Bug Report - cant get Word 2002 PIAs
    ... And the dlls are in the GAC. ... won't let me reference them. ... > For how to install, view, reference, and distribute solutions based on the ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: Referencing custom DLLs, in GAC, from VS.NET
    ... To show your assemblies in the "Add reference" dialogbox you need to set the ... > I have created a few DLLs and then installed them into the GAC on another ...
    (microsoft.public.dotnet.general)
  • Re: Service installation
    ... My service is a socket server which accesses the database>using two DLLs. ... >> In the VS File System View, you can right-click "File System on Target>Machine",>> Add Special Folder, and the GAC is there. ... >> The side-by-side model really is the way to go - just install those>assemblies>> with the apps that need them, putting them in their application folders. ...
    (microsoft.public.dotnet.framework.setup)