PC Review


Reply
Thread Tools Rate Thread

Assembly probing problem

 
 
news.microsoft.com
Guest
Posts: n/a
 
      1st Aug 2003
Is there anyway I can redirect assembly probing to look other folders other
than Wwwroot when the call comes from a Windows user control hosted in IE
which is running in client machine. I would really appreciate if somebody
can find a solution to solve this problem.

Thaks,

Rajan.


 
Reply With Quote
 
 
 
 
Christian Kuendig
Guest
Posts: n/a
 
      2nd Aug 2003
Hi Rajan,

I don't really get what you want to do, but anyway, maybe this helps:
try to attach an event handler to the current (right?) application domain:
AppDomain.CurrentDomain.AssemblyResovle
then just load the assembly you need from the place you need and you should
have solved your problem. Check MSDN, there is an example with the
AssemblyResolve event.

Maybe this works... alternatively you could set up an app domain with the
BaseDirectory set to the desired directory. Anyway I don't know what you
really want to do, so this are two possibilities

regards

Christian

..NET Competence Centre - HSR University, Switzerland


"news.microsoft.com" <(E-Mail Removed)> schrieb im Newsbeitrag
news:%(E-Mail Removed)...
> Is there anyway I can redirect assembly probing to look other folders

other
> than Wwwroot when the call comes from a Windows user control hosted in IE
> which is running in client machine. I would really appreciate if somebody
> can find a solution to solve this problem.
>
> Thaks,
>
> Rajan.
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
CLR keeps on probing for XmlSerializers assembly Vagif Abilov Microsoft Dot NET Framework 2 4th Jun 2006 01:31 PM
about the probing tag and assembly location =?Utf-8?B?U2hpcmF6?= Microsoft C# .NET 2 18th Jan 2006 06:05 PM
Assembly probing does not work Pavils Jurjans Microsoft ASP .NET 2 12th May 2004 08:04 AM
Re: Assembly probing for Web app with subfolders Stan Microsoft ASP .NET 1 20th Oct 2003 02:44 AM
Re: Assembly probing for Web app with subfolders Stan Microsoft ASP .NET 1 16th Oct 2003 01:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 PM.