<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: .NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache</title>
	<atom:link href="http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/</link>
	<description>C# Development</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:14:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Justin</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-220</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 09 Nov 2011 20:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-220</guid>
		<description>Great article -- much better than what is on MSDN.

One thing you didn&#039;t quite address -- what about in an IIS production server environment? We want to install some third-party DLLs (which don&#039;t really change, unlike our app&#039;s DLLs) into the GAC for memory benefits (otherwise, we&#039;d have one copy of each third-party DLL per site on the server, and we have 150 sites per server).

In your article, you refer to using an Installer but in this case it&#039;s a third-party component and their installer would try to install and set it up in Visual Studio, which of course isn&#039;t on a production IIS server. Likewise, gacutil is part of Visual Studio or the Windows SDK, neither of which we really want to install on a production server. What are people doing to install DLLs on production servers?</description>
		<content:encoded><![CDATA[<p>Great article &#8212; much better than what is on MSDN.</p>
<p>One thing you didn&#8217;t quite address &#8212; what about in an IIS production server environment? We want to install some third-party DLLs (which don&#8217;t really change, unlike our app&#8217;s DLLs) into the GAC for memory benefits (otherwise, we&#8217;d have one copy of each third-party DLL per site on the server, and we have 150 sites per server).</p>
<p>In your article, you refer to using an Installer but in this case it&#8217;s a third-party component and their installer would try to install and set it up in Visual Studio, which of course isn&#8217;t on a production IIS server. Likewise, gacutil is part of Visual Studio or the Windows SDK, neither of which we really want to install on a production server. What are people doing to install DLLs on production servers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prachi Rane</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-219</link>
		<dc:creator>Prachi Rane</dc:creator>
		<pubDate>Mon, 22 Aug 2011 09:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-219</guid>
		<description>same assembly r stored in gac using gac what is another solution.b&#039;coz one interviewer was asking me that.can anybody tell me.plz send me reply to my mail.</description>
		<content:encoded><![CDATA[<p>same assembly r stored in gac using gac what is another solution.b&#8217;coz one interviewer was asking me that.can anybody tell me.plz send me reply to my mail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tarmiz</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-218</link>
		<dc:creator>Tarmiz</dc:creator>
		<pubDate>Fri, 10 Jun 2011 19:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-218</guid>
		<description>If  you are developing several services to be used via the GAC, can you just copy the same .pfx file and use in all of them, or is it better practice to have separate ones for each applicaiton?  Also, what would happen if the original .pfx file disappears?</description>
		<content:encoded><![CDATA[<p>If  you are developing several services to be used via the GAC, can you just copy the same .pfx file and use in all of them, or is it better practice to have separate ones for each applicaiton?  Also, what would happen if the original .pfx file disappears?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-217</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 18 Oct 2010 07:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-217</guid>
		<description>Hi Timm, hope u r just doing well n everything is going fine for.Again i&#039;ve come up with a question. Say i&#039;ve built a vb.net project and Used crystal report for reports and sql-server 2005 as backend. now how do i make the exe or installer so that when i&#039;ll install my project&#039;s exe in client&#039;s machine, i don&#039;t need to install sql-server and crystal report there explicitly? it&#039;ll automatically install sql-server/crystal report in client&#039;s machine while installing my vb.net installer.In otrher words, how will my exe incorporate sql-server/crystal report so that installing my vb.net exe in client&#039;s machine &#039;ll automatically install sql-server/crystal report as well? u&#039;ve already helped me a lot in a &#039;to the point&#039; manner and it gets me a lot of faith in your knowladge n skills.please help me inthis issue as well, thanx in advance, good man, god almighty bless u, i can assure u this little that whatever u&#039;ve taught me so far, i&#039;ve learnt them appropriately without any confusion. Thanx again to spend your valuable time on my blog.Byeee for now, Have a nice time ahead.</description>
		<content:encoded><![CDATA[<p>Hi Timm, hope u r just doing well n everything is going fine for.Again i&#8217;ve come up with a question. Say i&#8217;ve built a vb.net project and Used crystal report for reports and sql-server 2005 as backend. now how do i make the exe or installer so that when i&#8217;ll install my project&#8217;s exe in client&#8217;s machine, i don&#8217;t need to install sql-server and crystal report there explicitly? it&#8217;ll automatically install sql-server/crystal report in client&#8217;s machine while installing my vb.net installer.In otrher words, how will my exe incorporate sql-server/crystal report so that installing my vb.net exe in client&#8217;s machine &#8216;ll automatically install sql-server/crystal report as well? u&#8217;ve already helped me a lot in a &#8216;to the point&#8217; manner and it gets me a lot of faith in your knowladge n skills.please help me inthis issue as well, thanx in advance, good man, god almighty bless u, i can assure u this little that whatever u&#8217;ve taught me so far, i&#8217;ve learnt them appropriately without any confusion. Thanx again to spend your valuable time on my blog.Byeee for now, Have a nice time ahead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-216</link>
		<dc:creator>john</dc:creator>
		<pubDate>Wed, 13 Oct 2010 06:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-216</guid>
		<description>Hi timm, actually i&#039;m running short of words 2 thank u, u&#039;ve been an angel 2 me.ur guidence not only helped me acheive the task but cleared my all doubts, it provided me with much awaited logical guidence.both of my questions are answered correctly and appropriately.it was short but to the point and finally i tried it and it&#039;s been a successful try. thanx again. whoever u r, wherever u r, hope God &#039;ll always by ur side.stay happy, take care. I&#039;m from india n a software programmer, done many vb application projects but now trying 2 switch to vb.net, n ur support helped me 2 a great extent towards become a good vb.net programmer. thanx again, u r definitely a helpful n good human being. May be someday i&#039;ll annoy u again with a much complexed question.hahaha.....but never change urself, i&#039;ll never mind 2 meet u someday, good man. byeee for now...</description>
		<content:encoded><![CDATA[<p>Hi timm, actually i&#8217;m running short of words 2 thank u, u&#8217;ve been an angel 2 me.ur guidence not only helped me acheive the task but cleared my all doubts, it provided me with much awaited logical guidence.both of my questions are answered correctly and appropriately.it was short but to the point and finally i tried it and it&#8217;s been a successful try. thanx again. whoever u r, wherever u r, hope God &#8216;ll always by ur side.stay happy, take care. I&#8217;m from india n a software programmer, done many vb application projects but now trying 2 switch to vb.net, n ur support helped me 2 a great extent towards become a good vb.net programmer. thanx again, u r definitely a helpful n good human being. May be someday i&#8217;ll annoy u again with a much complexed question.hahaha&#8230;..but never change urself, i&#8217;ll never mind 2 meet u someday, good man. byeee for now&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timm</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-215</link>
		<dc:creator>timm</dc:creator>
		<pubDate>Tue, 12 Oct 2010 14:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-215</guid>
		<description>@john: See this article on how to add GAC assemblies to the Add Reference dialog:
http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/

And this article explains why you&#039;d want to use the GAC:
http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/

Cheers!</description>
		<content:encoded><![CDATA[<p>@john: See this article on how to add GAC assemblies to the Add Reference dialog:<br />
<a href="http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/" rel="nofollow">http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/</a></p>
<p>And this article explains why you&#8217;d want to use the GAC:<br />
<a href="http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/" rel="nofollow">http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/</a></p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-214</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 12 Oct 2010 08:02:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-214</guid>
		<description>Hi Timm, hope you r doing just gr8.Here i&#039;m with another very important question....i&#039;ve installed a dll file namely &quot;msgclass.dll&#039; into GAC successfully after strong naming it. even it&#039;s showing in C:Windowsassembly folder. But when i&#039;m trying to implement it in my new windows_application project, by following &quot;right click on project name--&gt;add reference&quot; --&gt;searching under .net tab, but it&#039;s not showing there. i can add that reference by browsing it, but why should i do that when i&#039;ve already installed it in GAC without any error and it&#039;s there in windows/assembly directory? what might go wrong with it? I&#039;m just waiting for ur answers eagerly. Your answers so far helped me a lot to develop and grab the concept.Please Timm, reply as soon u notice my questions. Have a nice day, God bless u.</description>
		<content:encoded><![CDATA[<p>Hi Timm, hope you r doing just gr8.Here i&#8217;m with another very important question&#8230;.i&#8217;ve installed a dll file namely &#8220;msgclass.dll&#8217; into GAC successfully after strong naming it. even it&#8217;s showing in C:Windowsassembly folder. But when i&#8217;m trying to implement it in my new windows_application project, by following &#8220;right click on project name&#8211;&gt;add reference&#8221; &#8211;&gt;searching under .net tab, but it&#8217;s not showing there. i can add that reference by browsing it, but why should i do that when i&#8217;ve already installed it in GAC without any error and it&#8217;s there in windows/assembly directory? what might go wrong with it? I&#8217;m just waiting for ur answers eagerly. Your answers so far helped me a lot to develop and grab the concept.Please Timm, reply as soon u notice my questions. Have a nice day, God bless u.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-213</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 12 Oct 2010 05:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-213</guid>
		<description>hi timm, thank u a lot...u r really a nice n helpful guy, god bless u. I followd ur answer n my 2nd question was perfectly answered. thanx again. but my 1st question was--i made 2 different projects but ran 4times in different circumstaces and in any case i never kept my dlls or assemblies inside my project folders.for 1st project i made reference to &#039;mylib.dll&#039; wich is in,say &#039;myfolder&#039;, and not in my proj folder.and i cud run it perfectly. then i deleted &#039;myfolder&#039;(SHIFT+Del) along with &#039;mylib.dll&#039; and wanted 2 see what difference it makes.But again my project ran perfectly even though &#039;mylib.dll&#039; had been deleted. In case of 2nd project, i made &#039;nextlib.dll&#039; in say &#039;next&#039; folder. then i strong named it and installed in GAC. then i made a reference to &#039;nextlib.dll&#039; from my windows_application project and ran it. it was perfect. 2 see the difference i again deleted &#039;next&#039; folder along with it&#039;s &#039;nextlib.dll&#039;(SHIFT+Del).And then ran it, but this time also it ran perfectly though i already had deleted the physical &#039;nextlib.dll&#039;. my question is-- when i can run both the projects similerly (before and after deleting corresponding dlls) without having the referenced dll file present in computer, then what extra benefit do i enjoy while installing dlls into GAC? in other words- what r the differences @ runtime between having dlls installed into GAC and not Having dlls into GAC?</description>
		<content:encoded><![CDATA[<p>hi timm, thank u a lot&#8230;u r really a nice n helpful guy, god bless u. I followd ur answer n my 2nd question was perfectly answered. thanx again. but my 1st question was&#8211;i made 2 different projects but ran 4times in different circumstaces and in any case i never kept my dlls or assemblies inside my project folders.for 1st project i made reference to &#8216;mylib.dll&#8217; wich is in,say &#8216;myfolder&#8217;, and not in my proj folder.and i cud run it perfectly. then i deleted &#8216;myfolder&#8217;(SHIFT+Del) along with &#8216;mylib.dll&#8217; and wanted 2 see what difference it makes.But again my project ran perfectly even though &#8216;mylib.dll&#8217; had been deleted. In case of 2nd project, i made &#8216;nextlib.dll&#8217; in say &#8216;next&#8217; folder. then i strong named it and installed in GAC. then i made a reference to &#8216;nextlib.dll&#8217; from my windows_application project and ran it. it was perfect. 2 see the difference i again deleted &#8216;next&#8217; folder along with it&#8217;s &#8216;nextlib.dll&#8217;(SHIFT+Del).And then ran it, but this time also it ran perfectly though i already had deleted the physical &#8216;nextlib.dll&#8217;. my question is&#8211; when i can run both the projects similerly (before and after deleting corresponding dlls) without having the referenced dll file present in computer, then what extra benefit do i enjoy while installing dlls into GAC? in other words- what r the differences @ runtime between having dlls installed into GAC and not Having dlls into GAC?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timm</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-212</link>
		<dc:creator>timm</dc:creator>
		<pubDate>Mon, 11 Oct 2010 14:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-212</guid>
		<description>@john: It&#039;s a little tough to follow your question, but I think I can answer the last one.  Once you add an assembly to the GAC, it should appear in the &quot;.NET&quot; tab of the Visual Studio &quot;Add Reference&quot; dialog.  Select it there, and add a reference to your project.  Whereas before you added it to the GAC, you had to find your assembly in the &quot;Browse&quot; tab.</description>
		<content:encoded><![CDATA[<p>@john: It&#8217;s a little tough to follow your question, but I think I can answer the last one.  Once you add an assembly to the GAC, it should appear in the &#8220;.NET&#8221; tab of the Visual Studio &#8220;Add Reference&#8221; dialog.  Select it there, and add a reference to your project.  Whereas before you added it to the GAC, you had to find your assembly in the &#8220;Browse&#8221; tab.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comment-211</link>
		<dc:creator>john</dc:creator>
		<pubDate>Wed, 06 Oct 2010 10:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/#comment-211</guid>
		<description>hi timm, hope u r doing well....so here&#039;s my question-
i&#039;m new to .net environment, however i&#039;ve tried successfuly programming by building class library dlls and referencing them from windows application.they ran fine.I deleted those dlls along with their folder and then also ran well.I created new dlls,strong named them  and installed them in GAC.Then i implemented those assemblies in my new windows application.They ran well again.I deleted again those dlls(Shift+Delete) and then again they ran well.And i never kept my dlls in any instance, into my project folders. Then what r the benefits of installing dlls in GAC? Another question is, after succesfully installing dlls/assemblies into GAC, again i need to make references to them by browsing the location to implement in application project.Cant i simply import them as i do incase of system.data or system.windows.forms without making explicite reference?</description>
		<content:encoded><![CDATA[<p>hi timm, hope u r doing well&#8230;.so here&#8217;s my question-<br />
i&#8217;m new to .net environment, however i&#8217;ve tried successfuly programming by building class library dlls and referencing them from windows application.they ran fine.I deleted those dlls along with their folder and then also ran well.I created new dlls,strong named them  and installed them in GAC.Then i implemented those assemblies in my new windows application.They ran well again.I deleted again those dlls(Shift+Delete) and then again they ran well.And i never kept my dlls in any instance, into my project folders. Then what r the benefits of installing dlls in GAC? Another question is, after succesfully installing dlls/assemblies into GAC, again i need to make references to them by browsing the location to implement in application project.Cant i simply import them as i do incase of system.data or system.windows.forms without making explicite reference?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

