RE: strong-name - framework 1.1 and framework 2.0 by wellington
wellington
Tue Dec 20 06:04:01 CST 2005
Hi Yaun !!!
Thank you for your attention.
You are right. But the difference between you test and my situation is...
1. I have a public key generated in VS.2003 command prompt.
2. I have a dll compiled and signed using VS.2003
3. I have the same dll, but compiled and signed using VS.2005
4. Both dlls were signed using the same public key file generated at number 1.
5. When I try use "sn -T vs2003.dll" then I get 73c78ce85bee71d0
6. When I try use "sn -T vs2005.dll" then I get 242b2b91ab48e316
Is it normal ?
Regards,
Wellington Rampazo.
""Yuan Ren[MSFT]"" wrote:
> Hi Wrampazo,
>
> Welcome to MSDN newsgroup!
>
> Based on my understanding, the current problem is getting public token of
> the same assembly is difference between VS.NET 2003 and VS.NET 2005. If I
> have any misunderstood, please let me know.
>
> I have performed some testing under current scenario. But I can not repro
> the problem. Below are some steps of the testing:
> 1 Creating a simple c sharp file;
> 2 Generating a key file under VS.NET 2003 command prompt:
> sn -k mykey.snk
> 3 Compile the c sharp file with current key file;
> 4 Using "sn -T xxx.dll" under VS.NET 2003 command prompt, get the public
> token as below:
> a3a2fa70c4a9a37c
> 5 Using "sn -T xxx.dll" under VS.NET 2005 command prompt, also get the
> public token as below:
> a3a2fa70c4a9a37c
>
> For the current stage, I suggest you do the same test and to check whether
> the problem still occurred. It'll help me to narrow down the current
> problem. Thanks for your understanding! I'm looking forward your reply!
>
> Regards,
>
> Yuan Ren [MSFT]
> Microsoft Online Support
>
>