You'll need to strong-sign your shared class library. Then in the setup
project, go to the File Editor and right click on the File System on Target
Machine node and select the "Global Assembly Cache" folder. Drag your
Project Output group, or the file from wherever it currently is in the
setup project to the Global Assembly Cache folder.
You don't need to do anything but re-compile your applications to get them
to use the GAC copy. By recompiling, they'll have a "strong name
reference". The .NET Frameworks always checks the GAC first for "strong
name referenced" dependencies, and loads them from there automatically.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Aurimas Norkevicius" <au*****************@studentas.lt>
Subject: shared assembly, gac and setup project
Date: Mon, 5 Jan 2004 12:58:05 +0200
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ol**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: adsl-212-59-23-112.takas.lt 212.59.23.112
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GXS01.phx.gbl!TK2MSFTNGXA0
5.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gb lXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.csharp:209427
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
I have two web projects and a class library in the same solution. Both web
projects uses class library dll.
How to create a web setup project to install class library into client
computers gac and those two projects to use that copy of dll from gac.
Thank you,
Aurimas