Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Probing for DLL's in ASP.Net 2.0

Thread Tools

Probing for DLL's in ASP.Net 2.0

Posts: n/a
Is there a way to group dll files by putting them in a subdirectory in the
bin directory for 2.0 Web Site projects and have the CLR find them?
I tried using <probing> and adding the following to the appropriate location
(<configuration>) in the web.config file to indicate I wanted it to
look in the bin\subbin directory, but to no success. I do not have any
<codebase> defined.

The relevent peices of the web.config file look like:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\subbin"/>

My bin directory is under root and my binary is culture neutral so I believe
with the above file the CLR should be looking in:


Does probing even work for Web projects?

Any help would be appreciated,

Reply With Quote
Steven Cheng[MSFT]
Posts: n/a
Hi Dean,

Welcome to the MSDN newsgroup.

As for the private assembly probing for ASP.NET application, it is limited
to the "bin" dir only. This is because ASP.NET runtime host is a
particularly customized .NET CLR host (different from normal console or
winform application). Currently we have to put all the private assemblies
in the "bin" sub dir of the appliation.


Steven Cheng
Microsoft Online Support

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Reply With Quote

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
Resource Probing Issue - Troubleshooting help? =?Utf-8?B?VHlydmVu?= ASP .Net 0 03-27-2005 04:15 AM
SystemC + VHDL cosim, hierarchy probing, etc... VHDL 2 12-20-2004 05:05 PM
<probing> element in Web.config Jiho Han ASP .Net 2 06-08-2004 01:30 PM
Assembly probing does not work Pavils Jurjans ASP .Net 2 05-12-2004 07:04 AM
Re: Assembly probing for Web app with subfolders Stan ASP .Net 1 10-20-2003 01:44 AM