Skip to content

How is dnSpy able to preserve the publickeytoken in an assembly when patching a module? #74

Answered by kongomongo
kongomongo asked this question in Q&A
Discussion options

You must be logged in to vote

Hrm it seems like dnSpy uses dnlib which in turn has no problems copying the AssemblyDef.PublicKey property and writing it correctly.

I have written a small powershell script to do this as post-build step in VS. Still wondering why the ILASM approach didn't work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ElektroKill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant