Step by step procedureUse Visual Studio .NET to create a setup project, and then deploy the assembly to the target computer global assembly cache. To do this, follow these steps:
- To the Solution that contains the project, add a new Setup Project that references to the assembly.
- Right-click File System on Target Machine, click Add Special Folder, and then click Global Assembly Cache Folder.
- By default, the assembly is inserted in the Application Folder (by default, it is a side-by-side installation). Drag the assembly to the Global Assembly Cache Folder.
- Build the Setup Project.
RemarksIf you rebuild the assembly later, and you change its Version Minor but you do not change its Public Key Token, the relating strong name will be different. Because of this, if you follow steps 1 through 4 to deploy other applications that reference to the rebuilt assembly (which is contained in the package), the target global assembly cache will contain both assemblies.
If the assembly is already strong-named, you can deploy another application in the target global assembly cache. If the assembly is not strong-named, you receive the following message from Task List:
ID articol: 324168 - Ultima examinare: 13 mai 2008 - Revizie: 1