Gac

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanjayvigil
    New Member
    • Nov 2006
    • 4

    Gac

    Hai,
    I have created two version of an assembly and included those 2 to GAC.
    Now how can I refer those assemblies in my code specifying the version.
    Sanjay
  • milonov
    New Member
    • Oct 2006
    • 32

    #2
    Hi, Sanjay

    If you mean how to list your assemblies in Visual Studio Add Reference dialog box it's easy:

    add a registry key, such as the following, which points to the location of the assembly
    [HKEY_CURRENT_US ER\SOFTWARE\Mic rosoft\.NETFram ework\AssemblyF olders\MyAssemb lies]@="C:\\MyAssemb lies"
    where MyAssemblies is the name of the folder in which the assemblies reside.

    Don't forget that assemblies should be strongly signed and have different version numbers.

    Best Regards,
    Michael Milonov


    Originally posted by sanjayvigil
    Hai,
    I have created two version of an assembly and included those 2 to GAC.
    Now how can I refer those assemblies in my code specifying the version.
    Sanjay

    Comment

    Working...