Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. How to install my assembly in client machine

How to install my assembly in client machine

Scheduled Pinned Locked Moved .NET (Core and Framework)
dotnetcsharphelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    softp_vc
    wrote on last edited by
    #1

    Hi Everybody Im having a problem... How can i install my assembly in my client machine which doesnt have the .NET framework.Actually i want to install my assembly in the client machine in the GAC so that the new version of the assembly can placed and used without any problem. To install .NET framework in the client machine i have the dotnetfx.exe which will install the .NET framework in the client machine. But how can i install my assembly in GAC there.. Any pointer ,any idea please let me know Thanx a lot in advance Naveen

    S 1 Reply Last reply
    0
    • S softp_vc

      Hi Everybody Im having a problem... How can i install my assembly in my client machine which doesnt have the .NET framework.Actually i want to install my assembly in the client machine in the GAC so that the new version of the assembly can placed and used without any problem. To install .NET framework in the client machine i have the dotnetfx.exe which will install the .NET framework in the client machine. But how can i install my assembly in GAC there.. Any pointer ,any idea please let me know Thanx a lot in advance Naveen

      S Offline
      S Offline
      sukesh g
      wrote on last edited by
      #2

      Hi, Open the Setup Project and then follow the below given steps: Installing an Assembly to the Global Assembly Cache upon Installation You can use the File System Editor to install an assembly to the Global Assembly Cache upon installation. To do so, the assembly must be incorporated in the setup project as a loose file and not compressed with the other project output. To install the assembly to the Global Assembly Cache, you must first sign your assembly with a strong name. Once your assembly has been strongly named, all you need to do is add a Global Assembly Cache folder to the File System Editor and add your assembly to that folder. Upon installation, your assembly will be added to the Global Assembly Cache. To install an assembly to the Global Assembly Cache on installation Sign your assembly with a strong name. After creating your setup project, open the File System Editor. Right-click the left pane and choose Add Special Folder. In the shortcut menu, choose the Global Assembly Cache Folder. In the left pane, right-click the Global Assembly Cache Folder. Choose Add, and then choose Assembly from the shortcut menu. Choose the appropriate assembly or browse to its location and click OK to add the assembly. The assembly will be added to the Global Assembly Cache upon installation. If the assembly was not already a part of your setup project, it is added to it. Regards, Sukesh. Sukesh.g

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups