Problem getting assembly probing working in beta2

Hi All,
I am using .NET 2.0 beta2 and I cannot get assembly probing working. I want to put all 3rd party dlls into a subdirectory named lib. I created an app config file (see below) and pointed the private path to the lib directory. When I start up the app, I get a file not found error. Using FUSLOGVW.exe (see output below), it shows that the runtime could not locate Janus.Windows.UI.v2.dll, even though it is in the lib directory. Since FUSLOGVW shows that Initial PrivatePath = NULL, it seems that the app.config setting are being ignored.
If I put Janus.Windows.UI.v2.dll into the same directory as the exe, it works.
Anyone have an idea what I am doing wrong?
Thanks,
Marcus
app directory:
ImpluseResponseFunctions.exe
ImpluseResponseFunctions.exe.config
lib
Janus.Windows.UI.v2.dll
ImpluseResponseFunctions.exe.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas=microsoft-com:asm.v1">
<probing privatePath="lib"/>
</assemblyBinding>
</runtime>
</configuration>

*** Assembly Binder Log Entry (7/21/2005 @ 6:31:03 PM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\mscorwks.dll
Running under executable C:\Documents and Settings\marcus\Desktop\build\ImpluseResponseFunctions.exe
A detailed error log follows.

=== Pre-bind state information ===
LOG: User = VERUCA\marcus
LOG: DisplayName = Janus.Windows.UI.v2, Version=2.0.1167.0, Culture=neutral, PublicKeyToken=21d5517571b185bf
(Fully-specified)
LOG: Appbase = file:///C:/Documents and Settings/marcus/Desktop/build/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = ImpluseResponseFunctions.exe
Calling assembly : ImpluseResponseFunctions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind is in default load context.
LOG: Using application configuration file: C:\Documents and Settings\marcus\Desktop\build\ImpluseResponseFunctions.exe.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\config\machine.config.
LOG: Post-policy reference: Janus.Windows.UI.v2, Version=2.0.1167.0, Culture=neutral, PublicKeyToken=21d5517571b185bf
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Documents and Settings/marcus/Desktop/build/Janus.Windows.UI.v2.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/marcus/Desktop/build/Janus.Windows.UI.v2/Janus.Windows.UI.v2.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/marcus/Desktop/build/Janus.Windows.UI.v2.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/marcus/Desktop/build/Janus.Windows.UI.v2/Janus.Windows.UI.v2.EXE.
LOG: All probing URLs attempted and failed.

[3122 byte] By [MarcusCuda] at [2008-2-22]
# 1
MarcusCuda wrote:
Hi All,
<assemblyBinding xmlns="urn:schemas=microsoft-com:asm.v1">

That should be in the namespace urn:schemas-microsoft-com:asm.v1 (you've got an = for the first - Smile).

-Shawn

ShawnFarkas-MS at 2007-9-9 > top of Msdn Tech,.NET Development,Common Language Runtime...

.NET Development

Site Classified