|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Strong naming assemblies that aren't yours?I need to strong name my assemblies, however there are some that I
reference within those that aren't mine, and they all need to be strong named for it to work. Is there anyway I can strongly name someone else's assembly or is there away to get around this problem? <adrian.sn***@gmail.com> schrieb im Newsbeitrag
news:1139310013.578647.168710@g14g2000cwa.googlegroups.com... You an sign assemblies with the Strong Name tool (sn.exe).>I need to strong name my assemblies, however there are some that I > reference within those that aren't mine, and they all need to be strong > named for it to work. Is there anyway I can strongly name someone > else's assembly or is there away to get around this problem? > Peter I have created a key pair with sn -k Key.snk
How do I 'associate' this with a dll? Thanks adrian.sn***@gmail.com wrote:
> I have created a key pair with sn -k Key.snk Hi Adrian,> > How do I 'associate' this with a dll? > > Thanks I don't believe it to be possible without recompiling the DLL. I believe that during compilation, extra space has to be allocated to contain the public key, the signature, etc. If you do not have the source available, you may be able to do this just using ildasm and ilasm HTH, Damien >Is there anyway I can strongly name someone Have you tried asking the assembly vendor for a strong named version?>else's assembly or is there away to get around this problem? Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. > Have you tried asking the assembly vendor for a strong named version? Unfortunately this is not possible, as we are not sure where it camefrom originally. If you don't know who wrote it, what makes you trust it enough to use it
from your application? <adrian.sn***@gmail.com> wrote in message Show quote news:1139316676.781230.325270@f14g2000cwb.googlegroups.com... >> Have you tried asking the assembly vendor for a strong named version? > > Unfortunately this is not possible, as we are not sure where it came > from originally. > |
|||||||||||||||||||||||