How to install my assembly in client machine
-
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
-
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
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