{"id":250,"date":"2012-05-15T21:23:57","date_gmt":"2012-05-16T04:23:57","guid":{"rendered":"https:\/\/mmman.itgroove.net\/2012\/05\/how-to-install-net-assembly-into-gac\/"},"modified":"2023-02-24T21:47:03","modified_gmt":"2023-02-24T21:47:03","slug":"how-to-install-net-assembly-into-gac","status":"publish","type":"post","link":"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/","title":{"rendered":"How To Install .NET Assembly Into GAC"},"content":{"rendered":"<p>A situation arose the other day where we needed to install DLL\u2019s directly into the GAC, and the thing is locked down tighter than \u2026 well, insert your best dirty joke here.&#160; Needless to say, where there\u2019s a will, there\u2019s a way.&#160; I will make the disclaimer right now, you should <strong>never ever <\/strong>do this!&#160; Since you\u2019re probably wanting to do it now, here\u2019s how to do it.<\/p>\n<p>There\u2019s a (non-obvious) way of doing this using the traditional drag and drop method:<\/p>\n<ol>\n<li>Open a Command Prompt as Administrator (right click, Run As Administrator). <\/li>\n<li>Run the command &quot;explorer C:windowsassembly&quot;. <\/li>\n<li>Open a new explorer window from the window which just opened (Right click -&gt; Open whilst holding Ctrl). I did this by hopping back up to C:windows and the navigating to my assembly in the second (new) window. <\/li>\n<li>Navigate in the first windows back to C:windowsassembly. <\/li>\n<li>Drag and drop between the two windows. <\/li>\n<\/ol>\n<p>Again, never do this.&#160; Let me know if this works for you.&#160; Never ever do it.&#160; \ud83d\ude42<\/p>\n<p>This comes from the following MSDN post: <a title=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/netfxsetup\/thread\/1c3ab849-84a0-4eb7-8c3b-b01fbca825a3\/\" href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/netfxsetup\/thread\/1c3ab849-84a0-4eb7-8c3b-b01fbca825a3\/\">http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/netfxsetup\/thread\/1c3ab849-84a0-4eb7-8c3b-b01fbca825a3\/<\/a><\/p>\n<p>Tag: NOT Best Practices<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A situation arose the other day where we needed to install DLL\u2019s directly into the GAC, and the thing is locked down tighter than \u2026 well, insert your best dirty joke here.&#160; Needless to say, where there\u2019s a will, there\u2019s a way.&#160; I will make the disclaimer right now, you should never ever do this!&#160; &hellip; <a href=\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/\"><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[24,7,33],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Install .NET Assembly Into GAC - Archive<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install .NET Assembly Into GAC - Archive\" \/>\n<meta property=\"og:description\" content=\"A situation arose the other day where we needed to install DLL\u2019s directly into the GAC, and the thing is locked down tighter than \u2026 well, insert your best dirty joke here.&#160; Needless to say, where there\u2019s a will, there\u2019s a way.&#160; I will make the disclaimer right now, you should never ever do this!&#160; &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/\" \/>\n<meta property=\"og:site_name\" content=\"Archive\" \/>\n<meta property=\"article:published_time\" content=\"2012-05-16T04:23:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T21:47:03+00:00\" \/>\n<meta name=\"author\" content=\"Colin Phillips (Alumni)\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Colin Phillips (Alumni)\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/\",\"url\":\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/\",\"name\":\"How To Install .NET Assembly Into GAC - Archive\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#website\"},\"datePublished\":\"2012-05-16T04:23:57+00:00\",\"dateModified\":\"2023-02-24T21:47:03+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog Archive\",\"item\":\"https:\/\/regroove.ca\/archive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install .NET Assembly Into GAC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/archive\/#website\",\"url\":\"https:\/\/regroove.ca\/archive\/\",\"name\":\"Archive\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/archive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b\",\"name\":\"Colin Phillips (Alumni)\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g\",\"caption\":\"Colin Phillips (Alumni)\"},\"url\":\"https:\/\/regroove.ca\/archive\/author\/cphillips\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install .NET Assembly Into GAC - Archive","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/","og_locale":"en_US","og_type":"article","og_title":"How To Install .NET Assembly Into GAC - Archive","og_description":"A situation arose the other day where we needed to install DLL\u2019s directly into the GAC, and the thing is locked down tighter than \u2026 well, insert your best dirty joke here.&#160; Needless to say, where there\u2019s a will, there\u2019s a way.&#160; I will make the disclaimer right now, you should never ever do this!&#160; &hellip;","og_url":"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/","og_site_name":"Archive","article_published_time":"2012-05-16T04:23:57+00:00","article_modified_time":"2023-02-24T21:47:03+00:00","author":"Colin Phillips (Alumni)","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Colin Phillips (Alumni)","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/","url":"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/","name":"How To Install .NET Assembly Into GAC - Archive","isPartOf":{"@id":"https:\/\/regroove.ca\/archive\/#website"},"datePublished":"2012-05-16T04:23:57+00:00","dateModified":"2023-02-24T21:47:03+00:00","author":{"@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/archive\/2012\/05\/15\/how-to-install-net-assembly-into-gac\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Archive","item":"https:\/\/regroove.ca\/archive\/"},{"@type":"ListItem","position":2,"name":"How To Install .NET Assembly Into GAC"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/archive\/#website","url":"https:\/\/regroove.ca\/archive\/","name":"Archive","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/archive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/adeb0df1cc7a862160be620ca7eace1b","name":"Colin Phillips (Alumni)","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/14eeab0d377e9630e0983d9c08911979?s=96&d=mm&r=g","caption":"Colin Phillips (Alumni)"},"url":"https:\/\/regroove.ca\/archive\/author\/cphillips\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/250"}],"collection":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/comments?post=250"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/250\/revisions"}],"predecessor-version":[{"id":1994,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/250\/revisions\/1994"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/media?parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/categories?post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/tags?post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}