Assembly Question -- Finding Them

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Matt Hawley (mhawley_at_NOSPAM.integrityts.com)
Date: 04/02/04


To: microsoft.public.dotnet.framework
Date: Thu, 01 Apr 2004 20:25:14 -0800

Steve,

 I can answer your first question. First, you should sign your assembly with a strong name key pair. Then, you should install your assembly in the GAC. Once you've installed it in the GAC, you should also place a copy in the Program Files (or somewhere else that you can reference). Then, you need to create a registry key at:

 HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\AssemblyFolders\<CustomName> and the default key should be the location of the assebly on the file system.

 Matt Hawley, MCAD .NET http://www.eworldui.net Hi,
 
 I just installed a 3rd party assembly on my machine, and now when I bring up
 Visual Studio, it shows the assembly in the list when I choose Add
 Reference.
 
 My 1st question is, how can I get my assemblies to show up in that list?
 
 2nd question -- how can I get assemblies to be automatically found by
 applications when the apps are deployed to servers that just have the
 runtime?
 
 Thanks,
 Steve
 
 



Relevant Pages

  • RE: debugger doesnt stop at breakpoint while debugging SQLCLR fun
    ... I created the SQLCLR stored procedure in Visual Studio 2005 Beta2. ... Then I created the assembly in SQL Server 2005 by following commands in SQL ... Then I refreshed the Assemblies folder in Server Explorer, ...
    (microsoft.public.vsnet.debugging)
  • RE: Verifiable .exe impossible using managed C++?
    ... (Visual Studio .NET 2003). ... your managed entry point is e.g. ... I do not know wether it works with the -debug switch. ... It should be possible to specify assemblies as ...
    (microsoft.public.dotnet.framework)
  • Re: Property of Custom Control
    ... Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows ... You must add a reference to assembly ... TextBoxEx.cs: error CS0234: The type or namespace name ... When I am using Desktop assemblies I have no problem ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Trying to get reference from the GAC
    ... assemblies' reference path (in Visual Studio IDE at development time) from ... the system assemblies seems be particularly ... I don't think it is safe to redirect the reference ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.vsnet.general)
  • RE: Error in creating Shared Add-in
    ... Microsoft Office 2003 Professional with Service Pack 1 or Microsoft ... The Microsoft Office 2003 Primary Interop Assemblies must be ... The client computers must have the Visual Studio 2005 Tools for Office ... For more information regarding Visual Studio Tools for Office 2005: ...
    (microsoft.public.vsnet.vstools.office)