By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,187 Members | 1,629 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,187 IT Pros & Developers. It's quick & easy.

Generating same publickeytoken - even with different snk

P: n/a
This problem is really weird,

I generated a stong name key called myKey1.snk and signed my dll and
installed it to GAC. The public key token was something like
e36633e879d21f40 on my machine but different on my collegue's machine,
although he is using the same myKey1.snk

Then I tried creating another snk called mKey2.snk and signed my dll
and installed it to GAC. But the publickeytoken is still
e36633e879d21f40 on my machine but different on my collegue's machine.

How come it always generates the same publickeytoken on my machine even
though the snk is different?
Also how come other machines create a different publickeytoken for the
same snk file, when my machine just sticks to the same one all the
time??

Help would be appreciated. Thanks in advance.

Jun 19 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
When I generate two snk files their public key tokens are different. Many
you can detail how you're creating these snk files and how you're signing the
two assemblies with them?
--
http://www.peterRitchie.com/
"kplkumar" wrote:
This problem is really weird,

I generated a stong name key called myKey1.snk and signed my dll and
installed it to GAC. The public key token was something like
e36633e879d21f40 on my machine but different on my collegue's machine,
although he is using the same myKey1.snk

Then I tried creating another snk called mKey2.snk and signed my dll
and installed it to GAC. But the publickeytoken is still
e36633e879d21f40 on my machine but different on my collegue's machine.

How come it always generates the same publickeytoken on my machine even
though the snk is different?
Also how come other machines create a different publickeytoken for the
same snk file, when my machine just sticks to the same one all the
time??

Help would be appreciated. Thanks in advance.

Jun 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.