Public Key changes on Rebuild All?

R

rplaire

Hi there,

Could someone help me over my lack of knowledge here? I am trying to
find out why, when I use the same key pair, and the assembly version is
constant, does the public key change with each Rebuild All in VS 2003?
This sort of behavior will change the assembly strong name which is a
Bad Thing when trying to actually use code beyond the development
environment...

I want the strong name to remain constant, and by all accounts it
should, given the same version number and key pair...

thanks,
-rory 8)
 
R

Rory Plaire

seems like you have registered a custom build step that regenerates the
keyfile on each builds.

check your project build settings. what you described is not a default
behviour of vs.net

Hi Peter,

Thanks for the insight. I followed this through on this thread:
in the
microsoft.public.dotnet.framework group.

The issue was I was using sn -t to display the token, and not sn -T.

-r 8)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top