T
Toma Catalin
Hy there, I have a problem binding to an assemlby. I wan't to use an config
file to bind to an assembly that is located 1 directory up, relative to the
app path. So I made this config file:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="TestAssembly"
publicKeyToken="43b3f97a147cea99" />
<codeBase version="2.0.0.0" href="file:\..\TestAssembly.dll" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
This doesn't work, but in the docs it says that if TestAssembly is strongly
named, I can use relative paths. If I copy the assembly to c:\ and change the
href to "file:c:\TestAssembly.dll" it works. What can I do?
Thanks in advance.
file to bind to an assembly that is located 1 directory up, relative to the
app path. So I made this config file:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="TestAssembly"
publicKeyToken="43b3f97a147cea99" />
<codeBase version="2.0.0.0" href="file:\..\TestAssembly.dll" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
This doesn't work, but in the docs it says that if TestAssembly is strongly
named, I can use relative paths. If I copy the assembly to c:\ and change the
href to "file:c:\TestAssembly.dll" it works. What can I do?
Thanks in advance.