Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: assembly compilation question


Message #1 by "Alvin Ling" <alvin.ling@i...> on Mon, 4 Feb 2002 15:34:05 -0500
What is the benefit of adding a



<add assembly="foo" />



to the web.config file?  I have a custom control which I've compiled

into a dll which I reference without having that line.





Alvin









Message #2 by "Albert Davis" <albertdavis@h...> on Mon, 04 Feb 2002 16:07:51 -0500
That's because you have within your machine.config file an entry like:



<add assembly="*"/>



saying to add all assemblies found within the /bin directory...





>From: "Alvin Ling" <alvin.ling@i...>

>Reply-To: "ASP+" <aspx@p...>

>To: "ASP+" <aspx@p...>

>Subject: [aspx] assembly compilation question

>Date: Mon, 4 Feb 2002 15:34:05 -0500

>

>What is the benefit of adding a

>

><add assembly="foo" />

>

>to the web.config file?  I have a custom control which I've compiled

>into a dll which I reference without having that line.

>

>

>Alvin

>

>

>

>

>












_________________________________________________________________

Join the world?s largest e-mail service with MSN Hotmail. 

http://www.hotmail.com



Message #3 by "Alvin Ling" <alvin.ling@i...> on Mon, 4 Feb 2002 16:39:06 -0500
In a related question, is it safe/recommended to create *multiple*

components with the same namespace (but different classes within)?  For

example, the IBuySpy Store sample uses several components under the same

namespace but all are compiled into a *single* Store.dll file. 



Alvin



> -----Original Message-----

> From: Albert Davis [mailto:albertdavis@h...] 

> Sent: Monday, February 04, 2002 4:08 PM

> To: ASP+

> Subject: [aspx] Re: assembly compilation question

> 

> 

> That's because you have within your machine.config file an entry like:

> 

> <add assembly="*"/>

> 

> saying to add all assemblies found within the /bin directory...

> 

> 

> >From: "Alvin Ling" <alvin.ling@i...>

> >Reply-To: "ASP+" <aspx@p...>

> >To: "ASP+" <aspx@p...>

> >Subject: [aspx] assembly compilation question

> >Date: Mon, 4 Feb 2002 15:34:05 -0500

> >

> >What is the benefit of adding a

> >

> ><add assembly="foo" />

> >

> >to the web.config file?  I have a custom control which I've compiled 

> >into a dll which I reference without having that line.

> >

> >

> >Alvin

> >

> >

> >

> >

> >

> >---

> >Change your mail options at http://p2p.wrox.com/manager.asp or to 

> >unsubscribe send a blank email to $subst('Email.Unsub').

> 

> 

> 

> 

> _________________________________________________________________

> Join the world's largest e-mail service with MSN Hotmail. 

> http://www.hotmail.com

> 

> 




> 

> 










  Return to Index