Is it possible ...
Much in the same way that you can specify a binding redirect based on old
and new assembly versions ...  (within the same major and minor versions as
a constraint per policy assembly) Can you also specify a binding redirect
based on a different publickeytoken too? Or is this too against the notion
of signing the assembly based on a private key? This doesn't appear
possible based on the documented attributes for assembly binding redirects.
I'm trying to redirect from an old open source signed assembly to a new
version I've compiled using that open source with my private key.

By way of example, something like the following.

<?xml version="1.0"?>
<configuration>
  <runtime>
    <assemblyBinding
     xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="MyCalledAssembly"
         oldpublicKeyToken="0556152c9715d60f"
publicKeyToken="05SomeNewPublicKeyToken"/>
        <bindingRedirect oldVersion="1.0.0.0"
         newVersion="1.0.0.2" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to