Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Stopping .Net Resolving all references

Reply
Thread Tools

Stopping .Net Resolving all references

 
 
Steve W
Guest
Posts: n/a
 
      02-18-2004
I hope this makes sense !

We have an VB ASP.NET Web Application. In the bin directory are all our
compiled dlls.

We have written some integration with a 3rd party, which some of our
clients use and some that don't. Those that don't won't have a particular
dll in the bin directory of the web site.

However, removing this dll causes a problem because .Net seems to want to
resolve all the references in the dlls in the bin directory.

Is there any way to tell .Net that a particular dll doesn't need to be there
?

Thanks

Steve



 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      02-18-2004
for a dll to be optional, you load it at runtime, rather then including it
in the link. remove all references to the dll, use CreateInstance() to load
the dll, then reflection to call the methods. alternately you could supply
an interface dll, that you linked against, then you could cast the object to
the inteface. see any discussion of the object factory pattern.

-- bruce (sqlwork.com)


"Steve W" <(E-Mail Removed)_spam> wrote in message
news:(E-Mail Removed)...
> I hope this makes sense !
>
> We have an VB ASP.NET Web Application. In the bin directory are all our
> compiled dlls.
>
> We have written some integration with a 3rd party, which some of our
> clients use and some that don't. Those that don't won't have a particular
> dll in the bin directory of the web site.
>
> However, removing this dll causes a problem because .Net seems to want to
> resolve all the references in the dlls in the bin directory.
>
> Is there any way to tell .Net that a particular dll doesn't need to be

there
> ?
>
> Thanks
>
> Steve
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace all references to one object with references to other Jack Bates Python 3 08-06-2011 12:57 AM
Resolving global assembly references chris@jedlicka.net ASP .Net 0 12-08-2005 03:36 PM
Stopping Xerces-j parser from resolving entities on its own Vineeth XML 1 10-09-2004 05:35 PM
Resolving character references with C++ Arabica-MSXML Olav XML 1 08-11-2004 01:22 PM
Resolving element content text with character references - C++/Arabica Olav XML 0 08-11-2004 11:19 AM



Advertisments