{"id":683,"date":"2010-08-12T01:04:34","date_gmt":"2010-08-11T19:34:34","guid":{"rendered":"http:\/\/JitendraZaa.com\/blog\/?p=683"},"modified":"2010-08-12T01:04:34","modified_gmt":"2010-08-11T19:34:34","slug":"how-to-add-dll-dynamic-linking-library-in-gac-global-assembly-cache","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/how-to-add-dll-dynamic-linking-library-in-gac-global-assembly-cache\/","title":{"rendered":"How to add DLL (Dynamic linking library) in GAC (Global assembly cache)"},"content":{"rendered":"<p>We can add the DLL in GAC (Global assembly cache) by following three methods:<\/p>\n<p><strong>Method 1:<\/strong><\/p>\n<p>The following command installs the assembly\u00a0<tt>mydll.dll<\/tt> into the global assembly cache:<\/p>\n<blockquote>\n<pre>gacutil \/i mydll.dll<\/pre>\n<\/blockquote>\n<p>The following command removes the assembly\u00a0<tt>hello<\/tt> from the global assembly cache as long as no reference counts exist for the assembly.<\/p>\n<blockquote>\n<pre>gacutil \/u hello<\/pre>\n<\/blockquote>\n<p><strong>Location of gacUtil.exe:<\/strong><br \/>\nNormally you will find at :<br \/>\nC:Program FilesMicrosoft SDKsWindowsv6.0Abin<\/p>\n<p><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ex0ss12c(VS.80).aspx\" target=\"_blank\">For more information, read this article.<\/a><\/p>\n<p><strong>Method 2:<\/strong><\/p>\n<ul>\n<li>Go to Control Panel -&gt; Administrative tools -&gt; Microsoft .NET Framework 1.1 Configuration<\/li>\n<li>click on &#8220;Manage the Assembly Cache&#8221;.<\/li>\n<li>click &#8220;Add an Assembly to the Assembly  Cache&#8221;.<\/li>\n<li>Select the dll to install assembly and same wizard can be used to remove the assembly.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/08\/Add-Assembly-in-GAC.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-771\" title=\"Add Assembly in GAC\" src=\"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2010\/08\/Add-Assembly-in-GAC-300x158.jpg?resize=300%2C158&#038;ssl=1\" alt=\"Add Assembly in GAC\" width=\"300\" height=\"158\" \/><\/a><\/p>\n<p><strong>Method 3:<\/strong><\/p>\n<p>Paste the Dll \/ Assembly in folder &#8220;C:WINDOWSassembly&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to add DLL (Dynamic linking library) in GAC (Global assembly cache)<\/p>\n","protected":false},"author":1,"featured_media":771,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[79,107],"class_list":["post-683","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft","tag-dll","tag-gac"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2376,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/csharp\/access-modifiers-specifiers-in-c-language\/","url_meta":{"origin":683,"position":0},"title":"Access Modifiers \/ Specifiers in C# Language","author":"Jitendra","date":"August 11, 2011","format":false,"excerpt":"Available Access Modifiers \/ Specifiers in C# Language","rel":"","context":"In &quot;c#&quot;","block_context":{"text":"c#","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/csharp\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/net\/use-fxcop-with-asp-net\/","url_meta":{"origin":683,"position":1},"title":"Use FXcop with ASP.NET","author":"Jitendra","date":"May 4, 2010","format":false,"excerpt":"FxCop, an abbreviation \"Framework Police,\" is a rules-based engine that checks managed code assemblies for Microsoft's .NET Framework design guidelines and custom guidelines. FxCop is a rule based engine which helps the development team to follow best practices of the .NET platform and development standards (based on every company standards).\u2026","rel":"","context":"In &quot;ASP.NET&quot;","block_context":{"text":"ASP.NET","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/net\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":720,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/net\/page_load-firing-multiple-time-in-radwindow-popup\/","url_meta":{"origin":683,"position":2},"title":"Clear ASP page cache &#8211; Page_Load() firing multiple time in RadWindow Popup","author":"Jitendra","date":"August 5, 2010","format":false,"excerpt":"How to prevent the multiple Page load event in case Telerik Rad Window Popup is used and Clear ASP page cache.","rel":"","context":"In &quot;ASP.NET&quot;","block_context":{"text":"ASP.NET","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/net\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2576,"url":"https:\/\/www.jitendrazaa.com\/blog\/webtech\/seo\/google-speed-online-api-widget-integration-with-w3-total-cache-in-wordpress\/","url_meta":{"origin":683,"position":3},"title":"Google Speed Online API widget integration with W3 Total Cache in WordPress","author":"Jitendra","date":"December 21, 2011","format":false,"excerpt":"Tutorial of Google Speed API widget integration with W3 Total Cache in WordPress with step by step Screenshot","rel":"","context":"In &quot;SEO&quot;","block_context":{"text":"SEO","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/webtech\/seo\/"},"img":{"alt_text":"Google API Console","src":"https:\/\/i0.wp.com\/jitendrazaa.com\/blog\/wp-content\/uploads\/2011\/12\/Google-API-Console.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":6048,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/15-ways-to-improve-performance-of-lightning-components-in-salesforce\/","url_meta":{"origin":683,"position":4},"title":"15 ways to improve performance of Lightning Components in Salesforce","author":"Jitendra","date":"May 12, 2018","format":false,"excerpt":"Improve Lightning Component performance using simple 15 rules like Storable Actions, avoiding server trips, Lightning Data Service, Unidirectional data binding, creating component APIs etc","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"15 ways to improve Performance of Lightning Component","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/05\/Screen-Shot-2018-05-12-at-1.31.43-PM.png?fit=1200%2C307&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/05\/Screen-Shot-2018-05-12-at-1.31.43-PM.png?fit=1200%2C307&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/05\/Screen-Shot-2018-05-12-at-1.31.43-PM.png?fit=1200%2C307&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/05\/Screen-Shot-2018-05-12-at-1.31.43-PM.png?fit=1200%2C307&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/05\/Screen-Shot-2018-05-12-at-1.31.43-PM.png?fit=1200%2C307&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":5274,"url":"https:\/\/www.jitendrazaa.com\/blog\/others\/tips\/frequently-used-git-commands\/","url_meta":{"origin":683,"position":5},"title":"Frequently Used Git Commands","author":"Jitendra","date":"August 22, 2018","format":false,"excerpt":"Most frequently used Git commands by developers","rel":"","context":"In &quot;Tech Tips&quot;","block_context":{"text":"Tech Tips","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/others\/tips\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=683"}],"version-history":[{"count":0,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/683\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}