"Richard" <Ri*****@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
I am writing an installer for our application. The installer places the
application .exe in the install directory and then creates a \bin
subfolder
and places all .dlls in the \bin subfolder.
When we run the application it throws a "file not found" exception upon
attempted loading of the dependent .dlls. I have a probing element in my
application's config file:
<configuration>
<runtime>
<assemblyBindings>
<probing privatePath="bin" />
</assemblyBindings>
</runtime>
But it still can't find the .dlls, any ideas?
You are missing the namespace on the assemblyBinding element (and those
below it)
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin" />
</assemblyBinding>
</runtime>
</configuration>
Regards
Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog http://www.dotnetconsult.co.uk