I'm having a very similar problem. I've been looking all over for the
answer. I know it just cannot be that complex!
In my case, I have a dependency on a library in the GAC (required for
shared use and support for multiple versions).
I tried adding the following to my web.config to no avail
-----------------------------------------------------------------------------------------------
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="MyLibrary.Data"
publicKeyToken="af1d58a5db022a2c" culture="neutral"
version="1.0.4.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
-----------------------------------------------------------------------------------------------
If/When I get a response or figure out the answer, I'll send you my
results, in case it helps you out too.
-Jason Kendall
Ja**********@hotmail.com
On 1 Feb 2005 06:07:13 -0800, "Gordo" <go***@ruthwell-ltd.com> wrote:
Eliyahu,
Thankyou for your quick response! I probably didn't explin things
fully. The issue I have is accessing the Server Control. If I place the
reference in the .aspx page like so,
<%@ Register TagPrefix="cc1" Namespace="WebControlLibrary"
Assembly="WebControlLibrary" %>
and then try to link to this page I get the error (this reference works
fine in compiled projects),
'File or assembly name bin\WebControlLibrary, or one of its
dependencies, was not found.'
I have tried placing the .dll files in the same folder, in a lower
subfolder as the .aspx pages and I have tried creating a web.config
file with the following in it,
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin\WebControLibrary"/>
</assemblyBinding>
</runtime>
all to no avail.
I really do not want to compile all the pages into an application if I
can help it!
Any help would be greatly appreciated
Thanks
Gordon