1
Vote

Invalid detection of signed assembly

description

The binaries from the project Topology Framework, are not signed.

comments

kkenneth wrote Jun 16, 2008 at 1:08 PM

Well... don't ever try to make a newline i the form, it will submit :). So rest of entry follows without linefeeds: Opening the assemblies with Reflector correctly detects that there is no publickey token involved. When I comment out the check inside the code, it changes all references to be with the new key (even System.Xml and System.Drawing). I think the problem is that the entries have a ".publickey =" entry but no ".publickeytoken". The signer will insert the ".publickeytoken" and recompilation will make that the correct one. The modification is in the function "InsertStrongReferences". Add the code "if (line.Contains(PublicKeyValueToken)) bPublicKeyTokenInReferencePresent = true; after the line that reads if (line.Contains(PublicKeyToken)) { bPublicKeyTokenInReferencePresent = true; }. Sorry, its all in one line, but the form is broken. The Topology Framework source and binaries are here: http://code.google.com/p/tf-net/. I tested this on 1.0.8.

wrote Feb 13, 2013 at 10:52 PM