|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
What is the best approach to deploy shared assemblies ?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 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) -- Show quoteHide quoteDave Sexton "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 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. 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. > 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. > 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. >>
Other interesting topics
Search a file and find all occurences
Launch Application as Different User in C# Windows Applicatoin How to properly check for NULL! Visual Studio Plugin? Appropriate pattern KeyedCollection in use for GUI editor? Chicken in Egg problem... InvalidOperations excetion running wsh with Process class Outlook Message Format Library Envox CT ADE Development / RealSpeak Telecom Setting up the Debugger. |
|||||||||||||||||||||||