Home All Groups Group Topic Archive Search About

What is the best approach to deploy shared assemblies ?

Author
13 Dec 2006 8:46 AM
ericms
I wonder what the best approach is/are to deploy shared assemblies that will
be shared by multiple applications ?  Examples would be very helpful.

Thanks,
Eric

Author
13 Dec 2006 10:12 AM
Dave Sexton
Hi Eric,

You'll probably want to add your assembly to the Global Assembly Cache (GAC)
using the gacutil directly or by compiling a Visual Studio setup project
(Windows Installer):

"Global Assembly Cache"
http://msdn2.microsoft.com/en-us/library/yf1d93sz.aspx

"Windows Installer Deployment Overview"
http://msdn2.microsoft.com/en-us/library/ha7h54s4(VS.80).aspx

If you use a Visual Studio Setup and Deployment Project then you can simply
add your project output to the Global Assembly Cache Folder in the File
System Editor.  (Add Special Folder --> Global Assembly Cache Folder)

--
Dave Sexton

Show quoteHide quote
"ericms" <eri***@discussions.microsoft.com> wrote in message
news:DB8A1E9C-C19E-48F8-B8B6-B437F90631A3@microsoft.com...
>I wonder what the best approach is/are to deploy shared assemblies that
>will
> be shared by multiple applications ?  Examples would be very helpful.
>
> Thanks,
> Eric
Are all your drivers up to date? click for free checkup

Author
13 Dec 2006 5:02 PM
CodeRazor
The quickest way is to just copy and paste your dll into your GAC using
Windows Explorer.

Be sure to create a public/private key pair and sign the assembly first.
Author
13 Dec 2006 5:26 PM
Gabriel Lozano-Morán
I didn't read the entire thread but the best approach would be to use the
Global Assembly Cache Tool (gacutil.exe) to deploy shared assemblies:

http://msdn2.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx

Gabriel Lozano-Morán
The .NET Aficionado
http://www.pointerx.net



Show quoteHide quote
"CodeRazor" <CodeRa***@discussions.microsoft.com> wrote in message
news:68A48FA3-E272-4192-8197-1B4222239521@microsoft.com...
> The quickest way is to just copy and paste your dll into your GAC using
> Windows Explorer.
>
> Be sure to create a public/private key pair and sign the assembly first.
>
Author
13 Dec 2006 5:47 PM
ericms
Thanks for the advice.  Please show examples on how to create public/private
key pair and how to sign the assembly.  

Thanks,
Eric.-


Show quoteHide quote
"CodeRazor" wrote:

> The quickest way is to just copy and paste your dll into your GAC using
> Windows Explorer.
>
> Be sure to create a public/private key pair and sign the assembly first.
>
Author
13 Dec 2006 6:15 PM
Gabriel Lozano-Morán
The MSDN Library is a wonderful resource, you should try it:

http://msdn2.microsoft.com/fr-fr/library/aa735734(VS.71).aspx

Gabriel Lozano-Morán
http://www.pointerx.net

Show quoteHide quote
"ericms" <eri***@discussions.microsoft.com> wrote in message
news:D9026004-5DF0-4B28-9AD2-9531E4FDFA0D@microsoft.com...
> Thanks for the advice.  Please show examples on how to create
> public/private
> key pair and how to sign the assembly.
>
> Thanks,
> Eric.-
>
>
> "CodeRazor" wrote:
>
>> The quickest way is to just copy and paste your dll into your GAC using
>> Windows Explorer.
>>
>> Be sure to create a public/private key pair and sign the assembly first.
>>

Bookmark and Share