473,386 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Generating same publickeytoken - even with different snk

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
1 3461
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: flupke | last post by:
Hi, i create my GUIs mainly via wxGlade. However when you start of to program and want to do some rearranging to the gui, wxglade overwrites your file and you've got to put your own code back...
0
by: Ing. Rajesh Kumar | last post by:
Hi everybody I had a system with WinXP Pro; framework 1.1; MSDE; IIS 5. I installed on it : framework 2 beta; SqlServer 2005 beta and Visual Web Developer beta. There was no error during the...
0
by: Michael Howes | last post by:
Because of web server security issues we need to register a 3rd party control in the GAC. From my understanding once this happens, any page that references the control gets something like the...
6
by: Intiha | last post by:
Hello all, I am trying to generate random seeds for my simulations. currently i was using srand(time(NULL); for this purpose. But for confidence in my results i ran it using a script in a loop....
2
by: Simon Wittber | last post by:
I'm building a web application using sqlalchemy in my db layer. Some of the tables require single integer primary keys which might be exposed in some parts of the web interface. If users can...
1
by: shapper | last post by:
Hello, I just compiled a library and I am adding a similar code line in my Web.Config file to my library: <add assembly = "System, Version = 1.0.3300.0, Culture = neutral, PublicKeyToken =...
3
by: Noman Ali | last post by:
Hi, It seems that ASP .NET 2.0 does not support XML documentation feature. Is there any way to do this? I serached alot and only find this solution but it didnot works for C#. Here it is. ...
0
by: Aswanth | last post by:
I'm Generating Reports in SSRS-2005.. Previously I got the Data from One Database & Generated Reports.. Now I used to get the Data from Two Different Databases(ie Database-1 & Database-2) & to...
2
by: veer | last post by:
hi i made program in which i am generating the report of a ms-table database it works fine only on my computer and generatin the reports but when i run this exe on any computer the whole programe...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.